summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorAstrid Smith2010-07-03 21:30:14 -0700
committerAstrid Smith2010-07-03 21:30:14 -0700
commit70d0b5e32c6b9d7685a18e153504cfd88ba0f420 (patch)
treefd90c61dd77026d1c10e0ee1de2c7edc2cb1391e /main.asm
parent3f191892ed3dd8a9f8ad81cb039468d3ef2aa172 (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 f4e770e..77cd082 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