Skip to content

Commit

Permalink
Port pokered's comments about NullChar
Browse files Browse the repository at this point in the history
  • Loading branch information
SatoMew committed Jul 26, 2023
1 parent b737079 commit 1b8d5d0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion home/text.asm
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,14 @@ NextChar::
inc de
jp PlaceNextChar

NullChar::
NullChar:: ; unused
ld b, h
ld c, l
pop hl
; A "<NULL>" character in a printed string
; displays an error message with the current
; value of hEventID in decimal format.
; This is a debugging leftover.
ld de, .Text
dec de
ret
Expand Down

0 comments on commit 1b8d5d0

Please sign in to comment.