diff options
author | 2008-12-22 03:18:03 +0000 | |
---|---|---|
committer | 2008-12-22 03:18:03 +0000 | |
commit | 8213a7af4feb8e78910028895be2f5364f3eb685 (patch) | |
tree | 3b78b851567b4202f86d12bc2fe20b1746c4889c /src/emu/cpu/i8085/i8085cpu.h | |
parent | 9f29926c2f7924a5f11d04ec3a7b86617784b0fe (diff) |
Rewrote 8080/8085 interrupt handling so that it makes sense.
Changed 8080/8085 callbacks to be specified in a config structure.
Converted 8080/8085 core to cpu_state_table.
Changed to a single HAS_808X define for both cores.
Fixed several drivers that used interrupts in odd ways.
Converted warpwarp driver to raw video parameters.
Diffstat (limited to 'src/emu/cpu/i8085/i8085cpu.h')
-rw-r--r-- | src/emu/cpu/i8085/i8085cpu.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/emu/cpu/i8085/i8085cpu.h b/src/emu/cpu/i8085/i8085cpu.h index f1dafc26bf5..b17f455b1ee 100644 --- a/src/emu/cpu/i8085/i8085cpu.h +++ b/src/emu/cpu/i8085/i8085cpu.h @@ -21,15 +21,13 @@ #define CF 0x01 #define IM_SID 0x80 -#define IM_SOD 0x40 -//#define IM_IEN 0x20 -#define IM_INTR 0x20 //AT: the 8085 ignores bit 0x20. we move IM_INTR here for compatibility. -#define IM_TRAP 0x10 -//#define IM_INTR 0x08 -#define IM_IEN 0x08 //AT: RIM returns IEN status on this bit. SIM checks this bit to allow masking RST55-75 -#define IM_RST75 0x04 -#define IM_RST65 0x02 -#define IM_RST55 0x01 +#define IM_I75 0x40 +#define IM_I65 0x20 +#define IM_I55 0x10 +#define IM_IE 0x08 +#define IM_M75 0x04 +#define IM_M65 0x02 +#define IM_M55 0x01 #define ADDR_TRAP 0x0024 #define ADDR_RST55 0x002c |