for Mega65 disable the extended stack on cold/warm restart

This commit is contained in:
FeralChild64 committed 2020-05-30 15:44:06 +02:00
1 parent 3476aed277
commit 3eb7d4ffbd
3 files changed
+22 -5

No files matched your search

+9 -3
View File
@@ -11,10 +11,16 @@ hw_entry_reset:
// The GPL program at https://github.com/Klaus2m5/6502_65C02_functional_tests/blob/master/6502_functional_test.a65
// uses the similar initial reset sequence, affirmed by c64 PRG p269
sei // disable the interrupts, as fast as possible - they are disabled in case of HW reset,
// but this routine can be also called manually
sei // disable the interrupts, as fast as possible - they are disabled in case of HW reset,
// but this routine can be also called manually
cld // required for all CPUs - due to possibility of manual call
cld // required for all CPUs - due to possibility of manual call
#if HAS_OPCODES_65CE02
see // disable extended stack
#endif
ldx #$FF
txs