C64 Software  <  SCA: The C64 Software Collection / CENTRONICS.OBJ

  Run
; Load: 49152 ($C000), len: 74 ($004a) bytes

C000  A9 1D       LDA #$1D
C002  8D 26 03    STA $0326
C005  A9 C0       LDA #$C0
C007  8D 27 03    STA $0327
C00A  A0 00       LDY #$00
C00C  A9 FF       LDA #$FF
C00E  8D 03 DD    STA $DD03
C011  8C 01 DD    STY $DD01
C014  AD 02 DD    LDA $DD02
C017  29 FB       AND #$FB
C019  8D 02 DD    STA $DD02
C01C  60          RTS
C01D  48          PHA
C01E  A5 9A       LDA $9A
C020  C9 05       CMP #$05
C022  F0 03       BEQ $C027
C024  4C CD F1    JMP $F1CD
C027  AD 00 DD    LDA $DD00
C02A  29 04       AND #$04
C02C  D0 F9       BNE $C027
C02E  68          PLA
C02F  48          PHA
C030  29 7F       AND #$7F
C032  8D 01 DD    STA $DD01
C035  EA          NOP
C036  09 80       ORA #$80
C038  8D 01 DD    STA $DD01
C03B  8A          TXA
C03C  A2 20       LDX #$20
C03E  CA          DEX
C03F  D0 FD       BNE $C03E
C041  AA          TAX
C042  68          PLA
C043  29 7F       AND #$7F
C045  8D 01 DD    STA $DD01
C048  18          CLC
C049  60          RTS
READY.