code size optimization
This commit is contained in:
1 parent
b21ba971f9
commit
50da880ffc
4 files changed
+8
-47
No files matched your search
@@ -40,6 +40,9 @@
|
||||
;; #ALIAS# viciv_hotregs_on = KERNAL_0.viciv_hotregs_on
|
||||
;; #ALIAS# viciv_hotregs_off = KERNAL_0.viciv_hotregs_off
|
||||
|
||||
;; #ALIAS# m65_speed_tape_cbdos = KERNAL_0.m65_speed_tape_cbdos
|
||||
;; #ALIAS# m65_speed_restore = KERNAL_0.m65_speed_restore
|
||||
|
||||
;; #ALIAS# m65_clr_magictstr = KERNAL_0.m65_clr_magictstr
|
||||
;; #ALIAS# m65_scrtab_txtwidth = KERNAL_0.m65_scrtab_txtwidth
|
||||
;; #ALIAS# m65_scrtab_txtheight = KERNAL_0.m65_scrtab_txtheight
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
;; #LAYOUT# M65 KERNAL_1 #TAKE
|
||||
;; #LAYOUT# * * #IGNORE
|
||||
|
||||
;
|
||||
; Tape helper routine
|
||||
;
|
||||
; - unlocks VIC-IV
|
||||
; - switches CPU to fast processing mode and disables badlines
|
||||
; - stores previous VIC_CTRLB in NXTBIN
|
||||
;
|
||||
|
||||
!ifdef HAS_TAPE {
|
||||
|
||||
|
||||
tape_fast_cpu:
|
||||
|
||||
jsr M65_MODEGET
|
||||
bcc @1
|
||||
|
||||
jsr viciv_unhide
|
||||
@1:
|
||||
lda VIC_CTRLB
|
||||
ora #%01000000
|
||||
sta VIC_CTRLB
|
||||
sta NXTBIT
|
||||
|
||||
lda #$00
|
||||
sta MISC_EMU
|
||||
|
||||
rts
|
||||
}
|
||||
Reference in new issue
Block a user