mirror of
https://github.com/a2stuff/prodos-drivers.git
synced 2024-09-29 17:55:47 +00:00
The Cricket!: further refinements to 'SSC init' (#18)
//c technical reference includes a 'hardware reset' for three of the ACIA registers. Here we reset all three.
This commit is contained in:
parent
ec4a0eeb1e
commit
9401723f0d
@ -81,8 +81,9 @@ init_ssc:
|
|||||||
;; Reset SSC
|
;; Reset SSC
|
||||||
sta KBDSTRB ; Port 2 DSR line connected to KBDSTRB
|
sta KBDSTRB ; Port 2 DSR line connected to KBDSTRB
|
||||||
lda #0
|
lda #0
|
||||||
sta COMMAND
|
sta COMMAND ; hardware reset all Port 2 ACIA registers
|
||||||
sta CONTROL
|
sta CONTROL
|
||||||
|
sta STATUS
|
||||||
|
|
||||||
;; Configure SSC
|
;; Configure SSC
|
||||||
lda #%00001011 ; no parity/echo/interrupts, RTS low, DTR low
|
lda #%00001011 ; no parity/echo/interrupts, RTS low, DTR low
|
||||||
|
Loading…
Reference in New Issue
Block a user