apple2-5.html

来自「cc65 的编译器文档」· HTML 代码 · 共 116 行

HTML
116
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><HTML><HEAD> <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20"> <TITLE>Apple&nbsp;][ 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&nbsp;][ doesn't have working disk I/O(see <A HREF="apple2-6.html#limitations">section &quot;Limitations&quot;</A>), theavailable 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. Whilethis may seem overhead, it has two advantages:</P><P><OL><LI>The interface is identical to the one used for other platformsand to the one for the Apple&nbsp;][ once it has disk I/O.</LI><LI>Once disk I/O is available, existing code can be changed to load driversat 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 linkerconfiguration. See the <CODE>apple2-tgi.cfg</CODE> file in the documentationdirectory, and the <A HREF="ld65.html">linker documentation</A> onhow 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 of40&times;40 with 16 colors. At the bottom of the screen, 4 additional text linesare available.</P><DT><B><CODE>a2.hi.tgi</CODE></B><DD><P>This driver was written by Stefan Haubenthal. It features a resolution of280&times;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 theApple&nbsp;][ language card. The driver was contributed byStefan Haubenthal.</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 ofthe Apple&nbsp;][.</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 driversdoes 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&nbsp;][.</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>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?