NSClock: Incorporate @bobbimanners Ultrawarp bug workaround

For context, see:
https://github.com/bobbimanners/ProDOS-Utils/blob/master/No_Slot_Clock/README.md
This commit is contained in:
Joshua Bell 2023-06-25 11:37:59 -07:00
parent e706385fe9
commit 8ca57b2fac
2 changed files with 3 additions and 0 deletions

View File

@ -278,6 +278,7 @@ loop: lda driver,y
driver: driver:
php php
sei sei
lda $C00B ; Ultrawarp bug workaround c/o @bobbimanners
ld4: lda $CFFF ; self-modified ($CFFF or RDCXROM) ld4: lda $CFFF ; self-modified ($CFFF or RDCXROM)
pha pha
st1: sta $C300 ; self-modified ($Cn00 or INTCXROM) st1: sta $C300 ; self-modified ($Cn00 or INTCXROM)

View File

@ -349,6 +349,7 @@ slot: .byte 0
driver: driver:
php php
sei sei
lda $C00B ; Ultrawarp bug workaround c/o @bobbimanners
ld4: lda $CFFF ; self-modified ($CFFF or RDCXROM) ld4: lda $CFFF ; self-modified ($CFFF or RDCXROM)
pha pha
st1: sta $C300 ; self-modified ($Cn00 or INTCXROM) st1: sta $C300 ; self-modified ($Cn00 or INTCXROM)
@ -456,6 +457,7 @@ unlock:
php php
sei sei
lda $C00B ; Ultrawarp bug workaround c/o @bobbimanners
ld4: lda $CFFF ; self-modified ($CFFF or RDCXROM) ld4: lda $CFFF ; self-modified ($CFFF or RDCXROM)
pha pha
st1: sta $C300 ; self-modified ($Cn00 or INTCXROM) st1: sta $C300 ; self-modified ($Cn00 or INTCXROM)