summaryrefslogtreecommitdiff
path: root/z80inst.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-04-16 22:29:00 -0700
committerMike Pavone <pavone@retrodev.com>2013-04-16 22:29:00 -0700
commit9d263ae4d5ae12022177b4dda9120c88b20604df (patch)
treef2e177496bae97b9fa1b9cf02875e2e5b5b39aef /z80inst.c
parent5b8b2105a5ebee2f9d272c06ba129c7f1fbb8922 (diff)
Make reset trigger debug exit to make it easier to test the same cases in blastem and musashi. Fix asl #1 overflow flag.
Diffstat (limited to 'z80inst.c')
-rw-r--r--z80inst.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/z80inst.c b/z80inst.c
index 4a326a2..ce936c6 100644
--- a/z80inst.c
+++ b/z80inst.c
@@ -1118,7 +1118,9 @@ z80inst z80_tbl_iy[256] = {
NOP2,
NOP2,
NOP2,
- NOP2
+ //TODO: Enable this based on a define
+ {Z80_NOP, Z80_UNUSED, Z80_UNUSED, Z80_UNUSED, 42}
+ //NOP2
};
#define SHIFT_BLOCK_IY(op) \
@@ -1342,14 +1344,13 @@ char * z80_regs[Z80_USE_IMMED] = {
"e",
"h",
"l",
- "",
- "a",
"ixh",
"ixl",
"iyh",
"iyl",
"i",
"r",
+ "a",
"bc",
"de",
"hl",