Convert notes into blockquotes
This commit is contained in:
parent
832fb15e54
commit
8ed9dea394
105 changed files with 884 additions and 411 deletions
13
44-04.md
13
44-04.md
|
|
@ -107,9 +107,16 @@ set/reset color:
|
|||
mov es,dx
|
||||
mov byte ptr es:[di],0ffh
|
||||
|
||||
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
 *If you're familiar with VGA programming, you're no doubt aware that everything that can be done with write mode 3 can also be accomplished in write mode 0 or write mode 2 by using the Bit Mask register. However, setting the Bit Mask register requires at least one **OUT** per byte written, in addition to the read and write of display memory, and **OUT**s are often slower than display memory accesses, especially on 386s and 486s. One of the great virtues of write mode 3 is that it requires virtually no **OUT**s and is therefore substantially faster for masking than the other write modes.*
|
||||
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
> 
|
||||
> If you're familiar with VGA programming, you're no doubt aware that
|
||||
> everything that can be done with write mode 3 can also be accomplished
|
||||
> in write mode 0 or write mode 2 by using the Bit Mask register. However,
|
||||
> setting the Bit Mask register requires at least one **OUT** per byte
|
||||
> written, in addition to the read and write of display memory, and
|
||||
> **OUT**s are often slower than display memory accesses, especially on
|
||||
> 386s and 486s. One of the great virtues of write mode 3 is that it
|
||||
> requires virtually no **OUT**s and is therefore substantially faster for
|
||||
> masking than the other write modes.
|
||||
|
||||
In short, write mode 3 is a good choice for single-color drawing that
|
||||
modifies individual pixels within display memory bytes. Not
|
||||
|
|
|
|||
Loading…
Reference in a new issue