mirror of
https://github.com/A2osX/A2osX.git
synced 2025-01-08 04:29:37 +00:00
fixed timing more issues
This commit is contained in:
parent
c182de64c0
commit
d1974f0153
@ -77,6 +77,7 @@ RW.Detect2 php
|
||||
|
||||
ldx #0 start detection at page $00
|
||||
.1 stx RWBankSelect
|
||||
nop
|
||||
lda 0
|
||||
sta RW.SAVEZP0,x save Bank 0 $0000 to prevent ALTZP trash
|
||||
lda 1
|
||||
@ -88,13 +89,12 @@ RW.Detect2 php
|
||||
.2 sta RWBankSelect
|
||||
|
||||
*--------------------------------------
|
||||
* Added after Dog Cow from macgui.com testing sessions
|
||||
* Added after David Finnigan from macgui.com testing sessions
|
||||
*
|
||||
pha
|
||||
pla
|
||||
|
||||
nop
|
||||
nop
|
||||
*
|
||||
* to address possibly a timing issue
|
||||
* to address possibly a timing issue with Accelerators
|
||||
*--------------------------------------
|
||||
|
||||
sta 0
|
||||
@ -107,6 +107,10 @@ RW.Detect2 php
|
||||
ldx #0
|
||||
.3 txa
|
||||
sta RWBankSelect
|
||||
|
||||
nop
|
||||
nop
|
||||
|
||||
cmp 0
|
||||
bne .4
|
||||
eor #$FF
|
||||
@ -119,6 +123,10 @@ RW.Detect2 php
|
||||
.4 ldy #255 X = detected page count
|
||||
|
||||
.6 sty RWBankSelect
|
||||
|
||||
nop
|
||||
nop
|
||||
|
||||
lda RW.SAVEZP0,y
|
||||
sta 0
|
||||
lda RW.SAVEZP1,y
|
||||
@ -127,6 +135,10 @@ RW.Detect2 php
|
||||
bne .6
|
||||
|
||||
stz RWBankSelect
|
||||
|
||||
nop
|
||||
nop
|
||||
|
||||
lda RW.SAVEZP0 Don't forget to restore Bank 0
|
||||
sta 0
|
||||
lda RW.SAVEZP1
|
||||
|
Loading…
Reference in New Issue
Block a user