home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 15 / CDACTUAL15.iso / cdactual / program / pascal / FLASHPAC.ZIP / CH7_1.DOC < prev    next >
Encoding:
Text File  |  1991-03-15  |  18.2 KB  |  740 lines

  1. ..pgno01
  2. ..foot60A7-##
  3. ..head02L──────────────────────────────────────────────────────────────────────
  4. ..head04L──────────────────────────────────────────────────────────────────────
  5. ..head03AbvCurEmulation
  6. ■ Display Adapters    [VGA]
  7.  
  8. ■ Source Module Name  b101234d.asm
  9.  
  10. ■ Description
  11.  
  12.   Enables or disables cursor emulation for the currently active
  13.   display. When cursor emulation is enabled, the ROM BIOS
  14.   automatically remaps INT 10H Function 01H cursor starting scan
  15.   and ending scan lines for the current character cell
  16.   dimensions.
  17.  
  18.  
  19. ■ Summary
  20.  
  21.   INT2 FPENTRY bvCurEmulation( INT2 setting );
  22.  
  23.   Parameter    Description
  24.   ─────────    ─────────────────────────────────────────────────
  25.   setting      0 - enables emulation
  26.                1 - disable emulation
  27.  
  28.  
  29. ■ Function Return Value
  30.  
  31.   12h - if function is supported.
  32. ..page
  33. ..head03AbvDefPalLoad
  34. ■ Display Adapters    [MCGA] [VGA]
  35.  
  36. ■ Source Module Name  b101231d.asm
  37.  
  38. ■ Description
  39.  
  40.   Enables or disables loading of a default palette when a video
  41.   display mode is selected.
  42.  
  43.  
  44. ■ Summary
  45.  
  46.   INT2 FPENTRY bvDefPalLoad( INT2 setting );
  47.  
  48.   Parameter    Description
  49.   ─────────    ─────────────────────────────────────────────────
  50.   setting      0 - enables default palette loading
  51.                1 - disable default palette loading
  52.  
  53.  
  54. ■ Function Return Value
  55.  
  56.   12h - if function is supported.
  57. ..page
  58. ..head03AbvGetBorder
  59. ■ Display Adapters    [VGA]
  60.  
  61. ■ Source Module Name  b101008d.asm
  62.  
  63. ■ Description
  64.  
  65.   Obtain current color of the border.
  66.  
  67.  
  68. ■ Summary
  69.  
  70.   INT2 FPENTRY bvGetBorder( VOID );
  71.  
  72.  
  73. ■ Function Return Value
  74.  
  75.   The attribute value of the border color.
  76. ..page
  77. ..head03AbvGetColorPgMode
  78. ■ Display Adapters    [VGA]
  79.  
  80. ■ Source Module Name  b10101ad.asm
  81.  
  82. ■ Description
  83.  
  84.   Gets paging mode for specified color registers and the current
  85.   color page.
  86.  
  87.  
  88. ■ Summary
  89.  
  90.   VOID FPENTRY bvGetColorPgMode( INT2 *colorpg, INT2 *pgmode );
  91.  
  92.   Parameter    Description
  93.   ─────────    ─────────────────────────────────────────────────
  94.   colorpg      color page to get information on
  95.   pgmode       00 - if 4 pages of 64 registers
  96.                01 - if 16 pages of 16 registers
  97.  
  98.  
  99. ■ See Also
  100.  
  101.   bvSetColorPgMode
  102. ..page
  103. ..head03AGetColorReg
  104. ■ Display Adapters    [MCGA] [VGA]
  105.  
  106. ■ Source Module Name  b101015d.asm
  107.  
  108. ■ Description
  109.  
  110.   Sets paging mode for color registers
  111.  
  112.  
  113. ■ Summary
  114.  
  115.   VOID FPENTRY bvGetColorReg( INT2 colorreg, INT2 *green,
  116.                               INT2 *blue,    INT2 *red  );
  117.  
  118.   Parameter    Description
  119.   ─────────    ─────────────────────────────────────────────────
  120.   colorreg     color register
  121.   green        green color value
  122.   blue         blue color value
  123.   red          red color value
  124. ..page
  125. ..head03AbvGetColorRegBlk
  126. ■ Display Adapters    [MCGA] [VGA]
  127.  
  128. ■ Source Module Name  b101017d.asm
  129.  
  130. ■ Description
  131.  
  132.   Reads the set of red, green and blue colors associated with
  133.   each set of color registers.
  134.  
  135.  
  136. ■ Summary
  137.  
  138.   VOID FPENTRY bvGetColorRegBlk( UINT2 startreg,
  139.                                  INT2  regcount,
  140.                                  INT2  colortbl[][3] );
  141.  
  142.   Parameter    Description
  143.   ─────────    ─────────────────────────────────────────────────
  144.   startreg     first color register
  145.   regcount     number of registers
  146.   colortbl     color table consists of 3 bytes for each register.
  147.                Each group of 3 bytes will specify the red, green,
  148.                and blue values, respectively for the associated
  149.                register.
  150. ..page
  151. ..head03AbvGetConfigInfo
  152. ■ Display Adapters    [EGA] [VGA]
  153.  
  154. ■ Source Module Name  b101210d.asm
  155.  
  156. ■ Description
  157.  
  158.   Returns configuration information for the active video system.
  159.  
  160.  
  161. ■ Summary
  162.  
  163.   VOID FPENTRY bvGetConfigInfo( INT2 *dsptype, INT2 *egamem,
  164.                                 INT2 *fbits,   INT2 *swset );
  165.  
  166.   Parameter    Description
  167.   ─────────    ─────────────────────────────────────────────────
  168.   dsptype      0 - color
  169.                1 - monochrome
  170.   egamem       0 - 64K
  171.                1 - 128K
  172.                2 - 192K
  173.                3 - 256K
  174.   fbits        feature bits
  175.   swset        switch setting
  176.  
  177.  
  178. ■ Remarks
  179.  
  180.   The feature bits are set from input status register zero in
  181.   response to an output on the specified feature control register
  182.   bits:
  183.  
  184.   Feature    Feature control    Input Status
  185.   Bit(s)     Output Bit         Bit
  186.   ───────    ───────────────    ────────────
  187.     0              0                 5
  188.     1              0                 6
  189.     2              1                 5
  190.     3              1                 6
  191.     4-7        not used
  192.  
  193.   The bits in the switch settings byte indicate the state of the
  194.   EGA's configuration DIP switch (1=off, 0=on).
  195.  
  196.    Bit      Significance
  197.   ─────     ───────────────────────
  198.    0        configuration switch 1
  199.    1        configuration switch 2
  200.    2        configuration switch 3
  201.    3        configuration switch 4
  202.    4-7      not used
  203. ..page
  204. ..head03AbvGetCurPos
  205. ■ Display Adapters    [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
  206.  
  207. ■ Source Module Name  b100300d.asm
  208.  
  209. ■ Description
  210.  
  211.   Returns the current position of the cusor on the display.
  212.  
  213.  
  214. ■ Summary
  215.  
  216.   VOID FPENTRY bvGetCurPos( INT2 pg, INT2 *row, INT2 *col );
  217.  
  218.   Parameter    Description
  219.   ─────────    ─────────────────────────────────────────────────
  220.   pg           page to get cursor position for
  221.   row          row (y coordinate)
  222.   col          col (x coordinate)
  223. ..page
  224. ..head03AbvGetCurType
  225. ■ Display Adapters    [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
  226.  
  227. ■ Source Module Name  b1003x0d.asm
  228.  
  229. ■ Description
  230.  
  231.   Returns starting and ending scan lines for the cursor in text
  232.   modes.
  233.  
  234.  
  235. ■ Summary
  236.  
  237.   VOID FPENTRY bvGetCurType( INT2 pg,
  238.                              INT2 *stscan,
  239.                              INT2 *spscan );
  240.  
  241.   Parameter    Description
  242.   ─────────    ─────────────────────────────────────────────────
  243.   pg           page to get cursor position for
  244.   stscan       starting scan line for cursor
  245.   spscan       ending scan line for cursor
  246. ..page
  247. ..head03AbvGetFontInfo
  248. ■ Display Adapters    [EGA] [MCGA] [VGA]
  249.  
  250. ■ Source Module Name  b101130d.asm
  251.  
  252. ■ Description
  253.  
  254.   Returns a pointer to the character definition table for a font,
  255.   and the bytes per character and rows for that font.
  256.  
  257.  
  258. ■ Summary
  259.  
  260.   VOID FPENTRY bvGetFontInfo( INT2 fontcode, UINT2 *points,
  261.                               INT2 *scnrows, VOID  *fonttbl );
  262.  
  263.   Parameter    Description
  264.   ─────────    ─────────────────────────────────────────────────
  265.   fontcode     defines font table to retrieve information on
  266.   points       bytes per character
  267.   scnrows      rows per screen
  268.   fonttbl      address of font table requested
  269.  
  270.  
  271. ■ Remarks
  272.  
  273.   Font
  274.   Code   Description
  275.   ────     ──────────────────────────────────────────────
  276.    00    current Int 1FH contents
  277.    01    current Int 43H contents
  278.    02    ROM 8x14 font (EGA, VGA only)
  279.    03    ROM 8x8 font (characters 00H-7FH)
  280.    04    ROM 8x8 font (characters 80H-FFH)
  281.    05    ROM alternate 9x14 font (EGA, VGA only)
  282.    06    ROM 8x16 font (MCGA, VGA only)
  283.    07    ROM alternate 9x16 font (VGA only)
  284. ..page
  285. ..head03AbvGetMode
  286. ■ Display Adapters    [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
  287.  
  288. ■ Source Module Name  b100f00d.asm
  289.  
  290. ■ Description
  291.  
  292.   Return current display mode, active page and number of columns
  293.   for the active display page.
  294.  
  295.  
  296. ■ Summary
  297.  
  298.   VOID FPENTRY bvGetMode( INT2 *mode, INT2 *cols, INT2 *pg );
  299.  
  300.   Parameter    Description
  301.   ─────────    ─────────────────────────────────────────────────
  302.   mode        current display mode
  303.   cols        number of column on page
  304.   pg          active display page
  305. ..page
  306. ..head03AbvGetPalBorder
  307. ■ Display Adapters    [VGA]
  308.  
  309. ■ Source Module Name  b101009d.asm
  310.  
  311. ■ Description
  312.  
  313.   Obtain contents of all the palette registers and the color of
  314.   the border.
  315.  
  316.  
  317. ■ Summary
  318.  
  319.   VOID FPENTRY bvGetPalBorder( CHAR buf[17] );
  320.  
  321.   Parameter    Description
  322.   ─────────    ─────────────────────────────────────────────────
  323.   buf          Bytes 00-0Fh will contain the pallete values.
  324.                Byte 10h will contains the border color.
  325. ..page
  326. ..head03AbvGetPalReg
  327. ■ Display Adapters    [VGA]
  328.  
  329. ■ Source Module Name  b101007d.asm
  330.  
  331. ■ Description
  332.  
  333.   Return the color associated with the specified register
  334.   palette.
  335.  
  336.  
  337. ■ Summary
  338.  
  339.   INT2 FPENTRY bvGetPalReg( INT2 reg );
  340.  
  341.   Parameter    Description
  342.   ─────────    ─────────────────────────────────────────────────
  343.   reg          return the color for this palette register.
  344.  
  345.  
  346. ■ Function Return Value
  347.  
  348.   Color for the specified palette register.
  349. ..page
  350. ..head03AbvGrayScaleSum
  351. ■ Display Adapters    [MCGA] [VGA]
  352.  
  353. ■ Source Module Name  b101233d.asm
  354.  
  355. ■ Description
  356.  
  357.   Enables or disables gray-scale summing for the currently active
  358.   display.
  359.  
  360.  
  361. ■ Summary
  362.  
  363.   INT2 FPENTRY bvGrayScaleSum( INT2 setting );
  364.  
  365.   Parameter    Description
  366.   ─────────    ─────────────────────────────────────────────────
  367.   setting      0 - enables access
  368.                1 - disable access
  369.  
  370.  
  371. ■ Function Return Value
  372.  
  373.   12h is returned if this function is supported.
  374. ..page
  375. ..head03AbvLoad8x14Font01
  376. ■ Display Adapters    [EGA] [VGA]
  377.  
  378. ■ Source Module Name  b101101d.asm
  379.  
  380. ■ Description
  381.  
  382.   Provides the default 8x14 font table in text modes.
  383.  
  384.  
  385. ■ Summary
  386.  
  387.   VOID FPENTRY bvLoad8x14Font01( INT2  block );
  388.  
  389.   Parameter    Description
  390.   ─────────    ─────────────────────────────────────────────────
  391.   block        specifies the block of character generator RAM.
  392.                (0 or 1).
  393.  
  394.  
  395. ■ Remarks
  396.  
  397.   If this function is used on an MCGA then the BIOS will execute
  398.   the function bvLoad8x16Font04.
  399. ..page
  400. ..head03AbvLoad8x14Font11
  401. ■ Display Adapters    [EGA] [VGA]
  402.  
  403. ■ Source Module Name  b101101d.asm
  404.  
  405. ■ Description
  406.  
  407.   Provides the default 8x14 font table in text modes.
  408.  
  409.  
  410. ■ Summary
  411.  
  412.   VOID FPENTRY bvLoad8x14Font11( INT2  block );
  413.  
  414.   Parameter    Description
  415.   ─────────    ─────────────────────────────────────────────────
  416.   block        specifies the block of character generator RAM.
  417.                (0 or 1).
  418.  
  419.  
  420. ■ Remarks
  421.  
  422.   Page zero must be active and if this function is used at any
  423.   other time than immediately after a set mode, the results will
  424.   be unpredictable.
  425.  
  426.   If this function is used on an MCGA then the BIOS will execute
  427.   the function bvLoad8x16Font04.
  428. ..page
  429. ..head03AbvLoad8x16Font04
  430. ■ Display Adapters    [MCGA] [VGA]
  431.  
  432. ■ Source Module Name  b101104d.asm
  433.  
  434. ■ Description
  435.  
  436.   Provides the default 8x16 font table in text modes.
  437.  
  438.  
  439. ■ Summary
  440.  
  441.   VOID FPENTRY bvLoad8x16Font04( INT2  block );
  442.  
  443.   Parameter    Description
  444.   ─────────    ─────────────────────────────────────────────────
  445.   block        specifies the block of character generator RAM.
  446.  
  447.  
  448. ■ Remarks
  449.  
  450.   On a MCGA, a call to this function should be followed with a
  451.   call to bvSetBlkSpec.
  452. ..page
  453. ..head03AbvLoad8x16Font14
  454. ■ Display Adapters    [MCGA] [VGA]
  455.  
  456. ■ Source Module Name  b101104d.asm
  457.  
  458. ■ Description
  459.  
  460.   Provides the default 8x16 font table in text modes.
  461.  
  462.  
  463. ■ Summary
  464.  
  465.   VOID FPENTRY bvLoad8x16Font14( INT2  block );
  466.  
  467.   Parameter    Description
  468.   ─────────    ─────────────────────────────────────────────────
  469.   block        specifies the block of character generator RAM.
  470.  
  471.  
  472. ■ Remarks
  473.  
  474.   Page zero must be active and if this function is used at any
  475.   other time than immediately after a set mode, the results will
  476.   be unpredictable.
  477.  
  478.   If this function is used on an MCGA then the BIOS will execute
  479.   the function bvLoad8x16Font04.
  480. ..page
  481. ..head03AbvLoad8x8Font02
  482. ■ Display Adapters    [EGA] [MCGA] [VGA]
  483.  
  484. ■ Source Module Name  b101102d.asm
  485.  
  486. ■ Description
  487.  
  488.   Provides the default 8x8 font table in text modes.
  489.  
  490.  
  491. ■ Summary
  492.  
  493.   VOID FPENTRY bvLoad8x8Font02( INT2  block );
  494.  
  495.   Parameter    Description
  496.   ─────────    ─────────────────────────────────────────────────
  497.   block        specifies the block of character generator RAM.
  498.  
  499.  
  500. ■ Remarks
  501.  
  502.   On a MCGA, a call to this function should be followed with a
  503.   call to bvSetBlkSpec.
  504. ..page
  505. ..head03AbvLoad8x8Font12
  506. ■ Display Adapters    [EGA] [MCGA] [VGA]
  507.  
  508. ■ Source Module Name  b101102d.asm
  509.  
  510. ■ Description
  511.  
  512.   Provides the default 8x8 font table in text modes.
  513.  
  514.  
  515. ■ Summary
  516.  
  517.   VOID FPENTRY bvLoad8x8Font12( INT2  block );
  518.  
  519.   Parameter    Description
  520.   ─────────    ─────────────────────────────────────────────────
  521.   block        specifies the block of character generator RAM.
  522.  
  523.  
  524. ■ Remarks
  525.  
  526.   Page zero must be active and if this function is used at any
  527.   other time than immediately after a set mode, the results will
  528.   be unpredictable.
  529.  
  530.   If this function is used on an MCGA then the BIOS will execute
  531.   the function bvLoad8x16Font02.
  532. ..page
  533. ..head03AbvLoadUsrFont00
  534. ■ Display Adapters    [EGA] [MCGA] [VGA]
  535.  
  536. ■ Source Module Name  b101100d.asm
  537.  
  538. ■ Description
  539.  
  540.   Loads the users text font table into specified block of
  541.   character generator RAM.
  542.  
  543.  
  544. ■ Summary
  545.  
  546.   VOID FPENTRY bvLoadUsrFont00( INT2  pts,     INT2  block,
  547.                                 UINT2 chcount, UINT2 startch,
  548.                                 VOID  *fonttbl );
  549.  
  550.   Parameter    Description
  551.   ─────────    ─────────────────────────────────────────────────
  552.   pts          bytes per character
  553.   block        specifies the block of character generator RAM.
  554.   chcount      characters in table
  555.   startch      first character in table
  556.   fonttbl      font table address
  557.  
  558.  
  559. ■ Remarks
  560.  
  561.   On a MCGA, a call to this function should be followed with a
  562.   call to bvSetBlkSpec.
  563. ..page
  564. ..head03AbvLoadUsrFont10
  565. ■ Display Adapters    [EGA] [MCGA] [VGA]
  566.  
  567. ■ Source Module Name  b101100d.asm
  568.  
  569. ■ Description
  570.  
  571.   Loads the users text font table into specified block of
  572.   character generator RAM.
  573.  
  574.  
  575. ■ Summary
  576.  
  577.   VOID FPENTRY bvLoadUsrFont10( INT2  pts,     INT2  block,
  578.                                 UINT2 chcount, UINT2 startch,
  579.                                 VOID  *fonttbl );
  580.  
  581.   Parameter    Description
  582.   ─────────    ─────────────────────────────────────────────────
  583.   pts          bytes per character
  584.   block        specifies the block of character generator RAM.
  585.   chcount      characters in table
  586.   startch      first character in table
  587.   fonttbl      font table address
  588.  
  589.  
  590. ■ Remarks
  591.  
  592.   Page zero must be active and if this function is used at any
  593.   other time than immediately after a set mode, the results will
  594.   be unpredictable.
  595.  
  596.   If this function is used on an MCGA then the BIOS will execute
  597.   the function bvLoadUsrFont00.
  598. ..page
  599. ..head03AbvReadCell
  600. ■ Display Adapters    [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
  601.  
  602. ■ Source Module Name  b100800d.asm
  603.  
  604. ■ Description
  605.  
  606.   Read the cell the cursor is positioned on for its character and
  607.   attribute values.
  608.  
  609.  
  610. ■ Summary
  611.  
  612.   VOID FPENTRY bvReadCell( INT2 *ch, INT2 *attr, INT2 pg );
  613.  
  614.   Parameter    Description
  615.   ─────────    ─────────────────────────────────────────────────
  616.   ch           will contain the character of the cell.
  617.   attr         will contain the attribute value of the cell.
  618.   pg           the page the cell to read is on.
  619.  
  620.  
  621. ■ Remarks
  622.  
  623.   The page to read from does not have to be the active page, if
  624.   the video display supports mulitple pages.
  625. ..page
  626. ..head03AbvReadPix
  627. ■ Display Adapters    [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
  628.  
  629. ■ Source Module Name  b100d00d.asm
  630.  
  631. ■ Description
  632.  
  633.   Read pixel from the specified graphics coordinates.
  634.  
  635.  
  636. ■ Summary
  637.  
  638.   INT2 FPENTRY bvReadPix( INT2 row, INT2 col, INT2 pg );
  639.  
  640.   Parameter    Description
  641.   ─────────    ─────────────────────────────────────────────────
  642.   row          row for pixel to be read from
  643.   col          col for pixel to be read from
  644.   pg           page to read pixel from
  645.  
  646.  
  647. ■ Function Return Value
  648.  
  649.   The pixel value at for the coordinates requested.
  650. ..page
  651. ..head03AbvScnRefresh
  652. ■ Display Adapters    [VGA]
  653.  
  654. ■ Source Module Name  b101236d.asm
  655.  
  656. ■ Description
  657.  
  658.   Enables or disables the video refresh for the currently active
  659.   display.
  660.  
  661.  
  662. ■ Summary
  663.  
  664.   INT2 FPENTRY bvScnRefresh( INT2 setting );
  665.  
  666.   Parameter    Description
  667.   ─────────    ─────────────────────────────────────────────────
  668.   setting      0 - enables refresh
  669.                1 - disable refresh
  670.  
  671.  
  672. ■ Function Return Value
  673.  
  674.   12h is returned if this function is supported.
  675. ..page
  676. ..head03AbvScrollDn
  677. ■ Display Adapters    [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
  678.  
  679. ■ Source Module Name  b1006xxd.asm
  680.  
  681. ■ Description
  682.  
  683.   Scrolls the contents of the window on the active display page
  684.   down by the specified number of lines.
  685.  
  686.  
  687. ■ Summary
  688.  
  689.   VOID FPENTRY bvScrollDn( INT2 top,    INT2 left,
  690.                            INT2 bottom, INT2 right,
  691.                            INT2 lines,  INT2 attr );
  692.  
  693.   Parameter    Description
  694.   ─────────    ─────────────────────────────────────────────────
  695.   top          top row of window
  696.   left         left column of window
  697.   bottom       bottom row of window
  698.   right        right column of window
  699.   lines        number of lines to scroll
  700.   attr         attribute to use for blanked area
  701.  
  702.  
  703. ■ Remarks
  704.  
  705.   If the number of lines to scroll is zero, the entire window
  706.   will be blanked.
  707. ..page
  708. ..head03AbvScrollUp
  709. ■ Display Adapters    [MDA] [CGA] [PCjr] [EGA] [MCGA] [VGA]
  710.  
  711. ■ Source Module Name  b1006xxd.asm
  712.  
  713. ■ Description
  714.  
  715.   Scrolls the contents of the window on the active display page
  716.   up by the specified number of lines.
  717.  
  718.  
  719. ■ Summary
  720.  
  721.   VOID FPENTRY bvScrollUp( INT2 top,    INT2 left,
  722.                            INT2 bottom, INT2 right,
  723.                            INT2 lines,  INT2 attr );
  724.  
  725.   Parameter    Description
  726.   ─────────    ─────────────────────────────────────────────────
  727.   top          top row of window
  728.   left         left column of window
  729.   bottom       bottom row of window
  730.   right        right column of window
  731.   lines        number of lines to scroll
  732.   attr         attribute to use for blanked area
  733.  
  734.  
  735. ■ Remarks
  736.  
  737.   If the number of lines to scroll is zero, the entire window
  738.   will be blanked.
  739. ..page
  740.