cdd0b64570
Instead of expecting a `USER_CODE` symbol to be set, we expect `.org` to be set in all userspace glue code. This gives us more flexibility with regards to how we manage that. Moreover, instead of making `USER_RAMSTART` mandatory, we make it default to the end of the binary, which is adequate in a majority of cases. Will be useful for my upcoming mega-commit... :)
19 lines
243 B
NASM
19 lines
243 B
NASM
; *** Requirements ***
|
|
; printstr
|
|
; printcrlf
|
|
; stdioReadLine
|
|
; strncmp
|
|
;
|
|
.inc "user.h"
|
|
|
|
.inc "err.h"
|
|
|
|
jp basStart
|
|
|
|
.inc "core.asm"
|
|
.inc "lib/util.asm"
|
|
.inc "lib/parse.asm"
|
|
.equ BAS_RAMSTART USER_RAMSTART
|
|
.inc "basic/main.asm"
|
|
USER_RAMSTART:
|