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