summaryrefslogtreecommitdiff
path: root/notes.txt
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-01-22 20:21:05 -0800
committerMike Pavone <pavone@retrodev.com>2013-01-22 20:21:05 -0800
commit5b37f044e00102230263c33d0b45b55d0716671b (patch)
tree5d1d9cb6214a01997a12329a61d73326ea73e4af /notes.txt
parentb8475ee5c4ae7b245b8bd761424eb246d2538e2d (diff)
Add support for 2-byte IX instructions to decoder
Diffstat (limited to 'notes.txt')
-rw-r--r--notes.txt20
1 files changed, 15 insertions, 5 deletions
diff --git a/notes.txt b/notes.txt
index f791327..96ff3d3 100644
--- a/notes.txt
+++ b/notes.txt
@@ -56,11 +56,21 @@ uint32_t aregs[8]; //40 + 4 * reg
x86-64 registers in Z80 core
-ax = AF
+ax = HL
bx = BC
cx = DE
-dx = HL
+dx = IX
+ebp = current cycle count
+rsi = context pointer
+edi = target cycle count
+rsp = native stack pointer
+r8 = IY
+r9 = SP
+r10 = A (maybe AF?)
+r11 = z80 ram address
+r12 = cartridge address if bank is pointed at ROM
+r13 = scratch1
+r14 = scratch2
+r15 = ?maybe z80 bank register?
+
-1. native stack pointer
-2. current cycle count
-3. target cycle count