Skip to content

Commit

Permalink
fixed a little bug, decrement was happening at the wrong place. Could…
Browse files Browse the repository at this point in the history
… not actually cause the bug, but I suspect it could have become a problem
  • Loading branch information
alexwebr committed Sep 21, 2012
1 parent fd8f05f commit 3b47416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootloader.asm
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ start:
jmp readchar
backspace:
biosprint rmchar ; If they pressed backspace, back up the cursor and remove the last stored char in memory
mov [di], BYTE 0x00
dec di
mov [di], BYTE 0x00
jmp readchar
readchar_end:

Expand Down

0 comments on commit 3b47416

Please sign in to comment.