]> git.sur5r.net Git - cc65/blobdiff - doc/co65.sgml
Merge pull request #706 from xlar54/master
[cc65] / doc / co65.sgml
index 274b5e85b0c2e201d79e208b86b753f9a985d0ee..9d70ffe6a50fc3ed7770788755f823ff291ed1e2 100644 (file)
@@ -2,7 +2,7 @@
 
 <article>
 <title>co65 Users Guide
-<author>Ullrich von Bassewitz, <htmlurl url="mailto:uz@cc65.org" name="uz@cc65.org">
+<author><url url="mailto:uz@cc65.org" name="Ullrich von Bassewitz">
 <date>12.02.2003
 
 <abstract>
@@ -210,7 +210,7 @@ Here is a description of all the command line options:
 
   <tag><tt>--zeropage-name seg</tt></tag>
 
-  Set the name of the data segment. The default name is "ZEROPAGE" which is
+  Set the name of the zeropage segment. The default name is "ZEROPAGE" which is
   compatible with the standard ld65 linker configurations.
 
 </descrip>
@@ -274,9 +274,9 @@ it from C code. In your code, define an arbitrary variable with this name. Use
 the address of this variable as the address of the code segment of the driver.
 Be sure to never modify the variable which is in reality the start of your
 driver!
-                          
 
-<sect1>Example: Convert and link a graphics driver<p>
+
+<sect1>Example - Convert and link a graphics driver<p>
 
 As an example, here are some instructions to convert and use the c64-hi.tgi
 graphics driver:
@@ -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);
 
         ...
 
@@ -316,15 +316,6 @@ will get an "undefined external" error for the _c64_hi symbol.
 
 
 
-<sect>Bugs/Feedback<p>
-
-If you have problems using the converter, if you find any bugs, or if you're
-doing something interesting with the code, I would be glad to hear from you.
-Feel free to contact me by email (<htmlurl url="mailto:uz@cc65.org"
-name="uz@cc65.org">).
-
-
-
 <sect>Copyright<p>
 
 co65 is (C) Copyright 2003 Ullrich von Bassewitz. For usage of the binaries