mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 16:28:06 +11:00
zasm: fix 16-bit include lineno counting
It was actually counted in 8-bit mode...
This commit is contained in:
parent
999ab56366
commit
68ef686c3c
@ -88,8 +88,9 @@ ioGetB:
|
|||||||
; We have newline. Increase lineno and return (the rest of the
|
; We have newline. Increase lineno and return (the rest of the
|
||||||
; processing below isn't needed.
|
; processing below isn't needed.
|
||||||
push hl
|
push hl
|
||||||
ld hl, IO_INC_LINENO
|
ld hl, (IO_INC_LINENO)
|
||||||
inc (hl)
|
inc hl
|
||||||
|
ld (IO_INC_LINENO), hl
|
||||||
pop hl
|
pop hl
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user