Document SSC command register usage

This commit is contained in:
Joshua Bell 2017-12-02 09:56:13 -08:00
parent 296f128655
commit f507432fef
3 changed files with 3 additions and 3 deletions

View File

@ -182,7 +182,7 @@ init_ssc:
sta saved_control
;; Configure SSC
lda #%00001011
lda #%00001011 ; no parity/echo/interrupts, RTS low, DTR low
sta COMMAND
lda #%10011110 ; 9600 baud, 8 data bits, 2 stop bits
sta CONTROL

View File

@ -43,7 +43,7 @@ loop: lda driver,y
pha
;; Configure SSC
lda #%00001011
lda #%00001011 ; no parity/echo/interrupts, RTS low, DTR low
sta COMMAND
lda #%10011110 ; 9600 baud, 8 data bits, 2 stop bits
sta CONTROL

2
test.s
View File

@ -43,7 +43,7 @@ init_ssc:
sta saved_control
;; Configure SSC
lda #%00001011
lda #%00001011 ; no parity/echo/interrupts, RTS low, DTR low
sta COMMAND
lda #%10011110 ; 9600 baud, 8 data bits, 2 stop bits
sta CONTROL