Working on the new serial code
git-svn-id: svn://svn.cc65.org/cc65/trunk@2070 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -45,6 +45,6 @@ SER_ERR_BAUD_UNAVAIL = $05 ; Baud rate not available
|
||||
SER_ERR_NO_DATA = $06 ; Nothing to read
|
||||
SER_ERR_OVERFLOW = $07 ; No room in send buffer
|
||||
SER_ERR_INIT_FAILED = $08 ; Initialization failed
|
||||
|
||||
SER_ERR_INV_IOCTL = $09 ; IOCTL not supported
|
||||
|
||||
|
||||
|
||||
@@ -48,8 +48,9 @@ SER_HDR_PUT = SER_HDR_JUMPTAB+8 ; PUT routine
|
||||
SER_HDR_PAUSE = SER_HDR_JUMPTAB+10 ; PAUSE routine
|
||||
SER_HDR_UNPAUSE = SER_HDR_JUMPTAB+12 ; UNPAUSE routine
|
||||
SER_HDR_STATUS = SER_HDR_JUMPTAB+14 ; STATUS routine
|
||||
SER_HDR_IOCTL = SER_HDR_JUMPTAB+16 ; IOCTL routine
|
||||
|
||||
SER_HDR_JUMPCOUNT = 8 ; Number of jump vectors
|
||||
SER_HDR_JUMPCOUNT = 9 ; Number of jump vectors
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Offsets into the struct passed to ser_params
|
||||
@@ -128,7 +129,7 @@ SER_STATUS_DSR = $40 ; NOT data set ready
|
||||
.global ser_pause
|
||||
.global ser_unpause
|
||||
.global ser_status
|
||||
|
||||
.global ser_ioctl
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
@@ -143,6 +144,6 @@ SER_STATUS_DSR = $40 ; NOT data set ready
|
||||
.global _ser_pause
|
||||
.global _ser_unpause
|
||||
.global _ser_status
|
||||
|
||||
.global _ser_ioctl
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user