home *** CD-ROM | disk | FTP | other *** search
- ..pgno01
- ..foot60A7-##
- ..head02L-----------------------------------------------------------------
- ..head04L-----------------------------------------------------------------
- ..head03AbvCurEmulation
- ■ Display Adapters [VGA]
-
- ■ Source Module Name b101234d.asm
-
- ■ Description
-
- Enables or disables cursor emulation for the currently active
- display. When cursor emulation is enabled, the ROM BIOS
- automatically remaps INT 10H Function 01H cursor starting scan
- and ending scan lines for the current character cell
- dimensions.
-
-
- ■ Summary
-
- Function bvCurEmulation( setting : Integer ) : Integer;
-
- Parameter Description
- --------- -------------------------------------------------
- setting 0 - enables emulation
- 1 - disable emulation
-
-
- ■ Function Return Value
-
- 12h - if function is supported.
- ..page
- ..head03AbvDefPalLoad
- ■ Display Adapters [MCGA] [VGA]
-
- ■ Source Module Name b101231d.asm
-
- ■ Description
-
- Enables or disables loading of a default palette when a video
- display mode is selected.
-
-
- ■ Summary
-
- Function bvDefPalLoad( setting : Integer ) : Integer;
-
- Parameter Description
- --------- -------------------------------------------------
- setting 0 - enables default palette loading
- 1 - disable default palette loading
-
-
- ■ Function Return Value
-
- 12h - if function is supported.
- ..page
- ..head03AbvGetBorder
- ■ Display Adapters [VGA]
-
- ■ Source Module Name b101008d.asm
-
- ■ Description
-
- Obtain current color of the border.
-
-
- ■ Summary
-
- Function bvGetBorder : Integer;
-
-
- ■ Function Return Value
-
- The attribute value of the border color.
- ..page
- ..head03AbvGetColorPgMode
- ■ Display Adapters [VGA]
-
- ■ Source Module Name b10101ad.asm
-
- ■ Description
-
- Gets paging mode for specified color registers and the current
- color page.
-
-
- ■ Summary
-
- Procedure bvGetColorPgMode( Var colorpg, pgmode : Integer );
-
-
- Parameter Description
- --------- -------------------------------------------------
- colorpg color page to get information on
- pgmode 00 - if 4 pages of 64 registers
- 01 - if 16 pages of 16 registers
-
-
- ■ See Also
-
- bvSetColorPgMode
- ..page
- ..head03AGetColorReg
- ■ Display Adapters [MCGA] [VGA]
-
- ■ Source Module Name b101015d.asm
-
- ■ Description
-
- Sets paging mode for color registers
-
-
- ■ Summary
-
- Procedure bvGetColorReg( colorreg : Integer;
- Var green : Integer;
- Var blue : Integer;
- Var red : Integer );
-
-
- Parameter Description
- --------- -------------------------------------------------
- colorreg color register
- green green color value
- blue blue color value
- red red color value
- ..page
- ..head03AbvGetColorRegBlk
- ■ Display Adapters [MCGA] [VGA]
-
- ■ Source Module Name b101017d.asm
-
- ■ Description
-
- Reads the set of red, green and blue colors associated with
- each set of color registers.
-
-
- ■ Summary
-
- Procedure bvGetColorRegBlk( startreg : Word;
- regcount : Integer;
- colortbl );
-
-
- Parameter Description
- --------- -------------------------------------------------
- startreg first color register
- regcount number of registers
- colortbl color table consists of 3 bytes for each register.
- Each group of 3 bytes will specify the red, green,
- and blue values, respectively for the associated
- register.
- ..page
- ..head03AbvGetConfigInfo
- ■ Display Adapters [EGA] [VGA]
-
- ■ Source Module Name b101210d.asm
-
- ■ Description
-
- Returns configuration information for the active video system.
-
-
- ■ Summary
-
- Procedure bvGetConfigInfo( Var dsptype : Integer;
- Var egamem : Integer;
- Var fbits : Integer;
- Var swset : Integer );
-
-
- Parameter Description
- --------- -------------------------------------------------
- dsptype 0 - color
- 1 - monochrome
- egamem 0 - 64K
- 1 - 128K
- 2 - 192K
- 3 - 256K
- fbits feature bits
- swset switch setting
-
-
- ■ Remarks
-
- The feature bits are set from input status register zero in
- response to an output on the specified feature control register
- bits:
-
- Feature Feature control Input Status
- Bit(s) Output Bit Bit
- ------- --------------- ------------
- 0 0 5
- 1 0 6
- 2 1 5
- 3 1 6
- 4-7 not used
-
- The bits in the switch settings byte indicate the state of the
- EGA's configuration DIP switch (1=off, 0=on).
-
- Bit Significance
- ----- -----------------------
- 0 configuration switch 1
- 1 configuration switch 2
- 2 configuration switch 3
- 3 configuration switch 4
- 4-7 not used
- ..page
- ..head03AbvGetCurPos
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100300d.asm
-
- ■ Description
-
- Returns the current position of the cusor on the display.
-
-
- ■ Summary
-
- Procedure bvGetCurPos( pg : Integer;
- Var row : Integer;
- Var col : Integer );
-
-
- Parameter Description
- --------- -------------------------------------------------
- pg page to get cursor position for
- row row (y coordinate)
- col col (x coordinate)
- ..page
- ..head03AbvGetCurType
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b1003x0d.asm
-
- ■ Description
-
- Returns starting and ending scan lines for the cursor in text
- modes.
-
-
- ■ Summary
-
- Procedure bvGetCurType( pg : Integer;
- Var stscan : Integer;
- Var spscan : Integer );
-
- Parameter Description
- --------- -------------------------------------------------
- pg page to get cursor position for
- stscan starting scan line for cursor
- spscan ending scan line for cursor
- ..page
- ..head03AbvGetFontInfo
- ■ Display Adapters [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101130d.asm
-
- ■ Description
-
- Returns a pointer to the character definition table for a font,
- and the bytes per character and rows for that font.
-
-
- ■ Summary
-
- Procedure bvGetFontInfo( fontcode : Integer;
- Var points : Word;
- Var scnrows : Integer;
- Var fonttbl );
-
-
- Parameter Description
- --------- -------------------------------------------------
- fontcode defines font table to retrieve information on
- points bytes per character
- scnrows rows per screen
- fonttbl address of font table requested
-
-
- ■ Remarks
-
- Font
- Code Description
- ---- ----------------------------------------------
- 00 current Int 1FH contents
- 01 current Int 43H contents
- 02 ROM 8x14 font (EGA, VGA only)
- 03 ROM 8x8 font (characters 00H-7FH)
- 04 ROM 8x8 font (characters 80H-FFH)
- 05 ROM alternate 9x14 font (EGA, VGA only)
- 06 ROM 8x16 font (MCGA, VGA only)
- 07 ROM alternate 9x16 font (VGA only)
- ..page
- ..head03AbvGetMode
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100f00d.asm
-
- ■ Description
-
- Return current display mode, active page and number of columns
- for the active display page.
-
-
- ■ Summary
-
- Procedure bvGetMode( Var mode, cols, pg : Integer );
-
- Parameter Description
- --------- -------------------------------------------------
- mode current display mode
- cols number of column on page
- pg active display page
- ..page
- ..head03AbvGetPalBorder
- ■ Display Adapters [VGA]
-
- ■ Source Module Name b101009d.asm
-
- ■ Description
-
- Obtain contents of all the palette registers and the color of
- the border.
-
-
- ■ Summary
-
- Procedure bvGetPalBorder( buf : ByteArry17 );
-
-
- Parameter Description
- --------- -------------------------------------------------
- buf Bytes 00-0Fh will contain the pallete values.
- Byte 10h will contains the border color.
- ..page
- ..head03AbvGetPalReg
- ■ Display Adapters [VGA]
-
- ■ Source Module Name b101007d.asm
-
- ■ Description
-
- Return the color associated with the specified register
- palette.
-
-
- ■ Summary
-
- Function bvGetPalReg( reg : Integer ) : Integer;
-
- Parameter Description
- --------- -------------------------------------------------
- reg return the color for this palette register.
-
-
- ■ Function Return Value
-
- Color for the specified palette register.
- ..page
- ..head03AbvGrayScaleSum
- ■ Display Adapters [MCGA] [VGA]
-
- ■ Source Module Name b101233d.asm
-
- ■ Description
-
- Enables or disables gray-scale summing for the currently active
- display.
-
-
- ■ Summary
-
- Function bvGrayScaleSum( setting : Integer ) : Integer;
-
- Parameter Description
- --------- -------------------------------------------------
- setting 0 - enables access
- 1 - disable access
-
-
- ■ Function Return Value
-
- 12h is returned if this function is supported.
- ..page
- ..head03AbvLoad8x14Font01
- ■ Display Adapters [EGA] [VGA]
-
- ■ Source Module Name b101101d.asm
-
- ■ Description
-
- Provides the default 8x14 font table in text modes.
-
-
- ■ Summary
-
- Procedure bvLoad8x14Font01( block : Integer );
-
- Parameter Description
- --------- -------------------------------------------------
- block specifies the block of character generator RAM.
- (0 or 1).
-
-
- ■ Remarks
-
- If this function is used on an MCGA then the BIOS will execute
- the function bvLoad8x16Font04.
- ..page
- ..head03AbvLoad8x14Font11
- ■ Display Adapters [EGA] [VGA]
-
- ■ Source Module Name b101101d.asm
-
- ■ Description
-
- Provides the default 8x14 font table in text modes.
-
-
- ■ Summary
-
- Procedure bvLoad8x14Font11( block : Integer );
-
- Parameter Description
- --------- -------------------------------------------------
- block specifies the block of character generator RAM.
- (0 or 1).
-
-
- ■ Remarks
-
- Page zero must be active and if this function is used at any
- other time than immediately after a set mode, the results will
- be unpredictable.
-
- If this function is used on an MCGA then the BIOS will execute
- the function bvLoad8x16Font04.
- ..page
- ..head03AbvLoad8x16Font04
- ■ Display Adapters [MCGA] [VGA]
-
- ■ Source Module Name b101104d.asm
-
- ■ Description
-
- Provides the default 8x16 font table in text modes.
-
-
- ■ Summary
-
- Procedure bvLoad8x16Font04( block : Integer );
-
- Parameter Description
- --------- -------------------------------------------------
- block specifies the block of character generator RAM.
-
-
- ■ Remarks
-
- On a MCGA, a call to this function should be followed with a
- call to bvSetBlkSpec.
- ..page
- ..head03AbvLoad8x16Font14
- ■ Display Adapters [MCGA] [VGA]
-
- ■ Source Module Name b101104d.asm
-
- ■ Description
-
- Provides the default 8x16 font table in text modes.
-
-
- ■ Summary
-
- Procedure bvLoad8x16Font14( block : Integer );
-
- Parameter Description
- --------- -------------------------------------------------
- block specifies the block of character generator RAM.
-
-
- ■ Remarks
-
- Page zero must be active and if this function is used at any
- other time than immediately after a set mode, the results will
- be unpredictable.
-
- If this function is used on an MCGA then the BIOS will execute
- the function bvLoad8x16Font04.
- ..page
- ..head03AbvLoad8x8Font02
- ■ Display Adapters [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101102d.asm
-
- ■ Description
-
- Provides the default 8x8 font table in text modes.
-
-
- ■ Summary
-
- Procedure bvLoad8x8Font02( block : Integer );
-
- Parameter Description
- --------- -------------------------------------------------
- block specifies the block of character generator RAM.
-
-
- ■ Remarks
-
- On a MCGA, a call to this function should be followed with a
- call to bvSetBlkSpec.
- ..page
- ..head03AbvLoad8x8Font12
- ■ Display Adapters [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101102d.asm
-
- ■ Description
-
- Provides the default 8x8 font table in text modes.
-
-
- ■ Summary
-
- Procedure bvLoad8x8Font12( block : Integer );
-
- Parameter Description
- --------- -------------------------------------------------
- block specifies the block of character generator RAM.
-
-
- ■ Remarks
-
- Page zero must be active and if this function is used at any
- other time than immediately after a set mode, the results will
- be unpredictable.
-
- If this function is used on an MCGA then the BIOS will execute
- the function bvLoad8x16Font02.
- ..page
- ..head03AbvLoadUsrFont00
- ■ Display Adapters [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101100d.asm
-
- ■ Description
-
- Loads the users text font table into specified block of
- character generator RAM.
-
-
- ■ Summary
-
- Procedure bvLoadUsrFont00( pts : Integer;
- block : Integer;
- chcount : Word;
- startch : Word;
- Var fonttbl );
-
-
- Parameter Description
- --------- -------------------------------------------------
- pts bytes per character
- block specifies the block of character generator RAM.
- chcount characters in table
- startch first character in table
- fonttbl font table address
-
-
- ■ Remarks
-
- On a MCGA, a call to this function should be followed with a
- call to bvSetBlkSpec.
- ..page
- ..head03AbvLoadUsrFont10
- ■ Display Adapters [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101100d.asm
-
- ■ Description
-
- Loads the users text font table into specified block of
- character generator RAM.
-
-
- ■ Summary
-
- Procedure bvLoadUsrFont10( pts : Integer;
- block : Integer;
- chcount : Word;
- startch : Word;
- Var fonttbl );
-
-
- Parameter Description
- --------- -------------------------------------------------
- pts bytes per character
- block specifies the block of character generator RAM.
- chcount characters in table
- startch first character in table
- fonttbl font table address
-
-
- ■ Remarks
-
- Page zero must be active and if this function is used at any
- other time than immediately after a set mode, the results will
- be unpredictable.
-
- If this function is used on an MCGA then the BIOS will execute
- the function bvLoadUsrFont00.
- ..page
- ..head03AbvReadCell
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100800d.asm
-
- ■ Description
-
- Read the cell the cursor is positioned on for its character and
- attribute values.
-
-
- ■ Summary
-
- Procedure bvReadCell( Var ch, attr : Integer; pg : Integer );
-
- Parameter Description
- --------- -------------------------------------------------
- ch will contain the character of the cell.
- attr will contain the attribute value of the cell.
- pg the page the cell to read is on.
-
-
- ■ Remarks
-
- The page to read from does not have to be the active page, if
- the video display supports mulitple pages.
- ..page
- ..head03AbvReadPix
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100d00d.asm
-
- ■ Description
-
- Read pixel from the specified graphics coordinates.
-
-
- ■ Summary
-
- Function bvReadPix( row, col, pg : Integer ) : Integer;
-
- Parameter Description
- --------- -------------------------------------------------
- row row for pixel to be read from
- col col for pixel to be read from
- pg page to read pixel from
-
-
- ■ Function Return Value
-
- The pixel value at for the coordinates requested.
- ..page
- ..head03AbvScnRefresh
- ■ Display Adapters [VGA]
-
- ■ Source Module Name b101236d.asm
-
- ■ Description
-
- Enables or disables the video refresh for the currently active
- display.
-
-
- ■ Summary
-
- Function bvScnRefresh( setting : Integer ) : Integer;
-
- Parameter Description
- --------- -------------------------------------------------
- setting 0 - enables refresh
- 1 - disable refresh
-
-
- ■ Function Return Value
-
- 12h is returned if this function is supported.
- ..page
- ..head03AbvScrollDn
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b1006xxd.asm
-
- ■ Description
-
- Scrolls the contents of the window on the active display page
- down by the specified number of lines.
-
-
- ■ Summary
-
- Procedure bvScrollDn( top, left,
- bottom, right,
- lines, attr : Integer );
-
- Parameter Description
- --------- -------------------------------------------------
- top top row of window
- left left column of window
- bottom bottom row of window
- right right column of window
- lines number of lines to scroll
- attr attribute to use for blanked area
-
-
- ■ Remarks
-
- If the number of lines to scroll is zero, the entire window
- will be blanked.
- ..page
- ..head03AbvScrollUp
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b1006xxd.asm
-
- ■ Description
-
- Scrolls the contents of the window on the active display page
- up by the specified number of lines.
-
-
- ■ Summary
-
- Procedure bvScrollUp( top, left,
- bottom, right,
- lines, attr : Integer );
-
-
- Parameter Description
- --------- -------------------------------------------------
- top top row of window
- left left column of window
- bottom bottom row of window
- right right column of window
- lines number of lines to scroll
- attr attribute to use for blanked area
-
-
- ■ Remarks
-
- If the number of lines to scroll is zero, the entire window
- will be blanked.
- ..page
-