log D4/D5 prologue on Pascal disks [fixes GATO v1.3]

This commit is contained in:
4am
2021-04-07 21:44:09 -04:00
parent 7dea9214a0
commit d63ced0fab
2 changed files with 21 additions and 18 deletions

View File

@@ -14,29 +14,32 @@
bit gMode ; nothing to do here in verify mode bit gMode ; nothing to do here in verify mode
bmi + bmi +
jmp .exit jmp .exit
-
ldy #$0A
jsr compare
!byte $BD,$8C,$C0
!byte $10,$FB
!byte $4A
!byte WILDCARD,$6A
!byte $D0,$EF
rts
+ +
; DOS 3.3 variant ; DOS 3.3 variant
lda #$03 lda #$03
sta gDisplayBytes sta gDisplayBytes
ldx #$4F ldx #$4F ; T00,S03,$4F
ldy #$0A jsr -
jsr compare ; if T00,S03,$4F ==
!byte $BD,$8C,$C0
!byte $10,$FB
!byte $4A
!byte WILDCARD,$6A
!byte $D0,$EF
bcc .yeslsr ; passport-test-suite/The Seasons.woz [C=0] matches bcc .yeslsr ; passport-test-suite/The Seasons.woz [C=0] matches
; RDOS variant ; RDOS variant
ldx #$4D ldx #$4D ; T00,S03,$4D
ldy #$0A jsr -
jsr compare ; or T00,S03,$4D == bcc .yeslsr ; passport-test-suite/Roadwar 2000.woz [C=0] matches
!byte $BD,$8C,$C0 ; Pascal variant
!byte $10,$FB lda #$0D
!byte $4A sta gDisplayBytes
!byte WILDCARD,$6A ldx #$05 ; T00,S0D,$05
!byte $D0,$EF jsr -
bcs .endlsr ; passport-test-suite/Roadwar 2000.woz [C=0] matches bcs .endlsr ; passport-test-suite/GATO v1.3.woz [C=0] matches
.yeslsr .yeslsr
lda #s_lsr6a lda #s_lsr6a
jsr PrintByID jsr PrintByID

View File

@@ -288,7 +288,7 @@ StringTableHigh
; can be set directly before calling PrintByID. ; can be set directly before calling PrintByID.
; ;
.header .header
!text "Passport by 4am 2021-04-06",$00 !text "Passport by 4am 2021-04-07",$00
.mainmenu .mainmenu
!text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D !text "________________________________________",$8D,$8D,$8D,$8D,$8D,$8D,$8D,$8D
!text " " !text " "