![kueller](/assets/img/avatar_default.png)
git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_cc65@4236 504e572c-2e33-0410-9681-be2bf7408885
117 lines
3.1 KiB
HTML
117 lines
3.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20">
|
|
<TITLE>Apple ][ specific information for cc65: Loadable drivers</TITLE>
|
|
<LINK HREF="apple2-6.html" REL=next>
|
|
<LINK HREF="apple2-4.html" REL=previous>
|
|
<LINK HREF="apple2.html#toc5" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="apple2-6.html">Next</A>
|
|
<A HREF="apple2-4.html">Previous</A>
|
|
<A HREF="apple2.html#toc5">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s5">5.</A> <A HREF="apple2.html#toc5">Loadable drivers</A></H2>
|
|
|
|
|
|
<P><EM>Note:</EM> Since the Apple ][ doesn't have working disk I/O
|
|
(see
|
|
<A HREF="apple2-6.html#limitations">section "Limitations"</A>), the
|
|
available drivers cannot be loaded at runtime (so the term "loadable drivers"
|
|
is somewhat misleading). Instead, the drivers have to be converted using the
|
|
<A HREF="co65.html">co65 utility</A> and statically linked. While
|
|
this may seem overhead, it has two advantages:</P>
|
|
<P>
|
|
<OL>
|
|
<LI>The interface is identical to the one used for other platforms
|
|
and to the one for the Apple ][ once it has disk I/O.</LI>
|
|
<LI>Once disk I/O is available, existing code can be changed to load drivers
|
|
at runtime with almost no effort.</LI>
|
|
</OL>
|
|
</P>
|
|
|
|
|
|
|
|
<H2><A NAME="ss5.1">5.1</A> <A HREF="apple2.html#toc5.1">Graphics drivers</A>
|
|
</H2>
|
|
|
|
|
|
<P><EM>Note:</EM> Since memory for the high resolution graphics has to be allocated,
|
|
programs using graphics drivers will have to be linked using a special linker
|
|
configuration. See the <CODE>apple2-tgi.cfg</CODE> file in the documentation
|
|
directory, and the
|
|
<A HREF="ld65.html">linker documentation</A> on
|
|
how to use it.</P>
|
|
<P>
|
|
<DL>
|
|
|
|
<DT><B><CODE>a2.lo.tgi</CODE></B><DD><P>This driver was written by Stefan Haubenthal. It features a resolution of
|
|
40×40 with 16 colors. At the bottom of the screen, 4 additional text lines
|
|
are available.</P>
|
|
|
|
<DT><B><CODE>a2.hi.tgi</CODE></B><DD><P>This driver was written by Stefan Haubenthal. It features a resolution of
|
|
280×192 with 6 colors.</P>
|
|
|
|
</DL>
|
|
</P>
|
|
|
|
|
|
|
|
<H2><A NAME="ss5.2">5.2</A> <A HREF="apple2.html#toc5.2">Extended memory drivers</A>
|
|
</H2>
|
|
|
|
|
|
<P>
|
|
<DL>
|
|
|
|
<DT><B><CODE>a2.lc.emd</CODE></B><DD><P>Gives access to 12KB RAM (48 pages of 256 bytes each) on the
|
|
Apple ][ language card. The driver was contributed by
|
|
Stefan Haubenthal. Note: This driver is incompatible with any DOS using
|
|
the language card memory!</P>
|
|
|
|
</DL>
|
|
</P>
|
|
|
|
|
|
|
|
|
|
<H2><A NAME="ss5.3">5.3</A> <A HREF="apple2.html#toc5.3">Joystick drivers</A>
|
|
</H2>
|
|
|
|
|
|
<P>
|
|
<DL>
|
|
|
|
<DT><B><CODE>a2.stdjoy.joy</CODE></B><DD><P>Supports up to two standard analog joysticks connected to the game port of
|
|
the Apple ][.</P>
|
|
|
|
</DL>
|
|
</P>
|
|
|
|
|
|
|
|
|
|
<H2><A NAME="ss5.4">5.4</A> <A HREF="apple2.html#toc5.4">Mouse drivers</A>
|
|
</H2>
|
|
|
|
|
|
<P>Currently no drivers available (in fact, the API for loadable mouse drivers
|
|
does not exist).</P>
|
|
|
|
|
|
<H2><A NAME="ss5.5">5.5</A> <A HREF="apple2.html#toc5.5">RS232 device drivers</A>
|
|
</H2>
|
|
|
|
|
|
<P>No serial drivers are currently available for the Apple ][.</P>
|
|
|
|
|
|
|
|
<HR>
|
|
<A HREF="apple2-6.html">Next</A>
|
|
<A HREF="apple2-4.html">Previous</A>
|
|
<A HREF="apple2.html#toc5">Contents</A>
|
|
</BODY>
|
|
</HTML>
|