diff options
Diffstat (limited to 'src/devices/cpu/m6502/m6502.cpp')
-rw-r--r-- | src/devices/cpu/m6502/m6502.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/cpu/m6502/m6502.cpp b/src/devices/cpu/m6502/m6502.cpp index 2249ee5be20..e7c6dc8ab7e 100644 --- a/src/devices/cpu/m6502/m6502.cpp +++ b/src/devices/cpu/m6502/m6502.cpp @@ -6,6 +6,10 @@ MOS Technology 6502, original NMOS variant +TODO: +- device_start SP = 0x01bd; can't be right. At power-on, SP = 0(0x100) + and at RESET, it is decremented 3 times without writing to the stack + ***************************************************************************/ #include "emu.h" @@ -112,6 +116,7 @@ void m6502_device::init() void m6502_device::device_reset() { + P |= F_I; inst_state = STATE_RESET; inst_substate = 0; inst_state_base = 0; |