changed CPU speed handling for MEGA65
This commit is contained in:
1 parent
121f49b763
commit
47b9676ca9
12 files changed
+142
-22
No files matched your search
@@ -0,0 +1,18 @@
|
||||
;; #LAYOUT# M65 KERNAL_0 #TAKE
|
||||
;; #LAYOUT# * * #IGNORE
|
||||
|
||||
;
|
||||
; Helper routine for setting VIC-IV control registers A and C
|
||||
;
|
||||
|
||||
|
||||
mega65_viciv_setctrl_AC:
|
||||
|
||||
sta VIC_CTRLA
|
||||
|
||||
lda VIC_CTRLC
|
||||
and #%01101000
|
||||
ora #%01000000 ; make C65/C128 fast modes switch to max MEGA65 CPU speed
|
||||
sta VIC_CTRLC
|
||||
|
||||
rts
|
||||
Reference in new issue
Block a user