]> git.sur5r.net Git - cc65/commitdiff
Add SER_API_VERSION
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 12 Dec 2003 23:28:58 +0000 (23:28 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 12 Dec 2003 23:28:58 +0000 (23:28 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2735 b7a2c559-68d2-44c3-8de9-860c34a00d81

asminc/ser-kernel.inc
libsrc/c64/c64-swlink.s

index 303f1c5c8c84cd2908040f4fb5489cd81e40f896..4dd6ccd7d8c60a61feb20563e63578f0b011011b 100644 (file)
@@ -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
 .endstruct
 
 
+;------------------------------------------------------------------------------
+; The SER API version, stored SER_HDR::VERSION
+
+SER_API_VERSION         = $01
+
 ;------------------------------------------------------------------------------
 ; ser_params
 
index dbcda273b90da6069f059206db1ddd40101ebf9c..4e7730b56ae90fe74a9a8899cb35c9c5a073cee9 100644 (file)
@@ -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.