2019-05-18 10:47:43 +10:00
|
|
|
.equ RAMSTART 0x4000
|
|
|
|
.equ ZASM_FIRST_PASS RAMSTART
|
|
|
|
.equ ZASM_LOCAL_PASS ZASM_FIRST_PASS+1
|
|
|
|
.equ ZASM_CTX_PC ZASM_LOCAL_PASS+1
|
|
|
|
.equ ZASM_RAMEND ZASM_CTX_PC+2
|
|
|
|
|
|
|
|
#include "core.asm"
|
2019-05-19 05:18:19 +10:00
|
|
|
#include "parse.asm"
|
|
|
|
.equ BLOCKDEV_RAMSTART ZASM_RAMEND
|
|
|
|
.equ BLOCKDEV_COUNT 0
|
|
|
|
#include "blockdev.asm"
|
|
|
|
|
|
|
|
.equ FS_RAMSTART BLOCKDEV_RAMEND
|
|
|
|
.equ FS_HANDLE_COUNT 0
|
|
|
|
#include "fs.asm"
|
|
|
|
|
2019-05-19 05:41:21 +10:00
|
|
|
#include "zasm/util.asm"
|
2019-05-19 05:45:36 +10:00
|
|
|
.equ IO_RAMSTART ZASM_RAMEND
|
|
|
|
#include "zasm/io.asm"
|
2019-05-19 08:56:27 +10:00
|
|
|
.equ SYM_RAMSTART IO_RAMEND
|
|
|
|
#include "zasm/symbol.asm"
|
2019-05-19 09:59:58 +10:00
|
|
|
#include "zasm/parse.asm"
|
2019-05-19 10:31:52 +10:00
|
|
|
.equ TOK_RAMSTART SYM_RAMEND
|
|
|
|
#include "zasm/tok.asm"
|
2019-05-19 10:37:34 +10:00
|
|
|
.equ DIREC_RAMSTART TOK_RAMEND
|
|
|
|
#include "zasm/directive.asm"
|
2019-05-20 00:40:45 +10:00
|
|
|
#include "zasm/instr.asm"
|
2019-05-20 00:45:11 +10:00
|
|
|
#include "zasm/expr.asm"
|
2019-05-19 05:18:19 +10:00
|
|
|
|
|
|
|
zasmIsFirstPass:
|
|
|
|
nop
|
2019-05-19 05:45:36 +10:00
|
|
|
|
|
|
|
zasmIsLocalPass:
|
|
|
|
nop
|
2019-05-19 10:31:52 +10:00
|
|
|
|