From 94e293ab0f96a63abd2a2ae2ff9a7e9887a2364b Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 19 Apr 2019 18:52:39 +0200 Subject: [PATCH] fixed bug to wait for input --- boot.asm | 9 +++++---- boot.bin | Bin 512 -> 512 bytes disk.img | Bin 737280 -> 737280 bytes 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/boot.asm b/boot.asm index 8ecb4b1..5fd09d4 100755 --- a/boot.asm +++ b/boot.asm @@ -13,16 +13,17 @@ welcome: cld ; Set the direction flag to be positive direction + mov si, wolf_wel_msg + call wolf_print + start: - mov ah, 0x00 + mov ah, 0x00 int 0x16 cmp al, "0" je load_it_all jmp over load_it_all: - mov si, wolf_wel_msg - call wolf_print mov si, wolf_kernel_load call wolf_print @@ -80,7 +81,7 @@ over: jmp start ; Moved the data before the boot signature but after the code -wolf_wel_msg db 'Welcome to this publication...',0x0D,0x0A,0 +wolf_wel_msg db 'Welcome to this publication..., press a key',0x0D,0x0A,0 wolf_kernel_load db 'Loading program',0x0D,0x0A,0 wolf_error_msg db 'Program not found!',0x0D,0x0A,0 wolf_error_msg1 db 'Press any key to restart..',0 diff --git a/boot.bin b/boot.bin index 2f0cf4925ddaa71044757a5b0cc739df9f464784..4e054cdf54aea2f4d0334b52893bc53126918c2c 100755 GIT binary patch delta 77 zcmV-T0J8sp1b_q}F~E-4j=;MBfR59N#QeT$eCS93v;fT(JTPq@?uksv7ts(k1U j0KUJGP#FQLk!l_dEFf@lWpi^NVIXT|d9jFT0RmO3FdZM) delta 66 zcmV-I0KNZ!1b_q}F~E-4j=;MBfR59N#Qd}X%@#Z`bOP&8zG{5vJ^;Rpksv7toqXsH Y0KT%3P#FQFk!l{Xm1zNy@C^c0s^#4r(EtDd diff --git a/disk.img b/disk.img index b0380979681c19f83aec0f053e408e3f0b76516f..9534ae1e5e87f39e52216f55e5628c464784bcc5 100755 GIT binary patch delta 125 zcmZo@&~0eYRWLlzccbsXZia@w%biF5?8~Zo;lZ$l;jEaAK?&1quYEHnDrmB=s(Hc3 zuy6mw07=GG6SL%abrcGUQj3cf5*4yjD>rszGB*EXZ2!jy!c0KS48$xz%nHP8K+F!r R96-zo#9Z6|F>*860RU6ZGadi{ delta 114 zcmZo@&~0eYRWLlzccbsXZia@w%biF5Y+*PnW@Avo^g3W)R?Q1LhJD==6*SrB*1X_j z*tcn7fF$FRiCJ