diff options
Diffstat (limited to 'stage1/main.asm')
-rw-r--r-- | stage1/main.asm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/stage1/main.asm b/stage1/main.asm index 97ff7c7..ce4ead4 100644 --- a/stage1/main.asm +++ b/stage1/main.asm @@ -20,14 +20,20 @@ boot: mov ebx, .msg call print_str + ; print boot drive + pusha + movzx eax, dl + call print_hex + call newline + popa + ; load stage2 and stage3 call load_stages ; jump into stage2 jmp KSTART -.msg: db 10, 13, "nyax stage1", 10, 13, 0 - +.msg: db 10, 13, "nyax stage1", 10, 13, "boot drive: 0x", 0 load_stages: mov ebx, .msg |