     $C194/49556:   Prepare error msg after executing command

    Jump from $C99E, $C9A4, $CAC9, $CB6F, $CC18, $CCFB, $CD16, $CD5C, $CD70,
              $CD94, $CDA0, $CDB7, $CDCF, $D00B, $D7F0, $D99D, $DAE6, $DAFC,
              $E272, $EDB0, $EEB4:

    C194: A9 00     LDA #$00
    C196: 8D F9 02  STA $02F9

    Jump from $DA06:

    C199: AD 6C 02  LDA $026C       ; flag set?
    C19C: D0 2A     BNE $C1C8       ; yes, then set error message
    C19E: A0 00     LDY #$00
    C1A0: 98        TYA             ; error number 0
    C1A1: 84 80     STY $80         ; track number 0

    Jump from $C87A:

    C1A3: 84 81     STY $81         ; sector number 0
    C1A5: 84 A3     STY $A3
    C1A7: 20 C7 E6  JSR $E6C7       ; prepare 'ok' message
    C1AA: 20 23 C1  JSR $C123       ; erase error flag

    Jump from $DAE9, $DAFF:

    C1AD: A5 7F     LDA $7F         ; drive number
    C1AF: 8D 8E 02  STA $028E       ; save as last drive number
    C1B2: AA        TAX
    C1B3: A9 00     LDA #$00
    C1B5: 95 FF     STA $FF,X
    C1B7: 20 BD C1  JSR $C1BD       ; erase input buffer
    C1BA: 4C DA D4  JMP $D4DA       ; close internal channel

        Previous Page / Next Page