     $D107/53511:   Open channel for writing

    Jump from $CA63, $CF9F, $DB1B, $DC43, $E688, $EA2F:

    D107: A5 83     LDA $83         ; secondary address
    D109: C9 13     CMP #$13        ; 19
    D10B: 90 02     BCC $D10F       ; smaller?
    D10D: 29 0F     AND #$0F

    Jump from $D10B:

    D10F: AA        TAX
    D110: BD 2B 02  LDA $022B,X     ; channel number
    D113: A8        TAY
    D114: 0A        ASL
    D115: 90 0A     BCC $D121
    D117: 30 0A     BMI $D123

    Jump from $D121:

    D119: 98        TYA
    D11A: 29 0F     AND #$0F
    D11C: 85 82     STA $82
    D11E: AA        TAX
    D11F: 18        CLC             ; flag for ok
    D120: 60        RTS

    Jump from $D115:

    D121: 30 F6     BMI $D119

    Jump from $D117:

    D123: 38        SEC             ; flag for channel allocated
    D124: 60        RTS

        Previous Page / Next Page