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

@@ -12,11 +12,17 @@ default_brk_handler:
#if CONFIG_PLATFORM_COMMODORE_64
ldx #$00
sta VIC_SCROLX // turn the display off - we want as little screen artifacts as possible
sta VIC_SCROLX // turn the display off - we want as little screen artifacts as possible
#endif
cld // make sure this dangerous flag is disabled
cld // make sure this dangerous flag is disabled
#if HAS_OPCODES_65CE02
see // disable extended stack
#endif
jsr JRESTOR
jsr JIOINIT