From bac72d6b602c800ba98e58ce107fcb44c273f258 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 12 Dec 2003 23:28:58 +0000 Subject: [PATCH] Add SER_API_VERSION git-svn-id: svn://svn.cc65.org/cc65/trunk@2735 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- asminc/ser-kernel.inc | 7 ++++++- libsrc/c64/c64-swlink.s | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) 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. -- 2.39.5