1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-04 03:56:13 +00:00

Fixed a problem and a typo

git-svn-id: svn://svn.cc65.org/cc65/trunk@2405 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-08-21 20:35:26 +00:00
parent 79edfdd0df
commit bc9f2678a2

View File

@ -251,7 +251,7 @@ PARAMS:
sta ACIA_CTRL sta ACIA_CTRL
; Set the value for the command register. We remember the base value in ; Set the value for the command register. We remember the base value in
; RtsOff, since we will have to manipulate ACIT_CMD often. ; RtsOff, since we will have to manipulate ACIA_CMD often.
ldy #SER_PARAMS_PARITY ; Parity ldy #SER_PARAMS_PARITY ; Parity
lda (ptr1),y lda (ptr1),y
@ -259,14 +259,14 @@ PARAMS:
lda ParityTable,y lda ParityTable,y
ora #%00000001 ; DTR active ora #%00000001 ; DTR active
sta RtsOff sta RtsOff
ora #%00010000 ; Enable receive interrupts ora #%00001000 ; Enable receive interrupts
sta ACIA_CMD sta ACIA_CMD
; Done ; Done
lda #<SER_ERR_OK lda #<SER_ERR_OK
tax ; A is zero tax ; A is zero
rts rts
; Invalid parameter ; Invalid parameter