Fix for Fastchip (#145)

* Fix for Fastchip

* Move gGlobalPrefsStore back to D000
This commit is contained in:
Tom Greene 2020-03-29 19:01:23 -04:00 committed by GitHub
parent 93400cb72a
commit 0d3c004ca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 9 deletions

View File

@ -123,10 +123,7 @@ gSearchStore
gSlideshowStore
!word $0800
gGlobalPrefsStore
!word $D001 ; leave $D000 alone because FastChip accelerator
; flips out if it has certain values (it will
; be set to $55 as part of the 64K memory test,
; which is apparently one of the acceptable values)
!word $D000
gGamesListStore
!word $FDFD ; SMC
SwitchToBank2

View File

@ -20,7 +20,7 @@
; D670..DB98 - HGR font code & ProRWTS glue code
; DB99..DBA7 - backup of stack (during gameplay and self-running demos)
; ...unused...
; DBAF..DBFF - (de)acceleration function
; DBB4..DBFF - (de)acceleration function
; DC00..DFFF - HGR font data
;------------------------------------------------------------------------------
@ -123,7 +123,7 @@ MockingboardStuff = $FFF8 ; bit 7 = 1 if speech chip present (Mockingboard "C"
MachineStatus = $FFF9
; LC RAM 2
DisableAccelerator = $DBAF
DisableAccelerator = $DBB4
EnableAccelerator = DisableAccelerator+3
; AND masks for MockingboardStuff

View File

@ -119,6 +119,7 @@ EX_3MHZMASK = $C0 ; 3.6Mhz
; FASTChip
fc_lock = $C06A
fc_enable = $C06B
fc_speed = $C06D
fc_config = $C06E
fc_data = $C06F
FC_UNLOCK = $6A ; write 4 times
@ -389,9 +390,7 @@ FASTChip
sta fc_lock
sta fc_lock
sta fc_enable
lda #0
sta fc_config
sty fc_data
sty fc_speed
lda #FC_LOCK
sta fc_lock