added first CPU specific optimizations

This commit is contained in:
FeralChild64 committed 2019-09-24 17:24:32 +02:00
1 parent 5b2c28b281
commit 55e2512fe2
12 files changed
+198 -7

No files matched your search

+4 -1
View File
@@ -2,7 +2,10 @@
nmi_handler:
sei // don't allow IRQ to interfere, see https://www.c64-wiki.com/wiki/Interrupt
cld // clear decimal flag, to prevent possible problems
#if CONFIG_CPU_MOS_6502 && CONFIG_BCD_SAFE_INTERRUPTS
cld // clear decimal flag to allow using it without disabling interrupts
#endif
// Call interrupt routine (only if initialised)
pha