more startup initialization fixes
This commit is contained in:
1 parent
bb9450b221
commit
455ca2ee56
12 files changed
+22
-22
No files matched your search
@@ -6,9 +6,8 @@ hw_entry_reset:
|
||||
|
||||
// The GPL program at https://github.com/Klaus2m5/6502_65C02_functional_tests/blob/master/6502_functional_test.a65
|
||||
// uses the following initial reset sequence, affirmed by c64 PRG p269
|
||||
#if !HAS_BCD_SAFE_RESET
|
||||
cld // for CPUs having undefined D flag after reset
|
||||
#endif
|
||||
|
||||
cld // for CPUs might clear D flag - but it is possible this is called manually
|
||||
ldx #$FF
|
||||
txs
|
||||
sei
|
||||
|
||||
Reference in new issue
Block a user