mirror of
https://github.com/a2-4am/passport.git
synced 2024-05-28 21:41:27 +00:00
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
;-------------------------------
|
|
; #PROBS5
|
|
; sector check of track $23
|
|
; usually found in PROBS5 file
|
|
;
|
|
; tested on
|
|
; - Addition and Subtraction of Fractions Analyzer
|
|
; - Addition and Subtraction of Fractions Worksheet
|
|
; - Decimals Analyzer
|
|
; - Decimals Worksheet
|
|
; - Multiplication and Division of Fractions Analyzer
|
|
; - Multiplication and Division of Fractions Worksheet
|
|
; - Whole Numbers Analyzer
|
|
; - Whole Numbers Worksheet
|
|
;-------------------------------
|
|
!zone {
|
|
lda #$0F
|
|
sta .sector+1
|
|
.sector lda #$FF ; modified at runtime
|
|
ldx #$00
|
|
ldy #$08
|
|
jsr compare
|
|
!byte $00,$20, $FF,$0F ; DOS 3.3 file header
|
|
!byte $A9,$23 ; LDA #$23
|
|
!byte $8D,$EC ; STA $..EC
|
|
bcs + ; passport-test-suite/Addition and Subtraction of Fractions Analyzer.woz [C=0] matches
|
|
jsr PrintByID
|
|
!byte s_probs5
|
|
ldx #$04
|
|
jsr modify1
|
|
!byte $60 ; RTS
|
|
+ dec .sector+1
|
|
bpl .sector
|
|
.exit
|
|
}
|