2019-02-08 17:02:47 +00:00
|
|
|
;-------------------------------
|
|
|
|
; #SPRINGBOARD
|
|
|
|
; RWTS checks for timing bit by
|
|
|
|
; comparing the data latch after
|
|
|
|
; the last address epilogue
|
|
|
|
;
|
|
|
|
; tested on
|
|
|
|
; - The Newsroom (Springboard)
|
|
|
|
; - Easy as ABC (Springboard)
|
|
|
|
; - Early Games for Young Children (Springboard)
|
|
|
|
; - The Chalice of Mostania (Coastal)
|
|
|
|
;-------------------------------
|
|
|
|
!zone {
|
|
|
|
lda gIsRWTS ; if DOS 3.3 RWTS
|
|
|
|
bne .exit
|
|
|
|
lda #$03
|
|
|
|
sta gDisplayBytes
|
|
|
|
ldx #$92
|
|
|
|
ldy #$07
|
|
|
|
jsr compare ; and T00,S03,$92 ==
|
|
|
|
!byte $D0,$AE ; BNE $B942
|
|
|
|
CMP $C08C,X
|
|
|
|
!byte $D0,$A9 ; BNE $B942
|
2019-06-17 15:45:57 +00:00
|
|
|
bcs .exit ; passport-test-suite/Easy as ABC.woz [C=0] matches
|
2019-02-08 17:02:47 +00:00
|
|
|
lda #s_springboard
|
|
|
|
jsr PrintByID
|
|
|
|
lda #$03
|
|
|
|
ldx #$98
|
|
|
|
ldy #$01
|
|
|
|
jsr modify ; then set T00,S03,$98 =
|
|
|
|
!byte $00 ; branch to next instruction on failure
|
|
|
|
.exit
|
|
|
|
}
|