Replace invalid characters with HTML entities

— with —
’ with ’
+ with +
× with x
ç with ç
“ with “
” with ”
‘ with ‘
• with •
– with -
µ with µ
† with †
Fix C++
θ with θ
Yen symbol instead of times
Fix broken apos
Bullet again
E-circumflex
This commit is contained in:
James Gregory 2013-12-30 12:50:32 +11:00
commit 500e7f5654
353 changed files with 5091 additions and 5091 deletions

View file

@ -37,9 +37,9 @@
</CENTER>
<P><BR></P>
<H3><A NAME="Heading7"></A><FONT COLOR="#000077">A Test Program for Color Cycling</FONT></H3>
<P>Anyway, the choice of how to load the DAC is yours. Given that I&#146;m not providing you with any hard-and-fast rules (mainly because there don&#146;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&#146;s exactly what you&#146;ll find in Listing 34.1.
<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&#146;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&#146;s the number of locations we can load without problems that we&#146;re interested in.)</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>
<P><B>LISTING 34.1 L34-1.ASM</B></P>
<!-- CODE //-->
<PRE>