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,12 +37,12 @@
</CENTER>
<P><BR></P>
<H3><A NAME="Heading5"></A><FONT COLOR="#000077">Overscan</FONT></H3>
<P>While we&#146;re at it, I&#146;m going to touch on overscan. Overscan is the color of the border of the display, the rectangular area around the edge of the monitor that&#146;s outside the region displaying active video data but inside the blanking area. The overscan (or border) color can be programmed to any of the 64 possible colors by either setting Attribute Controller register 11H directly or calling video function 10H, subfunction 1.
<P>While we&rsquo;re at it, I&rsquo;m going to touch on overscan. Overscan is the color of the border of the display, the rectangular area around the edge of the monitor that&rsquo;s outside the region displaying active video data but inside the blanking area. The overscan (or border) color can be programmed to any of the 64 possible colors by either setting Attribute Controller register 11H directly or calling video function 10H, subfunction 1.
</P>
<TABLE WIDTH="100%"><TD WIDTH="5%" VALIGN="TOP"><IMG SRC="images/i.jpg"><TD WIDTH="95%"><SMALL><I>On ECD-compatible monitors, however, there&#146;s too little scan time to display a proper border when the EGA is in 350-scan-line mode, so overscan should always be 0 (black) unless you&#146;re in 200-scanmode. Note, though, that a VGA can easily display a border on a VGA-compatible monitor, and VGAs are in fact programmed at mode set for an 8-pixel-wide border in all modes; all you need do is set the overscan color on any VGA to see the border.</I></SMALL>
<TABLE WIDTH="100%"><TD WIDTH="5%" VALIGN="TOP"><IMG SRC="images/i.jpg"><TD WIDTH="95%"><SMALL><I>On ECD-compatible monitors, however, there&rsquo;s too little scan time to display a proper border when the EGA is in 350-scan-line mode, so overscan should always be 0 (black) unless you&rsquo;re in 200-scanmode. Note, though, that a VGA can easily display a border on a VGA-compatible monitor, and VGAs are in fact programmed at mode set for an 8-pixel-wide border in all modes; all you need do is set the overscan color on any VGA to see the border.</I></SMALL>
</TABLE>
<H3><A NAME="Heading6"></A><FONT COLOR="#000077">A Bonus Blanker</FONT></H3>
<P>An interesting bonus: The Attribute Controller provides a very convenient way to blank the screen, in the form of the aforementioned bit 5 of the Attribute Controller Index register (at address 3C0H after the Input Status 1 register&#151;3DAH in color, 3BAH in monochrome&#151;has been read and on every other write to 3C0H thereafter). Whenever bit 5 of the AC Index register is 0, video data is cut off, effectively blanking the screen. Setting bit 5 of the AC Index back to 1 restores video data immediately. Listing 29.4 illustrates this simple but effective form of screen blanking.
<P>An interesting bonus: The Attribute Controller provides a very convenient way to blank the screen, in the form of the aforementioned bit 5 of the Attribute Controller Index register (at address 3C0H after the Input Status 1 register&mdash;3DAH in color, 3BAH in monochrome&mdash;has been read and on every other write to 3C0H thereafter). Whenever bit 5 of the AC Index register is 0, video data is cut off, effectively blanking the screen. Setting bit 5 of the AC Index back to 1 restores video data immediately. Listing 29.4 illustrates this simple but effective form of screen blanking.
</P>
<P><B>LISTING 29.4 L29-4.ASM</B></P>
<!-- CODE //-->
@ -61,16 +61,16 @@ WAIT_KEY macro
int 21h
endm
;
stack segment para stack &#145;STACK&#146;
stack segment para stack &lsquo;STACK&rsquo;
db512 dup (?)
stack ends
;
Data segment word &#145;DATA&#146;
SampleText db &#145;This is bit-mapped text, drawn in hi-res &#146;
db &#145;EGA graphics mode 10h.&#146;, 0dh, 0ah, 0ah
db &#145;Press any key to blank the screen, then &#146;
db &#145;any key to unblank it,&#146;, 0dh, 0ah
db &#145;then any key to end.$&#146;
Data segment word &lsquo;DATA&rsquo;
SampleText db &lsquo;This is bit-mapped text, drawn in hi-res &rsquo;
db &lsquo;EGA graphics mode 10h.&rsquo;, 0dh, 0ah, 0ah
db &lsquo;Press any key to blank the screen, then &rsquo;
db &lsquo;any key to unblank it,&rsquo;, 0dh, 0ah
db &lsquo;then any key to end.$&rsquo;
Data ends
;
Code segment
@ -85,7 +85,7 @@ Start proc near
; hi-res graphics mode
int 10h ;BIOS video interrupt
;
; Put up some text, so the screen isn&#146;t empty.
; Put up some text, so the screen isn&rsquo;t empty.
;
mov ah,9 ;DOS print string function
mov dx,offset SampleText