slightlyy safer interrupts, they disable BCD mode now

This commit is contained in:
FeralChild64 committed 2019-09-13 23:04:45 +02:00
1 parent 8fce9681be
commit 2dbb696628
2 files changed
+3

No files matched your search

+2
View File
@@ -15,6 +15,8 @@ irq_handler:
tya
pha
cld // clear decimal flag, to prevent possible problems
// Check if caused by BRK
tsx
lda $0104, x // get the pre-interrupt processor state