From 10619b82c465ab967bda36655fd79469ad73f177 Mon Sep 17 00:00:00 2001 From: Astrid Smith Date: Sat, 19 Jun 2010 12:24:53 -0700 Subject: More comment changes, some FIXMEs related to AF --- main.asm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'main.asm') 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 -- cgit v1.2.3