From 50e6567728dd936b858df92900e8647202f58f19 Mon Sep 17 00:00:00 2001 From: Lim Ding Wen Date: Sun, 11 Jan 2015 07:23:36 +0800 Subject: [PATCH] Now with "system halted"! --- COMMENTS_sector1 | 16 +++++++--------- sector1.bin | Bin 512 -> 512 bytes 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/COMMENTS_sector1 b/COMMENTS_sector1 index bdc8de9..da1a058 100644 --- a/COMMENTS_sector1 +++ b/COMMENTS_sector1 @@ -8,7 +8,7 @@ Print welcome message 7C00 MOVDX word 7DC0 7C03 CALL doubleword segment 7D5 offset 0 -7C08..7C0F NOP +7C08..7C0F NOP (bridge) Scan and print; typing. @@ -22,13 +22,10 @@ Scan and print; typing. Halt the system. -7C20 CLI -7C21 HLT - -To be disposed. - -7C30 CLI -7C31 HLT +7C20 MOVDX word 7DD1 +7C23 CALL doubleword segment 7D5 offset 0 +7C28 CLI +7C29 HLT 7D50 to 7DBF: Procedures code @@ -46,6 +43,7 @@ To be disposed. 7DC0 to 7DFD: Data -7DC0 "TestOS loaded.", 0 +7DC0 "TestOS loaded.", a, d, 0 +7DD1 a, d, "System halted.", 0 7DFE to 7DFF: Bootable magic numbers data diff --git a/sector1.bin b/sector1.bin index 545a20a678302b5d3acd126b2740b433aebc07a3..d78d82334685274f737f5a5a54b590f136d2b569 100644 GIT binary patch delta 47 zcmZo*X<(V4z_sgQ?JNd{tL(qNY}8u9D9pvnz{ML}SzMButB{eHQ<9pZH_=g+X;mly Dk8Kbo delta 27 jcmZo*X<(V4z_o?xte6Um4ND2zMy(}`6CDkhR)qopY03w|