Normal quotes
This commit is contained in:
parent
5e10794a24
commit
18011c595a
352 changed files with 6040 additions and 6040 deletions
22
29-05.md
22
29-05.md
|
|
@ -4,16 +4,16 @@
|
|||
|
||||
### Overscan {#Heading5}
|
||||
|
||||
While we’re at it, I’m going to touch on overscan. Overscan is the color
|
||||
While we're at it, I'm going to touch on overscan. Overscan is the color
|
||||
of the border of the display, the rectangular area around the edge of
|
||||
the monitor that’s outside the region displaying active video data but
|
||||
the monitor that's outside the region displaying active video data but
|
||||
inside the blanking area. The overscan (or border) color can be
|
||||
programmed to any of the 64 possible colors by either setting Attribute
|
||||
Controller register 11H directly or calling video function 10H,
|
||||
subfunction 1.
|
||||
|
||||
------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
 *On ECD-compatible monitors, however, there’s too little scan time to display a proper border when the EGA is in 350-scan-line mode, so overscan should always be 0 (black) unless you’re in 200-scanmode. Note, though, that a VGA can easily display a border on a VGA-compatible monitor, and VGAs are in fact programmed at mode set for an 8-pixel-wide border in all modes; all you need do is set the overscan color on any VGA to see the border.*
|
||||
 *On ECD-compatible monitors, however, there's too little scan time to display a proper border when the EGA is in 350-scan-line mode, so overscan should always be 0 (black) unless you're in 200-scanmode. Note, though, that a VGA can easily display a border on a VGA-compatible monitor, and VGAs are in fact programmed at mode set for an 8-pixel-wide border in all modes; all you need do is set the overscan color on any VGA to see the border.*
|
||||
------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
### A Bonus Blanker {#Heading6}
|
||||
|
|
@ -44,16 +44,16 @@ screen blanking.
|
|||
int 21h
|
||||
endm
|
||||
;
|
||||
stack segment para stack ‘STACK’
|
||||
stack segment para stack ‘STACK'
|
||||
db512 dup (?)
|
||||
stack ends
|
||||
;
|
||||
Data segment word ‘DATA’
|
||||
SampleText db ‘This is bit-mapped text, drawn in hi-res ’
|
||||
db ‘EGA graphics mode 10h.’, 0dh, 0ah, 0ah
|
||||
db ‘Press any key to blank the screen, then ’
|
||||
db ‘any key to unblank it,’, 0dh, 0ah
|
||||
db ‘then any key to end.$’
|
||||
Data segment word ‘DATA'
|
||||
SampleText db ‘This is bit-mapped text, drawn in hi-res '
|
||||
db ‘EGA graphics mode 10h.', 0dh, 0ah, 0ah
|
||||
db ‘Press any key to blank the screen, then '
|
||||
db ‘any key to unblank it,', 0dh, 0ah
|
||||
db ‘then any key to end.$'
|
||||
Data ends
|
||||
;
|
||||
Code segment
|
||||
|
|
@ -68,7 +68,7 @@ screen blanking.
|
|||
; hi-res graphics mode
|
||||
int 10h ;BIOS video interrupt
|
||||
;
|
||||
; Put up some text, so the screen isn’t empty.
|
||||
; Put up some text, so the screen isn't empty.
|
||||
;
|
||||
mov ah,9 ;DOS print string function
|
||||
mov dx,offset SampleText
|
||||
|
|
|
|||
Loading…
Reference in a new issue