Add SER_API_VERSION
git-svn-id: svn://svn.cc65.org/cc65/trunk@2735 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
.struct SER_HDR
|
.struct SER_HDR
|
||||||
ID .byte 3 ; Contains 0x73, 0x65, 0x72 ("ser")
|
ID .byte 3 ; Contains 0x73, 0x65, 0x72 ("ser")
|
||||||
VERSION .byte 1 ; Interface version
|
VERSION .byte 1 ; Interface version
|
||||||
JUMPTAB .struct
|
JUMPTAB .struct
|
||||||
INSTALL .word ; INSTALL routine
|
INSTALL .word ; INSTALL routine
|
||||||
UNINSTALL .word ; UNINSTALL routine
|
UNINSTALL .word ; UNINSTALL routine
|
||||||
OPEN .word ; OPEN routine
|
OPEN .word ; OPEN routine
|
||||||
@@ -52,6 +52,11 @@
|
|||||||
.endstruct
|
.endstruct
|
||||||
|
|
||||||
|
|
||||||
|
;------------------------------------------------------------------------------
|
||||||
|
; The SER API version, stored SER_HDR::VERSION
|
||||||
|
|
||||||
|
SER_API_VERSION = $01
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; ser_params
|
; ser_params
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
; Driver signature
|
; Driver signature
|
||||||
|
|
||||||
.byte $73, $65, $72 ; "ser"
|
.byte $73, $65, $72 ; "ser"
|
||||||
.byte $00 ; Serial API version number
|
.byte SER_API_VERSION ; Serial API version number
|
||||||
|
|
||||||
; Jump table.
|
; Jump table.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user