home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / prog2 / boss_ng.lzh / BOSSKEY.TXT < prev    next >
Encoding:
Text File  |  1988-05-22  |  2.2 KB  |  84 lines

  1. !short:_getca
  2.          ^b_getca -- get character and attribute^b
  3.  
  4.         ^UUSAGE^U
  5.  
  6.           unsigned int _getca(page, row, col)
  7.           int page, row, col;
  8.  
  9.  
  10.                 page - video page #
  11.                 row -  row value (0-24)
  12.                 col -  column value (0-79)
  13.  
  14.           _getca fetches the character and attribute at the screen 
  15.           coordinates defined by row and column.  _getca is a general 
  16.           purpose routine and can be used outside of the window 
  17.           environment.
  18.  
  19.         ^URETURNS^U
  20.  
  21.           The character and attribute as an unsigned int.  The attribute 
  22.           is in the upper byte, the character is in the lower byte.
  23.  
  24.         ^UCAUTIONS^U
  25.  
  26.           None.
  27. !short: _putca
  28.          ^b_putca -- put character and attribute ^b
  29.  
  30.         ^UUSAGE^U
  31.  
  32.           _putca(page, atch, row, col);
  33.           int page, row, col;
  34.           unsigned atch;
  35.  
  36.                 page - video page #
  37.                 atch - attribute and character
  38.                          attribute in high order byte
  39.                          character in low order byte
  40.                 row -  row position for character (0-24)
  41.                 col -  column position for character (0-79)
  42.  
  43.           _putch is a general purpose routine that can be used outside of 
  44.           the window environment.
  45.  
  46.         ^URETURNS^U
  47.  
  48.           Nothing.
  49.  
  50.         ^UCAUTIONS^U
  51.  
  52.           None.
  53. !short: _vidbit
  54.          ^b_vidblt -- video block transfer^b
  55.  
  56.         ^UUSAGE^U
  57.  
  58.           _vidblt(sseg, soff, dseg, doff, n);
  59.           unsigned sseg, soff, dseg, doff;
  60.           int n;
  61.  
  62.                 sseg - source segment
  63.                 soff - source offset
  64.                 dseg - destination segment
  65.                 doff - destination offset
  66.                 n -    number of bytes to BLT
  67.  
  68.           _vidblt is similar to the lattice movedata() function except 
  69.           that it waits for the video retrace signal before performing 
  70.           the block transfer.
  71.  
  72.           _vidblt is a general purpose function that can be used outside 
  73.           of the window environment.
  74.  
  75.         ^URETURNS^U
  76.  
  77.           Nothing
  78.  
  79.         ^UCAUTIONS^U
  80.  
  81.           For use in color systems only.
  82.  
  83.           _vidblt references wn_sbit.
  84.