![kueller](/assets/img/avatar_default.png)
git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_cc65@4236 504e572c-2e33-0410-9681-be2bf7408885
78 lines
2.5 KiB
HTML
78 lines
2.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20">
|
|
<TITLE>Atari Lynx specific information for cc65: Loadable drivers</TITLE>
|
|
<LINK HREF="lynx-6.html" REL=next>
|
|
<LINK HREF="lynx-4.html" REL=previous>
|
|
<LINK HREF="lynx.html#toc5" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="lynx-6.html">Next</A>
|
|
<A HREF="lynx-4.html">Previous</A>
|
|
<A HREF="lynx.html#toc5">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s5">5.</A> <A HREF="lynx.html#toc5">Loadable drivers</A></H2>
|
|
|
|
|
|
|
|
<H2><A NAME="ss5.1">5.1</A> <A HREF="lynx.html#toc5.1">Graphics drivers</A>
|
|
</H2>
|
|
|
|
|
|
<P>A TGI driver for the standard graphics mode (160×102 in 16 colors) is
|
|
available, but must be statically linked, because no file I/O is available.
|
|
See the documentation for the
|
|
<A HREF="co65.html">co65 utility</A>
|
|
for information on how to do that.</P>
|
|
<P>The TGI driver is implemented as a dual buffering device. To use it as a
|
|
single-buffer device set draw page and view page to the same value 0 or 1;</P>
|
|
<P>The TGI driver has a few Lynx-specific extensions.</P>
|
|
<P>Calling tgi_ioctl(0, spr) will display a standard Lynx sprite on screen.</P>
|
|
<P>Calling tgi_ioctl(1, 0) will do a flip screen. If you decide to flip the
|
|
screen then it may be a good idea to call the install-routine for the
|
|
joystick to get that flipped too.</P>
|
|
<P>Calling tgi_ioctl(2, bgindex) will set the text background color to the index
|
|
defined by bgindex. If bgindex is 0 then the background color is transparent.</P>
|
|
|
|
<H2><A NAME="ss5.2">5.2</A> <A HREF="lynx.html#toc5.2">Extended memory drivers</A>
|
|
</H2>
|
|
|
|
|
|
<P>No extended memory drivers are currently available for the Lynx.</P>
|
|
|
|
|
|
<H2><A NAME="ss5.3">5.3</A> <A HREF="lynx.html#toc5.3">Joystick drivers</A>
|
|
</H2>
|
|
|
|
|
|
<P>A joystick driver for the standard buttons is available, but must be
|
|
statically linked, because no file I/O is available. See the documentation for
|
|
the
|
|
<A HREF="co65.html">co65 utility</A> for information on how to do
|
|
that.</P>
|
|
<P>The joystick will check to see if the screen is flipped or not in the install
|
|
routine and adapt itself to the currect state.</P>
|
|
|
|
<H2><A NAME="ss5.4">5.4</A> <A HREF="lynx.html#toc5.4">Mouse drivers</A>
|
|
</H2>
|
|
|
|
|
|
<P>No mouse drivers are currently available for the Lynx.</P>
|
|
|
|
|
|
<H2><A NAME="ss5.5">5.5</A> <A HREF="lynx.html#toc5.5">RS232 device drivers</A>
|
|
</H2>
|
|
|
|
|
|
<P>No serial drivers are currently available for the Lynx.</P>
|
|
|
|
|
|
|
|
<HR>
|
|
<A HREF="lynx-6.html">Next</A>
|
|
<A HREF="lynx-4.html">Previous</A>
|
|
<A HREF="lynx.html#toc5">Contents</A>
|
|
</BODY>
|
|
</HTML>
|