verify address prologue checksum by default, then turn it off when necessary

This commit is contained in:
4am 2017-07-06 08:02:03 -04:00
parent 677244978a
commit bcb7a1d1eb
3 changed files with 7 additions and 1 deletions

View File

@ -15,6 +15,8 @@ TraceDOS33
sta gTrack
lda #$09
sta gSector
lda #$00
sta $b991
precheck
ldy #<gRWTSParams
lda #>gRWTSParams

View File

@ -276,6 +276,8 @@ Action
sta TEXTTOP
lda #s_reading
jsr PrintByID
lda #$00
sta $b991
ldy #<gRWTSParams ; call universal RWTS to see
lda #>gRWTSParams ; if T00,S00 is readable
jsr $BD00 ; (only care about the return code)
@ -286,6 +288,8 @@ Action
jsr PrintByID
jmp TheEnd
.checkt00s00
lda #$02
sta $b991
jmp IDBootloader ; /src/id/inspect0

View File

@ -78,7 +78,7 @@ universalrwts
!byte $bd,$8c,$c0,$10,$fb,$2a,$85,$26
!byte $bd,$8c,$c0,$10,$fb,$25,$26,$99
!byte $2c,$00,$45,$27,$88,$10,$e7,$a8
!byte $d0,$00,$18,$60,$38,$60,$00,$00
!byte $d0,$02,$18,$60,$38,$60,$00,$00
!byte $00,$00,$00,$00,$00,$00,$18,$60
!byte $86,$2b,$85,$2a,$cd,$78,$04,$f0
!byte $53,$a9,$00,$85,$26,$ad,$78,$04