📄 video.html
字号:
</TD></TR>
<TR ALIGN="CENTER"><TD><EM>Layer BG2</EM></TD><TD><EM>Layer BG3</EM></TD></TR>
</TABLE>
<H3>Details</H3>
<P>
<UL>
<LI>Each bit in IF indicates that an IRQ enabled with the corresponding bit in IE has occured.</LI>
<LI>The hardware never clears the IF register, this must be done by the user's interrupt handler writing back the bits that it has acknowledged (writing a zero will not alter the bit in IF, a 1 must be written to reset bits in IF).</LI>
</UL>
</P>
<HR><!------------------------------------------------------------------------->
<H2>Windows</H2>
<H3>Window Inclusion Registers</H3>
<A NAME="reg48"><A NAME="reg4A">
<TABLE BORDER="1" SUMMARY="Window Registers">
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>Offset</TD><TD>Name</TD><TD>Type</TD>
<TD>F</TD><TD>E</TD><TD>D</TD><TD>C</TD><TD>B</TD><TD>A</TD><TD>9</TD><TD>8</TD>
<TD>7</TD><TD>6</TD><TD>5</TD><TD>4</TD><TD>3</TD><TD>2</TD><TD>1</TD><TD>0</TD>
</TR>
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>$048</TD>
<TD>WIN_IN</TD>
<TD BGCOLOR="#C0FF70">Read Write</TD>
<TD BGCOLOR="#000000" COLSPAN="2"> </TD>
<TD BGCOLOR="#C0FF70">Blends in Win1</TD>
<TD BGCOLOR="#C0FF70">Sprites in Win1</TD>
<TD BGCOLOR="#C0FF70">BG3 in Win1</TD>
<TD BGCOLOR="#C0FF70">BG2 in Win1</TD>
<TD BGCOLOR="#C0FF70">BG1 in Win1</TD>
<TD BGCOLOR="#C0FF70">BG0 in Win1</TD>
<TD BGCOLOR="#000000" COLSPAN="2"> </TD>
<TD BGCOLOR="#C0FF70">Blends in Win0</TD>
<TD BGCOLOR="#C0FF70">Sprites in Win0</TD>
<TD BGCOLOR="#C0FF70">BG3 in Win0</TD>
<TD BGCOLOR="#C0FF70">BG2 in Win0</TD>
<TD BGCOLOR="#C0FF70">BG1 in Win0</TD>
<TD BGCOLOR="#C0FF70">BG0 in Win0</TD>
</TR>
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>$04A</TD>
<TD>WIN_OUT</TD>
<TD BGCOLOR="#C0FF70">Read Write</TD>
<TD BGCOLOR="#000000" COLSPAN="2"> </TD>
<TD BGCOLOR="#C0FF70">Blends in Sprite Win</TD>
<TD BGCOLOR="#C0FF70">Sprites in Sprite Win</TD>
<TD BGCOLOR="#C0FF70">BG3 in Sprite Win</TD>
<TD BGCOLOR="#C0FF70">BG2 in Sprite Win</TD>
<TD BGCOLOR="#C0FF70">BG1 in Sprite Win</TD>
<TD BGCOLOR="#C0FF70">BG0 in Sprite Win</TD>
<TD BGCOLOR="#000000" COLSPAN="2"> </TD>
<TD BGCOLOR="#C0FF70">Blends outside</TD>
<TD BGCOLOR="#C0FF70">Sprites outside</TD>
<TD BGCOLOR="#C0FF70">BG3 outside</TD>
<TD BGCOLOR="#C0FF70">BG2 outside</TD>
<TD BGCOLOR="#C0FF70">BG1 outside</TD>
<TD BGCOLOR="#C0FF70">BG0 outside</TD>
</TR>
</TABLE>
<H3>Window Boundary Registers</H3>
<A NAME="reg40"><A NAME="reg42"><A NAME="reg44"><A NAME="reg46">
<TABLE BORDER="1" SUMMARY="Window Registers">
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>Offset</TD><TD>Name</TD><TD>Type</TD>
<TD>F</TD><TD>E</TD><TD>D</TD><TD>C</TD><TD>B</TD><TD>A</TD><TD>9</TD><TD>8</TD>
<TD>7</TD><TD>6</TD><TD>5</TD><TD>4</TD><TD>3</TD><TD>2</TD><TD>1</TD><TD>0</TD>
</TR>
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>$040</TD>
<TD>WIN0_H</TD>
<TD BGCOLOR="#FFC0C0">Write Only</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="8">Left (x0)</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="8">Right (x1)</TD>
</TR>
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>$042</TD>
<TD>WIN1_H</TD>
<TD BGCOLOR="#FFC0C0">Write Only</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="8">Left (x0)</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="8">Right (x1)</TD>
</TR>
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>$044</TD>
<TD>WIN0_V</TD>
<TD BGCOLOR="#FFC0C0">Write Only</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="8">Top (y0)</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="8">Bottom (y1)</TD>
</TR>
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>$046</TD>
<TD>WIN1_V</TD>
<TD BGCOLOR="#FFC0C0">Write Only</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="8">Top (y0)</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="8">Bottom (y1)</TD>
</TR>
</TABLE>
<H3>Details</H3>
<P>
<UL>
<LI>Each bit in IF indicates that an IRQ enabled with the corresponding bit in IE has occured.</LI>
<LI>The hardware never clears the IF register, this must be done by the user's interrupt handler writing back the bits that it has acknowledged (writing a zero will not alter the bit in IF, a 1 must be written to reset bits in IF).</LI>
</UL>
</P>
<HR><!------------------------------------------------------------------------->
<H2>Mosaic</H2>
<A NAME="reg4C">
<TABLE BORDER="1" SUMMARY="Video Registers">
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>Offset</TD><TD>Name</TD><TD>Type</TD>
<TD>F</TD><TD>E</TD><TD>D</TD><TD>C</TD><TD>B</TD><TD>A</TD><TD>9</TD><TD>8</TD>
<TD>7</TD><TD>6</TD><TD>5</TD><TD>4</TD><TD>3</TD><TD>2</TD><TD>1</TD><TD>0</TD>
</TR>
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>$04C</TD>
<TD>MOSAIC</TD>
<TD BGCOLOR="#FFC0C0">Write Only</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="4">Sprite Y Level</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="4">Sprite X Level</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="4">Background Y Level</TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="4">Background X Level</TD>
</TR>
</TABLE>
<H3>Details</H3>
<P>
<UL>
<LI>Each bit in IF indicates that an IRQ enabled with the corresponding bit in IE has occured.</LI>
<LI>The hardware never clears the IF register, this must be done by the user's interrupt handler writing back the bits that it has acknowledged (writing a zero will not alter the bit in IF, a 1 must be written to reset bits in IF).</LI>
</UL>
</P>
<HR><!------------------------------------------------------------------------->
<A NAME="reg50">
<H2>Blending Control Register (<CODE>BLEND_CR</CODE>)</H2>
<TABLE BORDER="1" SUMMARY="Video Registers">
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>Offset</TD><TD>Name</TD><TD>Type</TD>
<TD>F</TD><TD>E</TD><TD>D</TD><TD>C</TD><TD>B</TD><TD>A</TD><TD>9</TD><TD>8</TD>
<TD>7</TD><TD>6</TD><TD>5</TD><TD>4</TD><TD>3</TD><TD>2</TD><TD>1</TD><TD>0</TD>
</TR>
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>$050</TD>
<TD>BLEND_CR</TD>
<TD BGCOLOR="#C0FF70">Read Write</TD>
<TD BGCOLOR="#C0FF70">-</TD>
<TD BGCOLOR="#C0FF70">-</TD>
<TD BGCOLOR="#C0FF70">reserved</TD>
<TD BGCOLOR="#C0FF70">Blend Sprites in alpha</TD>
<TD BGCOLOR="#C0FF70">Blend BG3 in alpha</TD>
<TD BGCOLOR="#C0FF70">Blend BG2 in alpha</TD>
<TD BGCOLOR="#C0FF70">Blend BG1 in alpha</TD>
<TD BGCOLOR="#C0FF70">Blend BG0 in alpha</TD>
<TD BGCOLOR="#C0FF70" COLSPAN="2">Blend Mode</TD>
<TD BGCOLOR="#C0FF70">reserved</TD>
<TD BGCOLOR="#C0FF70">Blend Sprites</TD>
<TD BGCOLOR="#C0FF70">Blend BG3</TD>
<TD BGCOLOR="#C0FF70">Blend BG2</TD>
<TD BGCOLOR="#C0FF70">Blend BG1</TD>
<TD BGCOLOR="#C0FF70">Blend BG0</TD>
</TR>
</TABLE>
<A NAME="reg52"><A NAME="reg54">
<H2>Blending Coefficients (<CODE>BLEND_AB</CODE> and <CODE>BLEND_Y</CODE>)</H2>
<TABLE BORDER="1" SUMMARY="Video Registers">
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>Offset</TD><TD>Name</TD><TD>Type</TD>
<TD>F</TD><TD>E</TD><TD>D</TD><TD>C</TD><TD>B</TD><TD>A</TD><TD>9</TD><TD>8</TD>
<TD>7</TD><TD>6</TD><TD>5</TD><TD>4</TD><TD>3</TD><TD>2</TD><TD>1</TD><TD>0</TD>
</TR>
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>$052</TD>
<TD>BLEND_AB</TD>
<TD BGCOLOR="#FFC0C0">Write Only</TD>
<TD BGCOLOR="#000000" COLSPAN="3"> </TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="5">Coefficient B</TD>
<TD BGCOLOR="#000000" COLSPAN="3"> </TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="5">Coefficient A</TD>
</TR>
<TR ALIGN="CENTER" BGCOLOR="#FFD050">
<TD>$054</TD>
<TD>BLEND_Y</TD>
<TD BGCOLOR="#FFC0C0">Write Only</TD>
<TD BGCOLOR="#000000" COLSPAN="11"> </TD>
<TD BGCOLOR="#FFC0C0" COLSPAN="5">Coefficient Y</TD>
</TR>
</TABLE>
<H3>Details</H3>
<P>
<UL>
<LI>Each bit in IF indicates that an IRQ enabled with the corresponding bit in IE has occured.</LI>
<LI>The hardware never clears the IF register, this must be done by the user's interrupt handler writing back the bits that it has acknowledged (writing a zero will not alter the bit in IF, a 1 must be written to reset bits in IF).</LI>
</UL>
</P>
<HR><!------------------------------------------------------------------------->
<HR><!------------------------------------------------------------------------->
<H3>Details</H3>
<P>
<UL>
<LI>Each bit in IF indicates that an IRQ enabled with the corresponding bit in IE has occured.</LI>
<LI>The hardware never clears the IF register, this must be done by the user's interrupt handler writing back the bits that it has acknowledged (writing a zero will not alter the bit in IF, a 1 must be written to reset bits in IF).</LI>
</UL>
</P>
<P>
<H3>Uses and examples</H3>
<UL>
<LI>writeme fixme todo findme</LI>
</UL>
</P>
<BLOCKQUOTE>
<EM>Example: A very simple interrupt handler.</EM>
<HR><TABLE BORDER="1" BGCOLOR="#FFFFFF"><TR><TD><PRE>
// have occured by looking at the IF register.
</PRE></TD></TR></TABLE></BLOCKQUOTE>
<HR><!------------------------------------------------------------------------->
<P ALIGN="center">Copyright © 2001 to 2002, Bottled Light, Inc.</P>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -