$C48B/50315:   ?

Jump from $C86D:

C48B: 20 04 C6  JSR $C604       ; search next directory block
C48E: F0 1A     BEQ $C4AA       ; not found?
C490: D0 28     BNE $C4BA

Jump from $C4B2:

C492: A9 01     LDA #$01
C494: 8D 8D 02  STA $028D
C497: 20 8F C3  JSR $C38F       ; change drive
C49A: 20 00 C1  JSR $C100       ; turn LED on

Jump from $C830, $D852, $DAA4:

C49D: A9 00     LDA #$00
C49F: 8D 92 02  STA $0292
C4A2: 20 AC C5  JSR $C5AC       ; read directory block
C4A5: D0 13     BNE $C4BA       ; found?
C4A7: 8D 8F 02  STA $028F

Jump from $C48E, $C4B8:

C4AA: AD 8F 02  LDA $028F
C4AD: D0 28     BNE $C4D7
C4AF: CE 8C 02  DEC $028C
C4B2: 10 DE     BPL $C492
C4B4: 60        RTS

Jump from $C4C5, $C4D5, $C7A7:

C4B5: 20 17 C6  JSR $C617       ; next entry in directory
C4B8: F0 F0     BEQ $C4AA       ; not found?

Jump from $C490, $C4A5:

C4BA: 20 D8 C4  JSR $C4D8       ; check entry
C4BD: AE 53 02  LDX $0253
C4C0: 10 07     BPL $C4C9       ; file found?
C4C2: AD 8F 02  LDA $028F
C4C5: F0 EE     BEQ $C4B5       ; yes
C4C7: D0 0E     BNE $C4D7       ; no, then done

Jump from $C4C0:

C4C9: AD 96 02  LDA $0296
C4CC: F0 09     BEQ $C4D7
C4CE: B5 E7     LDA $E7,X       ; file type
C4D0: 29 07     AND #$07
C4D2: CD 96 02  CMP $0296       ; same as desired file type?
C4D5: D0 DE     BNE $C4B5       ; no

Jump from $C4AD, $C4C7, $C4CC:

C4D7: 60        RTS

    Previous Page / Next Page