From: ol.sc
Date: Thu, 1 Nov 2012 20:23:15 +0000 (+0000)
Subject: Harmozined typing of static driver address with recent additions of static standard...
X-Git-Tag: V2.14~182
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4983688bd530398f5261a26742183bed60e38eaa;p=cc65
Harmozined typing of static driver address with recent additions of static standard drivers to header files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5892 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
diff --git a/doc/co65.sgml b/doc/co65.sgml
index 31aa34234..126ed56fd 100644
--- a/doc/co65.sgml
+++ b/doc/co65.sgml
@@ -290,11 +290,11 @@ output.
ca65 c64-hi.s
-Next, change your C code to declare a variable that is actually the first byte
+Next, change your C code to declare a variable that is actually the address
of the driver:
- extern char c64_hi;
+ extern void c64_hi[];
Instead of loading and unloading the driver, change the code to install and
@@ -302,7 +302,7 @@ uninstall the driver, which will be already in memory after linking:
/* Install the driver */
- tgi_install (&c64_hi);
+ tgi_install (c64_hi);
...