mirror of
https://github.com/a2-4am/passport.git
synced 2024-12-24 02:30:08 +00:00
verify address prologue checksum by default, then turn it off when necessary
This commit is contained in:
parent
677244978a
commit
bcb7a1d1eb
@ -15,6 +15,8 @@ TraceDOS33
|
||||
sta gTrack
|
||||
lda #$09
|
||||
sta gSector
|
||||
lda #$00
|
||||
sta $b991
|
||||
precheck
|
||||
ldy #<gRWTSParams
|
||||
lda #>gRWTSParams
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user