⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 video_viewer.html

📁 一个不出名的GBA模拟器
💻 HTML
字号:
<HTML>
<HEAD>
<TITLE>Mappy VM Help - Video Viewer</TITLE>
<META NAME="Author" CONTENT="Michael Noland">
<META NAME="Copyright" CONTENT="(C) 2001-2003 Bottled Light, Inc.">
</HEAD>
<BODY>

<P>
<H1>Video Viewer (VRAM viewer)</H1>
</P>

<P>
The Video Viewer is used to view VRAM in a number of different formats, including a Tile Map tool suitable for modes 0-2, a Framebuffer tool for 3-5, and a Layers tool for any mode.
</P>

<HR><!------------------------------------------------------------------------->

<H3>Tile Map Viewer</H3>

<P>
The tile map viewer is used to view VRAM as either a <A HREF="../sdk/video.html#text">text</A> or <A HREF="../sdk/video.html#rot">rot/scale</A> tile map.
</P>

<P ALIGN="CENTER">
<IMG SRC="images/video_viewer_1.png">
<BR><EM>The tile map viewer<BR>
Image from fr018 by Farbrausch, which placed #1 in the <A HREF="http://woest.scene.org/">Woest '02</A> compo.</EM>
</P>

<P>
<UL>
<LI>The setup is the same as programatically changing a <CODE><A HREF="../sdk/video.html#bgxcr">BG<EM>x</EM>_CR</A></CODE> register.</LI>
<LI>The <EM>Load</EM> and <EM>Save</EM> buttons below the <EM>Transfer Settings</EM> dropdown are used to transfer the constructed halfword to a <CODE><A HREF="../sdk/video.html#bgxcr">BG<EM>x</EM>_CR</A></CODE> register.</LI>
</UL>
</P>

<HR><!------------------------------------------------------------------------->

<H3>Tile Viewers</H3>

<P>
These viewers can be used to view VRAM as a mosaic of tiles.  The Tile viewer has a <EM>Tileset location</EM> dropdown to specify which 16 KB to display, and the Sprite viewer displays the entire upper 32 KB of VRAM.
</P>

<P ALIGN="CENTER">
<IMG SRC="images/video_viewer_2.png">
<BR><EM>The background tile viewer</EM>
</P>

<P ALIGN="CENTER">
<IMG SRC="images/video_viewer_3.png">
<BR><EM>The sprite tile viewer</EM><BR><BR>
<EM>Both images are from Simonchu by Jagos, Jua, FlanGordo, and doh, which placed #5 in the 2002 <A HREF="http://gbadev.org">gbadev.org</A> compo.</EM>
</P>

<P>
Common to both tools is a <EM>Color Mode</EM> selector.  In 16 color mode, the <EM>Palette Base</EM> scrollbar is available to choose the high 4 bits of the palette index for each pixel.
</P>


<HR><!------------------------------------------------------------------------->

<H3>The Framebuffer Viewer</H3>

<P>
This can be used to view VRAM as a framebuffer, and is useful in modes 3-5.  In mode 3, there is only one framebuffer, but in 4 and 5, there are two.
</P>

<P ALIGN="CENTER">
<IMG SRC="images/video_viewer_4.png">
<BR><EM>The framebuffer viewer<BR>
Image from mode4.bin by Dead-Body.</EM>
</P>

<P>
<STRONG>Warning</STRONG>: <EM>The framebuffer viewer will render as if <CODE>A=D=1</CODE>, and <CODE>B=C=0</CODE>.  Thus, rot/scale and tweaked layers will not display correctly.</EM>
</P>


<HR><!------------------------------------------------------------------------->

<H3>The Layers Viewer</H3>

<P>
The layers page is used to view what a rendered screen would look like if the enable bits in the <CODE><A HREF="../sdk/video.html#dispcr">DISP_CR</A></CODE> register were different.  A layer is any of the four backgrounds or sprites, for more information see the <A HREF="../sdk/video.html#layers">Video</A> portion of the SDK.
</P>

<P ALIGN="CENTER">
<IMG SRC="images/video_viewer_5.png">
<BR><EM>The layer viewer<BR>
Image from Torben's Marvellous Adventure by Jimmy M, Thanius, Erik G, and Dan H, which placed #19 in the 2002 <A HREF="http://gbadev.org">gbadev.org</A> compo.</EM>
</P>

<P>
This tool can be used to:
<UL>
<LI>View problems in a layer partially obscured by other items.</LI>
<LI>View very old demos (which did not explicitly enable any backgrounds).</LI>
<LI>To take a look 'under the hood' and observe other demos in action.</LI>
<LI>Identify which layer produced a particular pixel (click anywhere in the viewing area).  The text in the Layer Inspector shows the position of the click, the top layer at that position, and the color of the pixel there.</LI>
</UL>
</P>

<P>
The <EM>Load</EM> button makes the enabled layers match the bits in <CODE><A HREF="../sdk/video.html#dispcr">DISP_CR</A></CODE>, and the <EM>Save</EM> button reverses the process, altering the <CODE><A HREF="../sdk/video.html#dispcr">DISP_CR</A></CODE> register permenantly.
</P>

<P>
<STRONG>Warning</STRONG>: <EM>The layer viewer is not a perfect match for the main rendering process.  Any <A HREF="../sdk/video.html#rasterfx">Raster effects</A> will not display correctly, and rot/scale backgrounds will not rotate; they will display as if <CODE>A=D=1</CODE>, and <CODE>B=C=0</CODE>.</EM>
</P>

<HR><!------------------------------------------------------------------------->

<H3>Common Tools</H3>

<P ALIGN="CENTER">
<IMG SRC="images/video_viewer_0.png">
<BR><EM>Common to all viewers</EM>
</P>

<P>
<UL>
<LI>The magnification slider is used to change the zoom factor for the display on the right-hand side of the viewer.</LI>
<LI>The <EM>Save to file...</EM> button prompts for a filename to save the display to.</LI>
<LI>The <EM>Copy to clipboard</EM> button copies the display to the clipboard.</LI>
</UL>
</P>

<HR><!------------------------------------------------------------------------->

<P ALIGN="center">Copyright &copy; 2001 to 2003, Bottled Light, Inc.</P>

</BODY>
</HTML>

⌨️ 快捷键说明

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