Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
650B

  1. ; *** Requirements ***
  2. ; printstr
  3. ; printcrlf
  4. ; stdioReadLine
  5. ; strncmp
  6. ;
  7. .inc "user.h"
  8. .inc "err.h"
  9. call basInit
  10. jp basStart
  11. ; RAM space used in different routines for short term processing.
  12. .equ SCRATCHPAD_SIZE 0x20
  13. .equ SCRATCHPAD USER_RAMSTART
  14. .inc "core.asm"
  15. .inc "lib/util.asm"
  16. .inc "lib/ari.asm"
  17. .inc "lib/parse.asm"
  18. .inc "lib/fmt.asm"
  19. .equ EXPR_PARSE parseLiteralOrVar
  20. .inc "lib/expr.asm"
  21. .inc "basic/util.asm"
  22. .inc "basic/parse.asm"
  23. .inc "basic/tok.asm"
  24. .equ VAR_RAMSTART SCRATCHPAD+SCRATCHPAD_SIZE
  25. .inc "basic/var.asm"
  26. .equ BUF_RAMSTART VAR_RAMEND
  27. .inc "basic/buf.asm"
  28. .equ BAS_RAMSTART BUF_RAMEND
  29. .inc "basic/main.asm"
  30. USER_RAMSTART: