diff --git a/libsrc/cbm510/cbm510-stdser.s b/libsrc/cbm510/cbm510-stdser.s index 072079b85..8de683b60 100644 --- a/libsrc/cbm510/cbm510-stdser.s +++ b/libsrc/cbm510/cbm510-stdser.s @@ -125,10 +125,15 @@ ParityTable: ; ; UNINSTALL routine. Is called before the driver is removed from memory. ; Must return an SER_ERR_xx code in a/x. - +; and: +; +; CLOSE: Close the port, disable interrupts and flush the buffer. Called +; without parameters. Must return an error code in a/x. +; INSTALL: UNINSTALL: +CLOSE: ; Deactivate DTR and disable 6551 interrupts @@ -216,28 +221,6 @@ InvBaud: ldx #>SER_ERR_BAUD_UNAVAIL rts -;---------------------------------------------------------------------------- -; CLOSE: Close the port, disable interrupts and flush the buffer. Called -; without parameters. Must return an error code in a/x. -; - -CLOSE: - -; Stop interrupts, drop DTR - - lda #%00001010 - jsr write_cmd - -; Initalize buffers. - - jsr InitBuffers - -; Return OK - - lda #SER_ERR_BAUD_UNAVAIL rts -;---------------------------------------------------------------------------- -; CLOSE: Close the port, disable interrupts and flush the buffer. Called -; without parameters. Must return an error code in a/x. -; - -CLOSE: - -; Stop interrupts, drop DTR - - lda #%00001010 - jsr write_cmd - -; Initalize buffers. - - jsr InitBuffers - -; Return OK - - lda #SER_ERR_BAUD_UNAVAIL rts -;---------------------------------------------------------------------------- -; CLOSE: Close the port, disable interrupts and flush the buffer. Called -; without parameters. Must return an error code in a/x. -; - -CLOSE: - -; Stop interrupts, drop DTR - - lda #%00001010 - sta ACIA_CMD - -; Initalize buffers. - - jsr InitBuffers - -; Return OK - - lda #