mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-07 06:58:45 +10:00
Most of register fiddling routines (which is now the only thing contained in care.asm) are used by almost all userspace apps, often in inner loops. That makes the penalty of using jump tables for those a bit too high. Moreover, it burdens jump tables needlessly. Because this unit is very small (now that string routines are out), it makes sense to always include it in binaries.
19 lines
243 B
NASM
19 lines
243 B
NASM
; *** Requirements ***
|
|
; printstr
|
|
; printcrlf
|
|
; stdioReadLine
|
|
; strncmp
|
|
;
|
|
.inc "user.h"
|
|
|
|
.inc "err.h"
|
|
.org USER_CODE
|
|
|
|
jp basStart
|
|
|
|
.inc "core.asm"
|
|
.inc "lib/util.asm"
|
|
.inc "lib/parse.asm"
|
|
.equ BAS_RAMSTART USER_RAMSTART
|
|
.inc "basic/main.asm"
|