]> git.sur5r.net Git - cc65/commitdiff
Fixed a problem and a typo
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 21 Aug 2003 20:35:26 +0000 (20:35 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 21 Aug 2003 20:35:26 +0000 (20:35 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2405 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/c64/c64-swlink.s

index ca83d3cd0cceb1d1159619d0a794ae3e01867318..bf521eaa1025311306c1e707fa842cd21cf6ea9e 100644 (file)
@@ -251,7 +251,7 @@ PARAMS:
        sta     ACIA_CTRL
 
 ; 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
         lda     (ptr1),y
@@ -259,14 +259,14 @@ PARAMS:
         lda     ParityTable,y
        ora     #%00000001              ; DTR active
        sta     RtsOff
-       ora     #%00010000              ; Enable receive interrupts
-       sta     ACIA_CMD
+               ora     #%00001000              ; Enable receive interrupts
+               sta     ACIA_CMD
 
 ; Done
 
         lda     #<SER_ERR_OK
         tax                             ; A is zero
-       rts
+               rts
 
 ; Invalid parameter