remove support for Ultrawarp card and simplify other softswitches

This commit is contained in:
4am 2020-04-02 14:37:15 -04:00
parent 8cedcada15
commit 2af1a0a076
2 changed files with 13 additions and 28 deletions

View File

@ -81,8 +81,6 @@ DecompressHGR
DecompressDHGR
jsr DecompressHGR
sta WRITEMAINMEM
jsr DHGRMode ; OpenEmulator incorrectly switches out of
; DHGR mode during accelerated decompression
lda #$60
sta PageFrom+2
lda #$40

View File

@ -6,8 +6,7 @@
;
; Forked from NORMFAST Release 6 (see changelog below)
;
; No functional changes to the acceleration routines, but for
; Total Replay, we split the machine identification code from
; For Total Replay, we split the machine identification code from
; the (de)acceleration code, because we can do the ID part once
; at program startup (when ROM is easily available), then
; (de)accelerate repeatedly from the language card (when ROM
@ -135,11 +134,6 @@ tw1_speed = $C074
TW1_1MHZ = 1
TW1_MAX = 0
; Trademarked German accelerator
; overlaps annunciator 2 & //c mouse interrupts
uw_fast = $C05C
uw_1mhz = $C05D
; Zip Chip
; overlaps annunciator 1 & //c vertical blank
zc_lock = $C05A
@ -355,16 +349,10 @@ addon
; TransWarp I
sta tw1_speed
; trademarked accelerator from Germany
tay
sta uw_fast,y ; value does not matter, SMC
; no blind setting on the IIc
; it has unwanted side-effects
; no UW support here because the softswitch to enable
; acceleration triggers DHGR bugs in OpenEmulator :-(
; Zip Chip
ldy #FC_1MHZ
eor #1
tax
@ -372,7 +360,7 @@ addon
ldy #FC_ON
+ lda #ZC_UNLOCK
php
sei ; timing sensitive
sei ; following sequence is timing sensitive
sta zc_lock
sta zc_lock
sta zc_lock
@ -381,7 +369,6 @@ addon
sta zc_lock,x ; disable/enable
lda #ZC_LOCK
sta zc_lock
sta $C05D ; fix colouring
FASTChip
lda #FC_UNLOCK