     $CFF1/53233:   Write data byte in buffer

    Jump from $CD87, $CFD0, $CFE5, $D19D, $D1B0, $D1B5, $D4A8, $D4AD, $D4BB,
              $D4C0, $D4C5, $D74D, $D754, $D75B, $DB73, $DB95, $DB99, $ECBE,
              $ECC3, $ECC8, $ECCB, $ECD1, $ECD6, $ECE7, $ECEC, $ECEF, $ECFA,
              $ED00, $ED08, $ED26, $ED2C, $ED3D, $ED40, $ED43, $ED5E:

    CFF1: 48        PHA             ; save data byte
    CFF2: 20 93 DF  JSR $DF93       ; get buffer number
    CFF5: 10 06     BPL $CFFD       ; associated buffer?
    CFF7: 68        PLA
    CFF8: A9 61     LDA #$61
    CFFA: 4C C8 C1  JMP $C1C8       ; 61, 'file not open'

    Jump from $CFF5, $DD92:

    CFFD: 0A        ASL             ; buffer number times 2
    CFFE: AA        TAX             ; as index
    CFFF: 68        PLA             ; data byte
    D000: 81 99     STA ($99,X)     ; write in buffer
    D002: F6 99     INC $99,X       ; increment buffer pointer
    D004: 60        RTS

        Previous Page / Next Page