]> git.sur5r.net Git - cc65/commitdiff
Harmozined typing of static driver address with recent additions of static standard...
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 1 Nov 2012 20:23:15 +0000 (20:23 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 1 Nov 2012 20:23:15 +0000 (20:23 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5892 b7a2c559-68d2-44c3-8de9-860c34a00d81

doc/co65.sgml

index 31aa3423428a8cfe8d65ddfb1aaeb9c61c154f5f..126ed56fd4b0cec67c35fe2987bc568433dc61d2 100644 (file)
@@ -290,11 +290,11 @@ output.
         ca65 c64-hi.s
   </verb></tscreen>
 
-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:
 
   <tscreen><verb>
-               extern char c64_hi;
+               extern void c64_hi[];
   </verb></tscreen>
 
 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:
 
   <tscreen><verb>
         /* Install the driver */
-        tgi_install (&amp;c64_hi);
+        tgi_install (c64_hi);
 
         ...