summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/m6502.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/m6502.cpp')
-rw-r--r--src/devices/cpu/m6502/m6502.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/devices/cpu/m6502/m6502.cpp b/src/devices/cpu/m6502/m6502.cpp
index 2ca7329bf87..013e4f19ef4 100644
--- a/src/devices/cpu/m6502/m6502.cpp
+++ b/src/devices/cpu/m6502/m6502.cpp
@@ -6,12 +6,6 @@
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
- see: https://www.pagetable.com/?p=410
- In other words, the first couple of cycles of STATE_RESET aren't emulated
-
***************************************************************************/
#include "emu.h"
@@ -99,7 +93,7 @@ void m6502_device::init()
X = 0x80;
Y = 0x00;
P = 0x36;
- SP = 0x01bd;
+ SP = 0x0100;
TMP = 0x0000;
TMP2 = 0x00;
IR = 0x00;