C64 ROM | Routines |
Prev: FEC2 | Up: Map | Next: FF07 |
Used by the routine at FE72.
|
||||
FED6 | AD 01 DD | LDA $DD01 | read VIA 2 DRB, RS232 port | |
FED9 | 29 01 | AND #%00000001 | mask 0000 000x, RS232 Rx DATA | |
FEDB | 85 A7 | STA $A7 | save the RS232 received data bit | |
FEDD | AD 06 DD | LDA $DD06 | get VIA 2 timer B low byte | |
FEE0 | E9 1C | SBC #$1C | ||
FEE2 | 6D 99 02 | ADC $0299 | ||
FEE5 | 8D 06 DD | STA $DD06 | save VIA 2 timer B low byte | |
FEE8 | AD 07 DD | LDA $DD07 | get VIA 2 timer B high byte | |
FEEB | 6D 9A 02 | ADC $029A | ||
FEEE | 8D 07 DD | STA $DD07 | save VIA 2 timer B high byte | |
FEF1 | A9 11 | LDA #$11 | set timer B single shot, start timer B | |
FEF3 | 8D 0F DD | STA $DD0F | save VIA 2 CRB | |
FEF6 | AD A1 02 | LDA $02A1 | get the RS-232 interrupt enable byte | |
FEF9 | 8D 0D DD | STA $DD0D | save VIA 2 ICR | |
FEFC | A9 FF | LDA #$FF | ||
FEFE | 8D 06 DD | STA $DD06 | save VIA 2 timer B low byte | |
FF01 | 8D 07 DD | STA $DD07 | save VIA 2 timer B high byte | |
FF04 | 4C 59 EF | JMP $EF59 |
Prev: FEC2 | Up: Map | Next: FF07 |