2019-11-13 15:28:16 -05:00
|
|
|
; *** Requirements ***
|
|
|
|
; printstr
|
|
|
|
; printcrlf
|
|
|
|
; stdioReadLine
|
|
|
|
; strncmp
|
|
|
|
;
|
|
|
|
.inc "user.h"
|
|
|
|
.inc "err.h"
|
|
|
|
|
2019-11-24 10:24:15 -05:00
|
|
|
call basInit
|
2019-11-13 15:28:16 -05:00
|
|
|
jp basStart
|
|
|
|
|
2019-11-20 20:58:26 -05:00
|
|
|
; RAM space used in different routines for short term processing.
|
|
|
|
.equ SCRATCHPAD_SIZE 0x20
|
|
|
|
.equ SCRATCHPAD USER_RAMSTART
|
|
|
|
|
2019-11-14 09:55:31 -05:00
|
|
|
.inc "core.asm"
|
2019-11-13 21:14:29 -05:00
|
|
|
.inc "lib/util.asm"
|
2019-11-18 13:40:23 -05:00
|
|
|
.inc "lib/ari.asm"
|
2019-11-13 15:28:16 -05:00
|
|
|
.inc "lib/parse.asm"
|
2019-11-18 13:40:23 -05:00
|
|
|
.inc "lib/fmt.asm"
|
2019-11-20 15:10:00 -05:00
|
|
|
.equ EXPR_PARSE parseLiteralOrVar
|
2019-11-18 15:52:07 -05:00
|
|
|
.inc "lib/expr.asm"
|
2019-11-21 19:56:51 -05:00
|
|
|
.inc "basic/util.asm"
|
2019-11-21 16:06:14 -05:00
|
|
|
.inc "basic/parse.asm"
|
2019-11-18 13:40:23 -05:00
|
|
|
.inc "basic/tok.asm"
|
2019-11-20 20:58:26 -05:00
|
|
|
.equ VAR_RAMSTART SCRATCHPAD+SCRATCHPAD_SIZE
|
2019-11-20 15:10:00 -05:00
|
|
|
.inc "basic/var.asm"
|
|
|
|
.equ BUF_RAMSTART VAR_RAMEND
|
2019-11-19 15:14:04 -05:00
|
|
|
.inc "basic/buf.asm"
|
|
|
|
.equ BAS_RAMSTART BUF_RAMEND
|
2019-11-13 15:28:16 -05:00
|
|
|
.inc "basic/main.asm"
|
2019-11-15 10:33:13 -05:00
|
|
|
USER_RAMSTART:
|