?? atari-4.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><HTML><HEAD> <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20"> <TITLE>Atari specific information for cc65: Platform specific header files</TITLE> <LINK HREF="atari-5.html" REL=next> <LINK HREF="atari-3.html" REL=previous> <LINK HREF="atari.html#toc4" REL=contents></HEAD><BODY><A HREF="atari-5.html">Next</A><A HREF="atari-3.html">Previous</A><A HREF="atari.html#toc4">Contents</A><HR><H2><A NAME="s4">4.</A> <A HREF="atari.html#toc4">Platform specific header files</A></H2><P>Programs containing Atari specific code may use the <CODE>atari.h</CODE>header file.</P><H2><A NAME="ss4.1">4.1</A> <A HREF="atari.html#toc4.1">Atari specific functions</A></H2><P>The functions listed below are special for the Atari. See the <A HREF="funcref.html">function reference</A> for declaration and usage.</P><P><UL><LI>_gtia_mkcolor</LI><LI>get_ostype</LI><LI>get_tv</LI><LI>getcolor</LI><LI>getdefdev</LI><LI>graphics</LI><LI>rest_vecs</LI><LI>save_vecs</LI><LI>scroll</LI><LI>setcolor</LI><LI>setcolor_low</LI></UL></P><H2><A NAME="ss4.2">4.2</A> <A HREF="atari.html#toc4.2">Hardware access</A></H2><P>The following pseudo variables declared in the <CODE>atari.h</CODE> headerfile do allow access to hardware located in the address space. Somevariables are structures, accessing the struct fields will access thechip registers.</P><P><DL><DT><B><CODE>GTIA_READ</CODE> and <CODE>GTIA_WRITE</CODE></B><DD><P>The <CODE>GTIA_READ</CODE> structure allows read access to the GTIA. The<CODE>GTIA_WRITE</CODE> structure allows write access to the GTIA.See the <CODE>_gtia.h</CODE> header file located in the include directoryfor the declaration of the structure.</P><DT><B><CODE>POKEY_READ</CODE> and <CODE>POKEY_WRITE</CODE></B><DD><P>The <CODE>POKEY_READ</CODE> structure allows read access to the POKEY. The<CODE>POKEY_WRITE</CODE> structure allows write access to the POKEY.See the <CODE>_pokey.h</CODE> header file located in the include directoryfor the declaration of the structure.</P><DT><B><CODE>ANTIC</CODE></B><DD><P>The <CODE>ANTIC</CODE> structure allows read access to the ANTIC.See the <CODE>_antic.h</CODE> header file located in the include directoryfor the declaration of the structure.</P><DT><B><CODE>PIA</CODE></B><DD><P>The <CODE>PIA</CODE> structure allows read access to the PIA 6520.See the <CODE>_pia.h</CODE> header file located in the include directoryfor the declaration of the structure.</P></DL></P><HR><A HREF="atari-5.html">Next</A><A HREF="atari-3.html">Previous</A><A HREF="atari.html#toc4">Contents</A></BODY></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -