The Cricket!: further refinements to 'SSC init'
//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
3943bd4aa5
|
@ -81,8 +81,9 @@ init_ssc:
|
|||
;; Reset SSC
|
||||
sta KBDSTRB ; Port 2 DSR line connected to KBDSTRB
|
||||
lda #0
|
||||
sta COMMAND
|
||||
sta COMMAND ; hardware reset all Port 2 ACIA registers
|
||||
sta CONTROL
|
||||
sta STATUS
|
||||
|
||||
;; Configure SSC
|
||||
lda #%00001011 ; no parity/echo/interrupts, RTS low, DTR low
|
||||
|
|
Loading…
Reference in New Issue