mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 12:28:06 +11:00
zasm: use printcrlf instead of hardcoded CRLF
This commit is contained in:
parent
c3213e1e8c
commit
6224ea2fe9
@ -1,6 +1,4 @@
|
||||
; *** Requirements ***
|
||||
; BLOCKDEV_SIZE
|
||||
; FS_HANDLE_SIZE
|
||||
; _blkGetB
|
||||
; _blkPutB
|
||||
; _blkSeek
|
||||
|
@ -31,6 +31,7 @@
|
||||
; _blkSeek
|
||||
; _blkTell
|
||||
; printstr
|
||||
; printcrlf
|
||||
|
||||
.inc "user.h"
|
||||
|
||||
|
@ -287,11 +287,5 @@ _ioIncBlk:
|
||||
|
||||
; call printstr followed by newline
|
||||
ioPrintLN:
|
||||
push hl
|
||||
call printstr
|
||||
ld hl, .sCRLF
|
||||
call printstr
|
||||
pop hl
|
||||
ret
|
||||
.sCRLF:
|
||||
.db 0x0a, 0x0d, 0
|
||||
jp printcrlf
|
||||
|
@ -26,6 +26,7 @@ jp _blkPutB
|
||||
jp _blkSeek
|
||||
jp _blkTell
|
||||
jp printstr
|
||||
jp printcrlf
|
||||
|
||||
.inc "core.asm"
|
||||
.inc "str.asm"
|
||||
|
Binary file not shown.
@ -1,7 +1,5 @@
|
||||
.org 0x4800 ; in sync with USER_CODE in glue.asm
|
||||
.equ USER_RAMSTART 0x6000
|
||||
.equ FS_HANDLE_SIZE 8
|
||||
.equ BLOCKDEV_SIZE 8
|
||||
|
||||
; *** JUMP TABLE ***
|
||||
.equ strncmp 0x03
|
||||
@ -17,3 +15,4 @@
|
||||
.equ _blkSeek @+3
|
||||
.equ _blkTell @+3
|
||||
.equ printstr @+3
|
||||
.equ printcrlf @+3
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user