fixed bug to wait for input

master
Your Name 6 years ago
parent c6e142673b
commit 94e293ab0f

@ -13,6 +13,9 @@ welcome:
cld ; Set the direction flag to be positive direction cld ; Set the direction flag to be positive direction
mov si, wolf_wel_msg
call wolf_print
start: start:
mov ah, 0x00 mov ah, 0x00
int 0x16 int 0x16
@ -21,8 +24,6 @@ start:
jmp over jmp over
load_it_all: load_it_all:
mov si, wolf_wel_msg
call wolf_print
mov si, wolf_kernel_load mov si, wolf_kernel_load
call wolf_print call wolf_print
@ -80,7 +81,7 @@ over:
jmp start jmp start
; Moved the data before the boot signature but after the code ; 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_kernel_load db 'Loading program',0x0D,0x0A,0
wolf_error_msg db 'Program not found!',0x0D,0x0A,0 wolf_error_msg db 'Program not found!',0x0D,0x0A,0
wolf_error_msg1 db 'Press any key to restart..',0 wolf_error_msg1 db 'Press any key to restart..',0

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save