home *** CD-ROM | disk | FTP | other *** search
- ..pgno28
- ..foot60A7-##
- ..head02L──────────────────────────────────────────────────────────────────────
- ..head04L──────────────────────────────────────────────────────────────────────
- ..head03AbvSet1FhFontPtr
- ■ Display Adapters [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101120d.asm
-
- ■ Description
-
- Sets the Int 1Fh pointer to the user's font table. The table is
- used for character codes 80h-FFh in graphics modes 04H-06H.
-
-
- ■ Summary
-
- VOID FPENTRY bvSet1FhFontPtr( VOID *fonttbl );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- fonttbl pointer to the font table
-
-
- ■ Remarks
-
- If this function is used at any other time than immediately
- after a set mode, the results will be unpredictable.
- ..page
- ..head03AbvSet43h8x14Font
- ■ Display Adapters [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101122d.asm
-
- ■ Description
-
- Sets the vector for Int 43h to point to the ROM BIOS default
- 8x14 font and updates the video ROM BIOS data area.
-
-
- ■ Summary
-
- VOID FPENTRY bvSet43h8x14Font( INT2 spec, INT2 scnrows );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- spec must be a value from 0-3 to specify the number of
- character rows on the screen.
-
- Specifier Description
- ───────── ─────────────────────────────
- 00 use value in scnrows variable
- 01 14 rows
- 02 25 rows
- 03 43 rows
-
- scnrows number of rows per screen when spec(ifier) is
- zero.
-
-
- ■ Remarks
-
- If this function is used at any other time than immediately
- after a set mode, the results will be unpredictable.
-
- When this function is used on the MCGA, the BIOS substitutes
- function call bvSet43h8x16Font.
- ..page
- ..head03AbvSet43h8x16Font
- ■ Display Adapters [MCGA] [VGA]
-
- ■ Source Module Name b101124d.asm
-
- ■ Description
-
- Sets the vector for Int 43h to point to the ROM BIOS default
- 8x16 font and updates the video ROM BIOS data area.
-
-
- ■ Summary
-
- VOID FPENTRY bvSet43h8x16Font( INT2 spec, INT2 scnrows );
-
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- spec must be a value from 0-3 to specify the number of
- character rows on the screen.
-
- Specifier Description
- ───────── ─────────────────────────────
- 00 use value in scnrows variable
- 01 14 rows
- 02 25 rows
- 03 43 rows
-
- scnrows number of rows per screen when spec(ifier) is
- zero.
-
-
- ■ Remarks
-
- If this function is used at any other time than immediately
- after a set mode, the results will be unpredictable.
- ..page
- ..head03AbvSet43h8x8Font
- ■ Display Adapters [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101123d.asm
-
- ■ Description
-
- Sets the vector for Int 43h to point to the ROM BIOS default
- 8x8 font and updates the video ROM BIOS data area.
-
-
- ■ Summary
-
- VOID FPENTRY bvSet43h8x8Font( INT2 spec, INT2 scnrows );
-
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- spec must be a value from 0-3 to specify the number of
- character rows on the screen.
-
- Specifier Description
- ───────── ─────────────────────────────
- 00 use value in scnrows variable
- 01 14 rows
- 02 25 rows
- 03 43 rows
-
- scnrows number of rows per screen when spec(ifier) is
- zero.
-
- ■ Remarks
-
- If this function is used at any other time than immediately
- after a set mode, the results will be unpredictable.
- ..page
- ..head03AbvSet43hUsrFont
- ■ Display Adapters [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101121d.asm
-
- ■ Description
-
- Sets the vector for Int 43h to point to the user's font table
- and update the video ROM BIOS data area.
-
- ■ Summary
-
- VOID FPENTRY bvSet43hUsrFont( INT2 rows, UINT2 points,
- INT2 scnrows, VOID *fonttbl );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- rows character rows specifier
- points bytes per character
- scnrows rows per screen
- fonttbl pointer to the user font table
-
-
- ■ Remarks
-
- If this function is used at any other time than immediately
- after a set mode, the results will be unpredictable.
- ..page
- ..head03AbvSetAltPrtSc
- ■ Display Adapters [EGA] [VGA]
-
- ■ Source Module Name b101220d.asm
-
- ■ Description
-
- Selects an alternate print-screen routine for the EGA and VGA
- that works properly if the screen length is not 25 lines.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetAltPrtSc( VOID );
- ..page
- ..head03AbvSetBlink
- ■ Display Adapters [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101003d.asm
-
- ■ Description
-
- Determines if the significate bit in an attribute will display
- either blinking or intensified.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetBlink( INT2 state );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- state 0 - enables intensity
- 1 - enables blinking
- ..page
- ..head03AbvSetBlkSpec
- ■ Display Adapters [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101103d.asm
-
- ■ Description
-
- Determies character blocks selected by bit 3 of the character
- attribute bytes in alphanumeric display modes.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetBlkSpec( INT2 block );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- block select code for char generator block
-
-
- ■ Remarks
-
- EGA, MCGA
-
- 0,1 indicates which 1 of 4 256 character tables is
- used when bit 3 of character's attribute byte is
- zero.
-
- 2,3 indicate which table is used when bit 3 is set on.
-
-
- VGA
-
- Bits Description
- ─────── ─────────────────────────────────────────────────
- 0,1,4 speicify 1 of 8 tables when bit 3 is zero.
-
- 2,3,5 specifiy table when attribute bit 3 is one.
- ..page
- ..head03AbvSetBorder
- ■ Display Adapters [PCjr] [EGA] [VGA]
-
- ■ Source Module Name b101001d.asm
-
- ■ Description
-
- Controls the color of the screen border.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetBorder( INT2 color );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- color color of border. Range (0-63).
- ..page
- ..head03AbvSetColorPgMode
- ■ Display Adapters [VGA]
-
- ■ Source Module Name b101013d.asm
-
- ■ Description
-
- Sets paging mode for color registers
-
-
- ■ Summary
-
- VOID FPENTRY bvSetColorPgMode( INT2 pgstate );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- pgstate 00 - sets 4 pages of 64 registers
- 01 - sets 16 pages of 16 registers
-
-
- ■ Remarks
-
- This function is invalid for graphics video mode 13H (320x200,
- 256 colors).
- ..page
- ..head03AbvSetColorReg
- ■ Display Adapters [MCGA] [VGA]
-
- ■ Source Module Name b101010d.asm
-
- ■ Description
-
- Set red-green-blue values for a color register
-
-
- ■ Summary
-
- VOID FPENTRY bvSetColorReg( UINT2 colorreg, INT2 green,
- INT2 blue, INT2 red );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- colorreg color register
- green green color value
- blue blue color value
- red red color value
-
-
- ■ Remarks
-
- When gray-scale summing is on, the gray-scale weighted values
- are calculated as described under the function bvSetGrayScale
- and stored into the components of the color register.
- ..page
- ..head03AbvSetColorRegBlk
- ■ Display Adapters [MCGA] [VGA]
-
- ■ Source Module Name b101012d.asm
-
- ■ Description
-
- Set a series of consecutive color registers.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetColorRegBlk( UINT2 startreg
- INT2 regcount,
- BYTE colortbl[][3] );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- startreg first color register
- regcount number of registers
- colortbl color table that consists of 3 bytes for every
- register. Each group of 3 bytes will specify the
- red, green, and blue values, respectively for the
- associated register.
-
-
- ■ Remarks
-
- When gray-scale summing is on, the gray-scale weighted values
- are calculated as described under the function bvSetGrayScale
- and stored into the components of the color register.
- ..page
- ..head03AbvSetColorRegPg
- ■ Display Adapters [VGA]
-
- ■ Source Module Name b101013d.asm
-
- ■ Description
-
- Set a color register page.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetColorRegPg( INT2 pg );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- pg color register page to select.
-
- ■ Remarks
-
- This function is invalid for graphics video mode 13H (320x200,
- 256 colors).
- ..page
- ..head03AbvSetCurPos
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100200d.asm
-
- ■ Description
-
- Sets cursor position for the selected page.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetCurPos( INT2 pg, INT2 row, INT2 col );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- pg page to set cursor position
- row row (y coordinate)
- col col (x coordinate)
- ..page
- ..head03AbvSetCurType
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100100d.asm
-
- ■ Description
-
- Selects starting and ending scan lines for the cursor in text
- modes.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetCurType( INT2 StScan, INT2 SpScan );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- StScan starting scan line for cursor
- SpScan ending scan line for cursor
-
-
- ■ Remarks
-
- In text modes, the hardware causes the cursor to blink, which
- cannot be disabled. In graphics mode, the cursor is not
- available.
-
- The scan line ranges for the cursor are:
-
- Mode Start End
- ──── ───── ───
- 7 0 12
- 0-3 0 7
-
- 0 ────+
- 1 |
- 2 |
- 3 +───> Scan lines for a Color/Graphics display.
- 4 |
- 5 |
- 6 |
- 7 ────+
-
- In text modes 0-3 the EGA, MCGA, and VGA provide cursor
- emulation for the starting and ending scan lines. The staring
- and ending values are remapped from an 8x8 cell to the true
- character cell dimension.
-
- One technique used to hide the cursor is by passing in the
- value 32 for the starting and ending scan lines.
- ..page
- ..head03AbvSetGrayScale
- ■ Display Adapters [MCGA] [VGA]
-
- ■ Source Module Name b10101bd.asm
-
- ■ Description
-
- Sets red, green and blue values of one or more color registers
- into the gray-scale equivalents.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetGrayScale( UINT2 startreg, INT2 regcount );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- startreg first color register
- regcount number of registers
-
-
- ■ Remarks
-
- For the range of color registers specified, each register is
- read and each new color value is calculated as 30% red + 59%
- green + 11% blue.
- ..page
- ..head03AbvSetMode
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b1000xxd.asm
-
- ■ Description
-
- Set video display mode.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetMode( UINT mode, UINT clear );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- mode video mode to set
- clear 0 - clear display buffer for new mode.
- 1 - do not clear display buffer for new mode. This
- parameter is ignored on PC's and PC/XT's with
- a cga or monochrome display adapter.
-
-
- ■ Remarks
-
- The video modes applicable for the various video adapters
- are as follows:
-
- Text/
- Mode Resolution Colors Graphics MDA CGA PCjr EGA MCGA VGA
- 00h 40x25 16 text . . . . .
- 01 40x25 16 text . . . . .
- 02 80x25 16 text . . . . .
- 03 80x25 16 text . . . . .
- 04 320x200 4 graphics . . . . .
- 05 320x200 4 graphics . . . . .
- 06 640x200 2 graphics . . . . .
- 07 80x25 2* text ∙ . .
- 08 160x200 16 graphics .
- 09 320x200 16 graphics .
- 0A 640x200 4 graphics .
- ..page
- Text/
- Mode Resolution Colors Graphics MDA CGA PCjr EGA MCGA VGA
- 0B reserved
- 0C reserved
- 0D 320x200 16 graphics . .
- 0E 640x200 16 graphics . .
- 0F 640x350 2* graphics .** .
- 10 640x350 4 graphics .***
- 10 640x350 16 graphics . .
- 11 640x480 2 graphics . .
- 12 640x480 16 graphics .
- 13 320x200 256 graphics . .
-
- * Monochrome monitor only.
- ** EGA with 64 KB of RAM.
- *** EGA with 128 KB or more of RAM.
-
- On the PC/AT, PCjr, and PS/2, if the "clear" parameter is
- set, the display buffer is not cleared when a new mode is
- selected. This capability is only available on PC or PC/XT
- when an EGA or VGA adapter is installed.
- ..page
- ..head03AbvSetPage
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100500d.asm
-
- ■ Description
-
- Select active display page
-
-
- ■ Summary
-
- VOID FPENTRY bvSetPage( INT2 pg );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- pg page to select.
- ..page
- ..head03AbvSetPalBorder
- ■ Display Adapters [PCjr] [EGA] [VGA]
-
- ■ Source Module Name b101002d.asm
-
- ■ Description
-
- Sets palette registers and border color
-
-
- ■ Summary
-
- VOID FPENTRY bvSetPalBorder( CHAR list[17] );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- list Bytes 0-15 are the color values to be loaded into
- the appropriate palette registers. Byte 16 is
- stored in the border color register.
- ..page
- ..head03AbvSetPalReg
- ■ Display Adapters [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b101000d.asm
-
- ■ Description
-
- Sets appropriate palette register to a displayable color.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetPalReg( INT2 color, INT2 reg );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- color color value
- reg palette register
-
-
- ■ Remarks
-
- For MCGA the color must be 07h and the reg variable must
- be 012h.
- ..page
- ..head03AbvSetScanLines
- ■ Display Adapters [VGA]
-
- ■ Source Module Name b101230d.asm
-
- ■ Description
-
- Selects the number of scan lines for text modes. The selected
- value takes effect the next time the bvSetMode function is
- called to select the display mode.
-
-
- ■ Summary
-
- INT2 FPENTRY bvSetScanLines( INT2 scancode );
-
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- scancode 0 - 200 scan lines
- 1 - 350 scan lines
- 2 - 400 scan lines
-
- ■ Function Return Value
-
- 18 - VGA is active
- 00 - VGA is not active
- ..page
- ..head03AbvSetState0B
- ■ Display Adapters [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100b00d.asm
-
- ■ Description
-
- In text mode the border color is set. Graphics mode sets the
- border and background color.
-
-
- ■ Summary
-
- VOID FPENTRY bvSetState0B( INT2 color );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- color color to set background, border
- ..page
- ..head03AbvSwDsp
- ■ Display Adapters [VGA]
-
- ■ Source Module Name b101235d.asm
-
- ■ Description
-
- Allows selection of one of two video adapters in the system,
- when memory usage or port addresses conflict between the two
- adapters.
-
-
- ■ Summary
-
- UINT FPENTRY bvSwDsp( INT2 setting, CHAR *buffer );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- setting 0 - disable initial video adapter
- 1 - enable system board video adapter
- 2 - disable active video adapter
- 3 - enable inactive video adapter
- buffer 128-byte buffer to use if setting is 1, 2, or 3.
-
-
- ■ Function Return Value
-
- 18 - Function is supported.
-
- If the function is called with setting set to 0 or 2 then the
- video adapter state information is stored in the buffer
- variable. If the function is called with setting set to 3 then
- the information in the buffer variable will be used to restore
- the video adapter state.
- ..page
- ..head03AbvVioAccess
- ■ Display Adapters [MCGA] [VGA]
-
- ■ Source Module Name b101232d.asm
-
- ■ Description
-
- Enables or disables CPU access to the video adapter's I/O prts
- and video refresh buffer.
-
-
- ■ Summary
-
- INT2 FPENTRY bvVioAccess( INT2 setting );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- setting 0 - enables access
- 1 - disable access
-
-
- ■ Function Return Value
-
- 18 - Function is supported.
- ..page
- ..head03AbvWrtNCell
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100900d.asm
- ■ Description
-
- Write a character and attribute to the display at the current
- cursor position for n times.
-
-
- ■ Summary
-
- VOID FPENTRY bvWrtNCell( INT2 ch, INT2 attr,
- INT2 count, INT2 pg );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- ch character
- attr attribute
- count number of cells to replication
- pg page to write cell to
-
-
- ■ Remarks
-
- The cursor position is not updated are the character attribute
- values are displayed.
-
- In graphics mode the replication factor given in count will
- display character attribute combinations only for the current
- row.
-
- All characters will display something, including the bell,
- backspace, carriage return and the line feed. These control
- characters are NOT recognized as special characters and will
- not affect the cursor position.
-
- The character definition tables is stored in the vector for the
- bvSet43hxxxxFont functions for the EGA, MCGA and VGA displays
- inn graphics modes.
- ..page
- ..head03AbvWrtNChar
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100a00d.asm
-
- ■ Description
-
- Write a character to the display at the
- current cursor position for n times.
-
-
- ■ Summary
-
- VOID FPENTRY bvWrtNChar( INT2 ch, INT2 count, INT2 pg );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- ch character
- count number of cells to replication
- pg page to write cell to
- ..page
- ..head03AbvWrtPix
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100c00d.asm
-
- ■ Description
-
- Display pixel at the specified graphics coordinates
-
-
- ■ Summary
-
- VOID FPENTRY bvWrtPix( INT2 row, INT2 col,
- INT2 pixval, INT2 pg );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- row row for pixel to be displayed on
- col col for pixel to be displayed on
- pixval color of pixel
- pg page to display pixel on
- ..page
- ..head03AbvWrtTTYChar
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b100e00d.asm
-
- ■ Description
-
- Write character at the current cursor position using
- the color speicifed (if in graphics mode).
-
-
- ■ Summary
-
- VOID FPENTRY bvWrtTTYChar( INT2 ch, INT2 pg, INT2 color );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- ch character to display
- pg page to display the character on
- color color of character if in graphics mode
- ..page
- ..head03AbvWrtTTYStr
- ■ Display Adapters [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
-
- ■ Source Module Name b1013xxd.asm
-
- ■ Description
-
- Displays a string to the video buffer starting
- at the specified location.
-
- ■ Summary
-
- VOID FPENTRY bvWrtTTYStr( INT2 mode, INT2 row, INT2 col,
- INT2 len, INT2 pg, INT2 attr,
- CHAR *st );
-
- Parameter Description
- ───────── ─────────────────────────────────────────────────
- mode 0 - use attr, st is chars only, cursor not updated
- 1 - use attr, st is chars only, cursor updated
- 2 - st is char, attr; cursor not updated
- 3 - st is char, attr; cursor updated
- row y coordinate
- col x coordinate
- len length of st
- pg display page to display string on.
- attr attribute is mode is 0 or 1
- st string to display on the screen
- ..page
-