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
-
- INT2 FPENTRY bvCurEmulation( INT2 setting );
-
- 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
-
- INT2 FPENTRY bvDefPalLoad( INT2 setting );
-
- 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
-
- INT2 FPENTRY bvGetBorder( VOID );
-
-
- ■ 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
-
- VOID FPENTRY bvGetColorPgMode( INT2 *colorpg, INT2 *pgmode );
-
- 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
-
- VOID FPENTRY bvGetColorReg( INT2 colorreg, INT2 *green,
- INT2 *blue, INT2 *red );
-
- 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
-
- VOID FPENTRY bvGetColorRegBlk( UINT2 startreg,
- INT2 regcount,
- INT2 colortbl[][3] );
-
- 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
-
- VOID FPENTRY bvGetConfigInfo( INT2 *dsptype, INT2 *egamem,
- INT2 *fbits, INT2 *swset );
-
- 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
-
- VOID FPENTRY bvGetCurPos( INT2 pg, INT2 *row, INT2 *col );
-
- 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
-
- VOID FPENTRY bvGetCurType( INT2 pg,
- INT2 *stscan,
- INT2 *spscan );
-
- 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
-
- VOID FPENTRY bvGetFontInfo( INT2 fontcode, UINT2 *points,
- INT2 *scnrows, VOID *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
-
- VOID FPENTRY bvGetMode( INT2 *mode, INT2 *cols, INT2 *pg );
-
- 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
-
- VOID FPENTRY bvGetPalBorder( CHAR buf[17] );
-
- 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
-
- INT2 FPENTRY bvGetPalReg( INT2 reg );
-
- 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
-
- INT2 FPENTRY bvGrayScaleSum( INT2 setting );
-
- 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
-
- VOID FPENTRY bvLoad8x14Font01( INT2 block );
-
- 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
-
- VOID FPENTRY bvLoad8x14Font11( INT2 block );
-
- 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
-
- VOID FPENTRY bvLoad8x16Font04( INT2 block );
-
- 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
-
- VOID FPENTRY bvLoad8x16Font14( INT2 block );
-
- 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
-
- VOID FPENTRY bvLoad8x8Font02( INT2 block );
-
- 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
-
- VOID FPENTRY bvLoad8x8Font12( INT2 block );
-
- 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
-
- VOID FPENTRY bvLoadUsrFont00( INT2 pts, INT2 block,
- UINT2 chcount, UINT2 startch,
- VOID *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
-
- VOID FPENTRY bvLoadUsrFont10( INT2 pts, INT2 block,
- UINT2 chcount, UINT2 startch,
- VOID *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
-
- VOID FPENTRY bvReadCell( INT2 *ch, INT2 *attr, INT2 pg );
-
- 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
-
- INT2 FPENTRY bvReadPix( INT2 row, INT2 col, INT2 pg );
-
- 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
-
- INT2 FPENTRY bvScnRefresh( INT2 setting );
-
- 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
-
- VOID FPENTRY bvScrollDn( INT2 top, INT2 left,
- INT2 bottom, INT2 right,
- INT2 lines, INT2 attr );
-
- 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
-
- VOID FPENTRY bvScrollUp( INT2 top, INT2 left,
- INT2 bottom, INT2 right,
- INT2 lines, INT2 attr );
-
- 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
-