small tape support + turbo mode tweaks

This commit is contained in:
FeralChild64 committed 2020-10-22 20:08:13 +02:00
1 parent c98407bd84
commit 6dc461d184
9 files changed
+84 -29

No files matched your search

+7
View File
@@ -41,3 +41,10 @@
;; #ALIAS# M65_MODEGET = KERNAL_0.M65_MODEGET
;; #ALIAS# M65_MODESET = KERNAL_0.M65_MODESET
;; #ALIAS# M65_SETWIN_Y = KERNAL_0.M65_SETWIN_Y
;
; Ultimate 64 specific parts
;
;; #ALIAS# U64_SLOW = KERNAL_0.U64_SLOW
;; #ALIAS# U64_FAST = KERNAL_0.U64_FAST
+2 -11
View File
@@ -39,22 +39,13 @@ cmd_slow_fast_common:
cmd_slow:
lda #$00 ; for U64_TURBOCTL - badlines, 1MHz
sta SCPU_SPEED_NORMAL ; any value will do
; FALLTROUGH
cmd_slow_fast_common:
sta U64_TURBOCTL
rts
jmp U64_SLOW ; to set turbo in $D031 too
cmd_fast:
lda #$0F ; for U64_TURBOCTL - badlines, 48MHz
sta SCPU_SPEED_TURBO ; any value will do
bne cmd_slow_fast_common ; branch always
jmp U64_FAST ; to set turbo in $D031 too
} else ifdef CONFIG_PLATFORM_COMMODORE_64 {