Change bold code snippets to inline code blocks
This commit is contained in:
parent
f658bfbb40
commit
3c76d884ef
185 changed files with 1772 additions and 1772 deletions
6
34-05.md
6
34-05.md
|
|
@ -97,13 +97,13 @@ loading the DAC does, so it should ideally be performed during vertical
|
|||
blanking.
|
||||
|
||||
The DAC can also be read by way of the BIOS in either of two ways.
|
||||
**INT** 10H, function 10H (AH=10H), subfunction 15H (AL=15H) reads out a
|
||||
`INT` 10H, function 10H (AH=10H), subfunction 15H (AL=15H) reads out a
|
||||
single DAC location, specified by BX; this function returns the RGB
|
||||
triplet stored in the specified location with the red component in the
|
||||
lower 6 bits of DH, the green component in the lower 6 bits of CH, and
|
||||
the blue component in the lower 6 bits of CL.
|
||||
|
||||
**INT** 10H, function 10H (AH=10H), subfunction 17H (AL=17H) reads out a
|
||||
`INT` 10H, function 10H (AH=10H), subfunction 17H (AL=17H) reads out a
|
||||
block of DAC locations of length CX, starting with the location
|
||||
specified by BX. ES:DX must point to the buffer in which the RGB values
|
||||
from the specified block of DAC locations are to be stored. The form of
|
||||
|
|
@ -114,7 +114,7 @@ load a block of registers.
|
|||
Listing 34.1 illustrates reading the DAC both through the BIOS
|
||||
block-read function and directly, with the direct-read code capable of
|
||||
conditionally assembling to either guard against interrupts or not and
|
||||
to use **REP INSB** or not. As you can see, reading the DAC settings is
|
||||
to use `REP INSB` or not. As you can see, reading the DAC settings is
|
||||
very much symmetric with setting the DAC.
|
||||
|
||||
#### Cycling Down {#Heading12}
|
||||
|
|
|
|||
Loading…
Reference in a new issue