1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-10 09:28:06 +11:00
collapseos/apps/basic/glue.asm

34 lines
650 B
NASM
Raw Normal View History

; *** Requirements ***
; printstr
; printcrlf
; stdioReadLine
; strncmp
;
.inc "user.h"
.inc "err.h"
call basInit
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
.inc "core.asm"
.inc "lib/util.asm"
.inc "lib/ari.asm"
.inc "lib/parse.asm"
.inc "lib/fmt.asm"
.equ EXPR_PARSE parseLiteralOrVar
.inc "lib/expr.asm"
.inc "basic/util.asm"
2019-11-22 08:06:14 +11:00
.inc "basic/parse.asm"
.inc "basic/tok.asm"
2019-11-21 12:58:26 +11:00
.equ VAR_RAMSTART SCRATCHPAD+SCRATCHPAD_SIZE
.inc "basic/var.asm"
.equ BUF_RAMSTART VAR_RAMEND
.inc "basic/buf.asm"
.equ BAS_RAMSTART BUF_RAMEND
.inc "basic/main.asm"
USER_RAMSTART: