@@ -260,7 +261,7 @@ used to access the functions in the driver code.
When loading a driver at runtime, the load address of the driver is also the
address of the code segment, so the locations of the header and jump table are
known. However, when linking the driver statically, it is up to the programmer
-to provide this information to the driver API.
+to provide this information to the driver API.
For this purpose, it is necessary to define a code segment label that can be
accessed from the outside later. Please note that the converter does currently
@@ -273,6 +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!
+
+
+
As an example, here are some instructions to convert and use the c64-hi.tgi
graphics driver:
@@ -298,7 +302,7 @@ uninstall the driver, which will be already in memory after linking: