summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorDuncan Smith2010-07-03 21:30:14 -0700
committerDuncan Smith2010-07-03 21:30:14 -0700
commit9fd1320c6f4b16d7aba4476f7d6caaf7e8f6bc2c (patch)
treed93667ed6d049a5bc5f90ea422eef32a52bd911b /main.asm
parent83ed624bf8966204768a2766c58744dc06685e02 (diff)
Now it compiles properly. Still doesn't seem to run without address error, though.
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/main.asm b/main.asm
index 552d2e0..423eb01 100644
--- a/main.asm
+++ b/main.asm
@@ -67,6 +67,7 @@ __main:
emu_setup:
movea emu_plain_op,a5
lea emu_run,a2
+ lea flag_storage,a3
rts
@@ -97,11 +98,25 @@ mem_page_1: dc.l 0 ; bank 1
mem_page_2: dc.l 0 ; bank 2
mem_page_3: dc.l 0 ; bank 3
+ xdef mem_page_0
+ xdef mem_page_1
+ xdef mem_page_2
+ xdef mem_page_3
+
mem_page_loc_0: dc.b 0
mem_page_loc_1: dc.b 0
mem_page_loc_2: dc.b 0
mem_page_loc_3: dc.b 0
+ xdef mem_page_loc_0
+ xdef mem_page_loc_1
+ xdef mem_page_loc_2
+ xdef mem_page_loc_3
+
+pages: dc.l 0
+
+ xdef pages
+
;; Take a physical address in a0 and turn it into a virtual
;; address in d0
;; Destroys d0