Download Print this page

HP Vectra Technical Reference Manual page 59

Hide thumbs Also See for Vectra:

Advertisement

Programmers must exercise caution when setting video modes with both F10_SET_MODE (OH)
and F10---><SET_MODE (6F05H). Whenever F1 O---><SET_MODE is used to select one of the "HP
only" modes (8-15), F10---><SET_MODE (not F1 O_SET_MODE) must be used to return to one
of the industry standard modes (0-7). This "pairing" of function calls is necessary because
F1 O---><SET_MODE modifies an I/O port not normally affected by the industry standard modes.
F1 O_SET_MODE does not deal with this I/O port.
~
On Entry:
AX
=
F1 O---><SET_MODE (6F05H)
BL
=
Video mode
Data
Definition
OOH
40
x
25 Alphanumeric Black and White
01 H
40 X 25 Alphanumeric Color
02H
80
X
25 Alphanumeric Black and White
03H
80
X
25 Alphanumeric Color
04H
320
X
200 Graphics Color
05H
320
X
200 Graphics Black and White
06H
640
X
200 Graphics Black and White
07H
80
X
25 Only Valid for Monochrome Cards
08H
80
X
27 Alphanumeric Black and White
09H
80
X
27 Alphanumeric Color
OAH
40
X
27 Alphanumeric Black and White
OBH
40 X 27 Alphanumeric Color
OCH
Reserved
ODH
640
X
400 Graphics Black and White
OEH
320 X 400 Graphics Color
OFH
320
X
400 Graphics Black and White
On Exit:
No values returned.
Altered Registers:
AX, BL
Example:
MOV AX,Fl0-XSET_MODE
,. Call EX-BIOS function
,. Set mode (6F05H)
MOV BL,ODH
,. Select 640
X
400 line mode
INT
INT_VIDEO
,. Call video interrupt (10H)
50 Video

Advertisement

loading
Need help?

Need help?

Do you have a question about the Vectra and is the answer not in the manual?

Questions and answers