Change HTML4 entities to HTML5
< to < > to > & to &
This commit is contained in:
parent
56a4baa60e
commit
b8e7ce7165
105 changed files with 1117 additions and 1117 deletions
30
39-02.html
30
39-02.html
|
|
@ -54,27 +54,27 @@
|
|||
<TD VALIGN="TOP" ALIGN="LEFT">11.69
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">5.80 seconds<BR>(50% of total)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">5.86<BR>(50%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.03<BR>(<1%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.03<BR>(<1%)
|
||||
<TR>
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">C floating point scan/memset drawing (Listing 39.1, compact model)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">6.64
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.49<BR>(7%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">6.11<BR>(92%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.04<BR>(<1%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.04<BR>(<1%)
|
||||
<TR>
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">C integer scan/memset drawing (Listing 39.1 & Listing 39.2, compact model)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">C integer scan/memset drawing (Listing 39.1 & Listing 39.2, compact model)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.60
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.49<BR>(82%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.07<BR>(12%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.04<BR>(7%)
|
||||
<TR>
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">C integer scan/ASM drawing (Listing 39.2 & Listing 39.3, small model)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">C integer scan/ASM drawing (Listing 39.2 & Listing 39.3, small model)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.45
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.36<BR>(80%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.06<BR>(13%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.03<BR>(7%)
|
||||
<TR>
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">ASM integer scan/ASM drawing (Listing 40.3 & Listing 40.4,small model)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">ASM integer scan/ASM drawing (Listing 40.3 & Listing 40.4,small model)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.42
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.36<BR>(86%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.03<BR>(7%)
|
||||
|
|
@ -82,13 +82,13 @@
|
|||
<TR>
|
||||
<TD VALIGN="TOP" ALIGN="LEFT" COLSPAN="5"><SMALL>Drawing to system memory</SMALL>
|
||||
<TR>
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">C integer scan/memset drawing (Listing 39.1 & Listing 39.2,compact model)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">C integer scan/memset drawing (Listing 39.1 & Listing 39.2,compact model)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.31
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.20<BR>(65%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.07<BR>(23%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.04<BR>(13%)
|
||||
<TR>
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">ASM integer scan/ASM drawing (Listing 39.3 & Listing 39.4,small model)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">ASM integer scan/ASM drawing (Listing 39.3 & Listing 39.4,small model)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.13
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.07<BR>(54%)
|
||||
<TD VALIGN="TOP" ALIGN="LEFT">0.03<BR>(23%)
|
||||
|
|
@ -113,8 +113,8 @@
|
|||
running in real mode or 286 protected mode.
|
||||
All C code tested with Borland C++. */
|
||||
|
||||
#include <string.h>
|
||||
#include <dos.h>
|
||||
#include <string.h>
|
||||
#include <dos.h>
|
||||
#include “polygon.h”
|
||||
|
||||
#define SCREEN_WIDTH 320
|
||||
|
|
@ -129,18 +129,18 @@ void DrawHorizontalLineList(struct HLineList * HLineListPtr,
|
|||
|
||||
/* Point to the start of the first scan line on which to draw */
|
||||
ScreenPtr = MK_FP(SCREEN_SEGMENT,
|
||||
HLineListPtr->YStart * SCREEN_WIDTH);
|
||||
HLineListPtr->YStart * SCREEN_WIDTH);
|
||||
|
||||
/* Point to the XStart/XEnd descriptor for the first (top)
|
||||
horizontal line */
|
||||
HLinePtr = HLineListPtr->HLinePtr;
|
||||
HLinePtr = HLineListPtr->HLinePtr;
|
||||
/* Draw each horizontal line in turn, starting with the top one and
|
||||
advancing one line each time */
|
||||
Length = HLineListPtr->Length;
|
||||
while (Length-- > 0) {
|
||||
Length = HLineListPtr->Length;
|
||||
while (Length-- > 0) {
|
||||
/* Draw the whole horizontal line if it has a positive width */
|
||||
if ((Width = HLinePtr->XEnd - HLinePtr->XStart + 1) > 0)
|
||||
memset(ScreenPtr + HLinePtr->XStart, Color, Width);
|
||||
if ((Width = HLinePtr->XEnd - HLinePtr->XStart + 1) > 0)
|
||||
memset(ScreenPtr + HLinePtr->XStart, Color, Width);
|
||||
HLinePtr++; /* point to next scan line X info */
|
||||
ScreenPtr += SCREEN_WIDTH; /* point to next scan line start */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue