Skip to content

Commit

Permalink
bootnorm.asm: fix potential bug on INT10 usage
Browse files Browse the repository at this point in the history
  • Loading branch information
boeckmann committed Jan 18, 2025
1 parent 538f218 commit 3209306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/fdisk/bootnorm.asm
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ print:
lodsb
test al, al
jz .r
xor bx, bx ; video page 0
mov bx, 0x7 ; video page 0, default color
mov ah, 0x0E ; print it via TTY mode
int 0x10
jmp print
Expand All @@ -159,7 +159,7 @@ print:
read_error_msg: db 'Read error', 0
no_active_msg: db 'No active partition', 0
invalid_vbr_sig_msg: db 'VBR has illegal signature', 0
try_next_dev_msg: db '. Trying next boot device...', 0
try_next_dev_msg: db '. Trying next boot device...', 13, 10, 0


;-----------------------------------------------------------------------------
Expand Down

0 comments on commit 3209306

Please sign in to comment.