for MEGA65 disabled FAST/SLOW commands in native mode

This commit is contained in:
FeralChild64 committed 2020-10-10 16:21:41 +02:00
1 parent 3b0f38e6b2
commit 5c5c14f76a
11 files changed
+62 -48

No files matched your search

+9 -6
View File
@@ -25,13 +25,15 @@ m65_mode64:
jsr viciv_shutdown
jsr vicii_init
; Reenable interrupts
; Switch CPU speed back to normal
lda #$40
sta CPU_D6510
; Reenable interrupts and quit
cli
; Switch CPU speed back to slow and quit
jmp M65_SLOW
rts
m65_mode65:
@@ -42,7 +44,8 @@ m65_mode65:
; Switch CPU speed to fast
jsr M65_FAST
lda #$41
sta CPU_D6510
; Set the magic string to mark native mode