Remove colour attributes from body and strip most of the font tags out

This commit is contained in:
James Gregory 2013-12-30 13:57:02 +11:00
commit c1f88ddb41
362 changed files with 1632 additions and 1706 deletions

View file

@ -24,7 +24,7 @@
<!--CHAPTER=34//-->
<!--PAGES=643-648//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//--></HEAD><BODY LINK=#0000FF ALINK=#000099 VLINK=#0000FF BGCOLOR=#FFFFFF>
<!--UNASSIGNED2//--></HEAD><body>
<CENTER>
<TABLE BORDER>
@ -36,7 +36,7 @@
</TABLE>
</CENTER>
<P><BR></P>
<H3><A NAME="Heading7"></A><FONT COLOR="#000077">A Test Program for Color Cycling</FONT></H3>
<H3><A NAME="Heading7"></A>A Test Program for Color Cycling</H3>
<P>Anyway, the choice of how to load the DAC is yours. Given that I&rsquo;m not providing you with any hard-and-fast rules (mainly because there don&rsquo;t seem to be any), what you need is a tool so that you can experiment with various DAC-loading approaches for yourself, and that&rsquo;s exactly what you&rsquo;ll find in Listing 34.1.
</P>
<P>Listing 34.1 draws a band of vertical lines, each one pixel wide, across the screen. The attribute of each vertical line is one greater than that of the preceding line, so there&rsquo;s a smooth gradient of attributes from left to right. Once everything is set up, the program starts cycling the colors stored in however many DAC locations are specified by the <B>CYCLE_SIZE</B> equate; as many as all 256 DAC locations can be cycled. (Actually, <B>CYCLE_SIZE</B>-1 locations are cycled, because location 0 is kept constant in order to keep the background and border colors from changing, but <B>CYCLE_SIZE</B> locations are <I>loaded</I>, and it&rsquo;s the number of locations we can load without problems that we&rsquo;re interested in.)</P>
@ -307,7 +307,7 @@ endif;USE_BIOS
<hr width="90%" size="1" noshade>
<div align="center">
<font face="Verdana,sans-serif" size="1">Graphics Programming Black Book &copy; 2001 Michael Abrash</font>
Graphics Programming Black Book &copy; 2001 Michael Abrash
</div>
<!-- all of the reference materials (books) have the footer and subfoot reveresed -->
<!-- reference_subfoot = footer -->