From: cuz Date: Fri, 12 Dec 2003 23:28:58 +0000 (+0000) Subject: Add SER_API_VERSION X-Git-Tag: V2.12.0~1069 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bac72d6b602c800ba98e58ce107fcb44c273f258;p=cc65 Add SER_API_VERSION git-svn-id: svn://svn.cc65.org/cc65/trunk@2735 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/asminc/ser-kernel.inc b/asminc/ser-kernel.inc index 303f1c5c8..4dd6ccd7d 100644 --- a/asminc/ser-kernel.inc +++ b/asminc/ser-kernel.inc @@ -39,7 +39,7 @@ .struct SER_HDR ID .byte 3 ; Contains 0x73, 0x65, 0x72 ("ser") VERSION .byte 1 ; Interface version - JUMPTAB .struct + JUMPTAB .struct INSTALL .word ; INSTALL routine UNINSTALL .word ; UNINSTALL routine OPEN .word ; OPEN routine @@ -52,6 +52,11 @@ .endstruct +;------------------------------------------------------------------------------ +; The SER API version, stored SER_HDR::VERSION + +SER_API_VERSION = $01 + ;------------------------------------------------------------------------------ ; ser_params diff --git a/libsrc/c64/c64-swlink.s b/libsrc/c64/c64-swlink.s index dbcda273b..4e7730b56 100644 --- a/libsrc/c64/c64-swlink.s +++ b/libsrc/c64/c64-swlink.s @@ -35,7 +35,7 @@ ; Driver signature .byte $73, $65, $72 ; "ser" - .byte $00 ; Serial API version number + .byte SER_API_VERSION ; Serial API version number ; Jump table.