This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
izaya
/
collapseos
mirror of
https://github.com/hsoft/collapseos.git
Watch
1
Star
1
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
zasm: fix 16-bit include lineno counting
It was actually counted in 8-bit mode...
pull/75/head
Virgil Dupras
4 years ago
parent
999ab56366
commit
68ef686c3c
1 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-2
apps/zasm/io.asm
+ 3
- 2
apps/zasm/io.asm
View File
@@ -88,8 +88,9 @@ ioGetB:
; We have newline. Increase lineno and return (the rest of the
; processing below isn't needed.
push hl
ld hl, IO_INC_LINENO
inc (hl)
ld hl, (IO_INC_LINENO)
inc hl
ld (IO_INC_LINENO), hl
pop hl
ret
Write
Preview
Loading…
Cancel
Save