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