     $DA09/55817:   Check file type and control mode

    Jump from $D866, $D873:

    DA09: BC 7A 02  LDY $027A,X     ; pointer in command line
    DA0C: B9 00 02  LDA $0200,Y     ; get characters from line
    DA0F: A0 04     LDY #$04

    Jump from $DA17:

    DA11: 88        DEY
    DA12: 30 08     BMI $DA1C
    DA14: D9 B2 FE  CMP $FEB2,Y     ; control modes 'R', 'W', 'A', 'M'
    DA17: D0 F8     BNE $DA11
    DA19: 8C 97 02  STY $0297       ; save

    Jump from $DA12:

    DA1C: A0 05     LDY #$05

    Jump from $DA24:

    DA1E: 88        DEY
    DA1F: 30 08     BMI $DA29
    DA21: D9 B6 FE  CMP $FEB6,Y     ; file types 'D','S','P','U','L'
    DA24: D0 F8     BNE $DA1E
    DA26: 8C 4A 02  STY $024A       ; save

    Jump from $DA1F:

    DA29: 60        RTS

        Previous Page / Next Page