summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorAstrid Smith2010-06-19 12:24:53 -0700
committerAstrid Smith2010-06-19 12:24:53 -0700
commit10619b82c465ab967bda36655fd79469ad73f177 (patch)
tree95baf847de27f7783da2abca1933771210a31f58 /main.asm
parentd0e04c7b2a336bb9372e7fc460d5a3dafa4299a2 (diff)
More comment changes, some FIXMEs related to AF
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.asm b/main.asm
index fb731cb..11ed6e3 100644
--- a/main.asm
+++ b/main.asm
@@ -21,8 +21,8 @@
;;;
;;; D0 = current instruction, scratch for macros
;;; D1 = scratch for instructions
+;;; D2 = undefined
;;;
-;;; D2 = emulated SP, PC SP high, PC low - both virtual addresses
;;;
;;; The following have their shadows in the top half of the register
;;; D3 = AF A is in the low byte, F in the high byte (yeah ... speed)
@@ -402,6 +402,7 @@ emu_op_07: ; S2 T4
emu_op_08: ; S2 T4
;; EX AF,AF'
;; No flags
+ ;; XXX AF
swap d3
DONE
@@ -2307,6 +2308,7 @@ emu_op_f0:
emu_op_f1:
;; POP AF
;; SPEED this can be made faster ...
+ ;; XXX AF
POPW d3
move.w d3,(flag_byte-flag_storage)(a3)
move.b #$ff,(flag_valid-flag_storage)(a3)
@@ -2338,6 +2340,7 @@ emu_op_f5:
bsr flags_normalize
LOHI d3
move.b flag_byte(pc),d3
+ ;; XXX wrong
HILO d3
PUSHW d3
DONE