2019-12-03 12:18:41 +11:00
|
|
|
.equ USER_CODE 0xc200
|
2019-07-24 06:13:52 +10:00
|
|
|
; Make ed fit in SMS's memory
|
|
|
|
.equ ED_BUF_MAXLINES 0x100
|
|
|
|
.equ ED_BUF_PADMAXLEN 0x800
|
2019-07-22 05:37:03 +10:00
|
|
|
|
2019-07-24 06:50:19 +10:00
|
|
|
; Make zasm fit in SMS's memory
|
|
|
|
.equ ZASM_REG_MAXCNT 0x80
|
|
|
|
.equ ZASM_LREG_MAXCNT 0x10
|
|
|
|
.equ ZASM_REG_BUFSZ 0x800
|
|
|
|
.equ ZASM_LREG_BUFSZ 0x100
|
|
|
|
|
2019-07-22 05:37:03 +10:00
|
|
|
; *** JUMP TABLE ***
|
|
|
|
.equ strncmp 0x03
|
2019-11-15 01:55:31 +11:00
|
|
|
.equ upcase @+3
|
|
|
|
.equ findchar @+3
|
|
|
|
.equ parseHex @+3
|
|
|
|
.equ blkSel @+3
|
|
|
|
.equ blkSet @+3
|
|
|
|
.equ fsFindFN @+3
|
|
|
|
.equ fsOpen @+3
|
|
|
|
.equ fsGetB @+3
|
|
|
|
.equ fsPutB @+3
|
|
|
|
.equ fsSetSize @+3
|
|
|
|
.equ printstr @+3
|
|
|
|
.equ _blkGetB @+3
|
|
|
|
.equ _blkPutB @+3
|
|
|
|
.equ _blkSeek @+3
|
|
|
|
.equ _blkTell @+3
|
|
|
|
.equ printcrlf @+3
|
|
|
|
.equ stdioPutC @+3
|
|
|
|
.equ stdioReadLine @+3
|
2019-07-22 05:37:03 +10:00
|
|
|
|