     $C368/50024:   Get drive number

    Jump from $C1E2:

    C368: A9 00     LDA #$00
    C36A: 8D 8B 02  STA $028B       ; erase syntax flag
    C36D: AC 7A 02  LDY $027A       ; position in command line

    Jump from $C381:

    C370: B1 A3     LDA ($A3),Y     ; get chars from command buffer
    C372: 20 BD C3  JSR $C3BD       ; get drive number
    C375: 10 11     BPL $C388       ; certain number?
    C377: C8        INY             ; increment pointer
    C378: CC 74 02  CPY $0274       ; line end?
    C37B: B0 06     BCS $C383       ; yes
    C37D: AC 74 02  LDY $0274
    C380: 88        DEY
    C381: D0 ED     BNE $C370       ; search line for drive number

    Jump from $C37B:

    C383: CE 8B 02  DEC $028B
    C386: A9 00     LDA #$00

    Jump from $C375:

    C388: 29 01     AND #$01
    C38A: 85 7F     STA $7F         ; drive number
    C38C: 4C 00 C1  JMP $C100       ; turn LED on

        Previous Page / Next Page