mirror of
https://github.com/a2-4am/passport.git
synced 2024-12-27 23:31:07 +00:00
verify explicitly all six sectors in RW18 mode
This commit is contained in:
parent
f4aee49c5f
commit
2e03703343
@ -155,6 +155,12 @@ VerifyInfocom18
|
|||||||
.verifyrw18
|
.verifyrw18
|
||||||
ldx #$06 ; six sectors, three times the usual size
|
ldx #$06 ; six sectors, three times the usual size
|
||||||
stx tmp ; sector counter
|
stx tmp ; sector counter
|
||||||
|
stx $40
|
||||||
|
stx $41
|
||||||
|
stx $42
|
||||||
|
stx $43
|
||||||
|
stx $44
|
||||||
|
stx $45
|
||||||
bne +
|
bne +
|
||||||
|
|
||||||
.retryrw18
|
.retryrw18
|
||||||
@ -166,7 +172,11 @@ VerifyInfocom18
|
|||||||
bne --
|
bne --
|
||||||
jsr .rw18pro
|
jsr .rw18pro
|
||||||
bne .badrw18
|
bne .badrw18
|
||||||
+ ldy #4
|
+ ldx $2D
|
||||||
|
cmp $40,x
|
||||||
|
beq .badrw18
|
||||||
|
sta $40,x
|
||||||
|
ldy #4
|
||||||
- dey
|
- dey
|
||||||
beq .badrw18
|
beq .badrw18
|
||||||
.x4
|
.x4
|
||||||
|
@ -365,7 +365,7 @@ StringTableHigh ; must be kept in sync with constants in enid.a
|
|||||||
.passport
|
.passport
|
||||||
!text "Passport ",$00
|
!text "Passport ",$00
|
||||||
.header
|
.header
|
||||||
!text "@",s_passport,"by 4am@",s_space7,"@",s_space7," 2022-02-04",$00
|
!text "@",s_passport,"by 4am@",s_space7,"@",s_space7," 2022-02-05",$00
|
||||||
.bar9
|
.bar9
|
||||||
!text "_________",$00
|
!text "_________",$00
|
||||||
.bar18
|
.bar18
|
||||||
|
Loading…
Reference in New Issue
Block a user