Convert notes into blockquotes
This commit is contained in:
parent
832fb15e54
commit
8ed9dea394
105 changed files with 884 additions and 411 deletions
18
04-10.md
18
04-10.md
|
|
@ -10,9 +10,14 @@ chapter: '04'
|
|||
pages: 106-109
|
||||
---
|
||||
|
||||
------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
 *A line-drawing subroutine, which executes perhaps a dozen instructions for each display memory access, generally loses less performance to the display adapter cycle-eater than does a block-copy or scrolling subroutine that uses **REP MOVS** instructions. Scaled and three-dimensional graphics, which spend a great deal of time performing calculations (often using very slow floating-point arithmetic), tend to suffer less.*
|
||||
------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
> 
|
||||
> A line-drawing subroutine, which executes perhaps a dozen instructions
|
||||
> for each display memory access, generally loses less performance to the
|
||||
> display adapter cycle-eater than does a block-copy or scrolling
|
||||
> subroutine that uses **REP MOVS** instructions. Scaled and
|
||||
> three-dimensional graphics, which spend a great deal of time performing
|
||||
> calculations (often using very slow floating-point arithmetic), tend to
|
||||
> suffer less.
|
||||
|
||||
In addition, code that accesses display memory infrequently tends to
|
||||
suffer only about half of the maximum display memory wait states,
|
||||
|
|
@ -48,9 +53,10 @@ and alter the rest, and write the byte back to display memory. Half as
|
|||
many display memory accesses means half as many display memory wait
|
||||
states.
|
||||
|
||||
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
 *Moreover, 486s and Pentiums, as well as recent Super VGAs, employ write-caching schemes that make display memory writes considerably faster than display memory reads.*
|
||||
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
> 
|
||||
> Moreover, 486s and Pentiums, as well as recent Super VGAs, employ
|
||||
> write-caching schemes that make display memory writes considerably
|
||||
> faster than display memory reads.
|
||||
|
||||
Along the same line, the display adapter cycle-eater makes the popular
|
||||
exclusive-OR animation technique, which requires paired reads and writes
|
||||
|
|
|
|||
Loading…
Reference in a new issue