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 27, 2023
1 parent b737079 commit 7c14a40
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions home/text.asm
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ ENDM
jp NextChar

.asm_0eb6:
dict 0, NullChar
dict "<NULL>", NullChar
dict "<SCROLL>", _ContTextNoPause
dict "<_CONT>", _ContText
dict "<PARA>", Paragraph
Expand Down 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 7c14a40

Please sign in to comment.