mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-28 00:52:00 +00:00
18 lines
582 B
Plaintext
18 lines
582 B
Plaintext
;license:MIT
|
|
;(c) 2019 by 4am & qkumba
|
|
;
|
|
; Functions to enable and disable acceleration on various
|
|
; Apple II models, cards, and environments
|
|
;
|
|
; /!\ These live in LC RAM 2 and rely on other code which is also in LC RAM 2. /!\
|
|
; (EnableAccelerator and DisableAccelerator are copied into LC2 in 4cade.init.)
|
|
; You can call these functions directly if and only if you are already in LC2.
|
|
|
|
EnableAcceleratorAndSwitchToBank1
|
|
jsr EnableAccelerator
|
|
jmp SwitchToBank1
|
|
|
|
DisableAcceleratorAndSwitchToBank1
|
|
jsr DisableAccelerator
|
|
jmp SwitchToBank1
|