Convert notes into blockquotes

This commit is contained in:
James Gregory 2013-12-31 11:06:31 +11:00
commit 8ed9dea394
105 changed files with 884 additions and 411 deletions

View file

@ -107,9 +107,16 @@ set/reset color:
mov es,dx
mov byte ptr es:[di],0ffh
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
![](images/i.jpg) *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.*
------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> ![](images/i.jpg)
> 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