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:
frankmilliron 2023-07-16 13:30:04 -07:00 committed by GitHub
parent ec4a0eeb1e
commit 9401723f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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