|
|
|
@ -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
|
|
|
|
|