home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / flash-c1.zip / CHA_1.DOC < prev    next >
Text File  |  1990-02-11  |  5KB  |  158 lines

  1. ..pgno01
  2. ..foot63AA-##
  3. ..head02L──────────────────────────────────────────────────────────────────────
  4. ..head04L──────────────────────────────────────────────────────────────────────
  5. ..head03LSUMMARY OF FUNCTIONS
  6.  
  7.                     VIDEO RELATED FUNCTIONS
  8.  
  9.  
  10. Global Variables
  11.    CheckSnow  : Byte;
  12.    TextAttr   : Byte;
  13.  
  14.    InsMode    : Integer;
  15.    VioBaseSeg : Integer;
  16.    VioCols    : Integer;
  17.    VioCursor  : Integer;
  18.    VioPage    : Integer;
  19.    WindMax    : Integer;
  20.    WindMin    : Integer;
  21.  
  22.  
  23. functions
  24.    Procedure BorderColor( Color );
  25.    Procedure ClrWin( x1, y1, x2, y2, Attr );
  26.    Procedure ColorMsg( x, y, Attr, Message );
  27.    Procedure ColorMsg( x, y, Message );
  28.    Procedure EditSt( Row,      StCol,  SpCol,    Len,
  29.                      CharCase, FillCh, AutoSkip,
  30.                      ErrTone,  ErrDur,
  31.                      VCSet,    TCSet,
  32.                      ChOfs,    TE,     St         );
  33.    Procedure FillColAttr( x, y, NRows, Attr );
  34.    Procedure FillColCell( x, y, NRows, Cell );
  35.    Procedure FillColChar( x, y, NRows, Ch );
  36.    Procedure FillFrameAttr( x1, y1, x2, y2, Attr );
  37.    Procedure FillFrameCell( x1, y1, x2, y2, Cell );
  38.    Procedure FillFrameChar( x1, y1, x2, y2, Ch );
  39.    Procedure FillRowAttr( x, y, NBytes, Attr );
  40.    Procedure FillRowCell( x, y, NWords, Cell );
  41.    Procedure FillRowChar( x, y, NBytes, Ch );
  42.    Procedure FrameWin( UL, UR, LL, LR, Hor, Ver, Attr );
  43.    Procedure GetFrameAttr( x1, y1, x2, y2, Buffer );
  44.    Procedure GetFrameCell( x1, y1, x2, y2, Buffer );
  45.    Procedure GetFrameChar( x1, y1, x2, y2, Buffer );
  46.    Procedure GetScrn( x, y, NWords, Buffer );
  47.    Function  GetVideoCols : Integer;
  48.    Procedure GetVideoInfo( BaseSeg, Cols, Pg, Mode );
  49.    Function  GetVideoMode : Integer;
  50.    Function  GetVideoPage : Integer;
  51.    Procedure GotoxyAbs( x, y );
  52.    Procedure HideCursor;
  53.    Procedure InitVideo( Mode );
  54.    Procedure PutFrameAttr( x1, y1, x2, y2, Buffer );
  55.    Procedure PutFrameWord( x1, y1, x2, y2, Buffer );
  56.    Procedure PutFrameChar( x1, y1, x2, y2, Buffer );
  57.    Procedure PutScrn( x, y, NWords, Buffer );
  58. ..page
  59. ..head02
  60. ..head03
  61. ..head04
  62.    Function  RvsAttr( Attr ) : Integer;
  63.    Procedure ScrollDown( x1, y1, x2, y2, Attr, NRows );
  64.    Procedure ScrollLeft( x1, y1, x2, y2, Attr, NCols );
  65.    Procedure ScrollRight( x1, y1, x2, y2, Attr, NCols );
  66.    Procedure ScrollUp( x1, y1, x2, y2, Attr, NRows );
  67.    Procedure SetCursorSize( StScan, SpScan );
  68.    Procedure SetVideoPage( PageNo );
  69.    Procedure ShowCursor;
  70.    Procedure VioInit;
  71.    Function  WhereXAbs : Integer;
  72.    Function  WhereYAbs : Integer;
  73.    Procedure WindowFP( x1, y1, x2, y2 );
  74.    Procedure WriteSt( String );
  75.    Procedure WriteStln( String );
  76.  
  77.  
  78.  
  79.  
  80.                   KEYBOARD FUNCTIONS
  81.  
  82. functions
  83.    Procedure BiosKbdClr;
  84.    Function  BiosKbdGetElmt : Integer;
  85.    Function  BiosKbdHit : Integer;
  86.    Procedure BiosKbdRead( Ch );
  87.    Function  BiosKbdStat : Integer;
  88.    Procedure DosKbdClr : Integer;
  89.    Function  DosKbdGetElmt : Integer;
  90.    Function  DosKbdHit : Integer;
  91.    Procedure DosKbdRead( Ch );
  92.    Function  GetKey : Integer;
  93.  
  94.  
  95.  
  96.  
  97.                    PRINTER FUNCTIONS
  98.  
  99. functions
  100.    Procedure BiosPrtChar( Ch, PrtNo );
  101.    Function  BiosPrtInit( PrtNo ) : Integer;
  102.    Function  BiosPrtStat( PrtNo ) : Integer;
  103.    Procedure DosPrtChar( Ch );
  104. ..page
  105.                 DISK AND FILE FUNCTIONS
  106.  
  107. Global Variables
  108.    INT2 DosErrNo;
  109.    INT2 CErrCode;
  110.    INT2 CErrType;
  111.    INT2 CErrDrive;
  112.    CHAR CErrDevice[9];
  113.  
  114. functions
  115.    Procedure CloseFile( Handle );
  116.    Procedure CreateFile( Path, Attr, Handle );
  117.    Procedure DosFindFirst( Path, Attr, FindRec );
  118.    Procedure DosFindNext( FindRec );
  119.    Function  GetDrive : Intger;
  120.    Procedure GetDTA( Segment, Offset );
  121.    Function  GetFileSize( Handle ) : LongInt;
  122.    Function  GetNDrvs : Integer;
  123.    Procedure OpenFile( Path, Attr, Handle );
  124.    Procedure ReadFile( Handle, NBytes, Buffer, RBytes );
  125.    Procedure ResetDisk;
  126.    Procedure ResetErrCodes;
  127.    Procedure RestInt24;
  128.    Procedure SetDTA( Segment, Offset );
  129.    Procedure SetInt24;
  130.    Procedure WriteFile( Handle, NBytes, Buffer, WBytes );
  131.  
  132.  
  133.  
  134.  
  135.                        MOUSE FUNCTIONS
  136. Global Variables
  137.    UINT NEvents;
  138.  
  139. functions
  140.    Function  MButtonPress( Button, ButPress, x, y );
  141.    Function  MButtonRel( Button, ButPress, x, y );
  142.    Procedure MGetPos( ButStat, x, y );
  143.    Procedure MGetSpeed( HorCnt, VerCnt );
  144.    Procedure MGraphCursor( XHotSpot, YHotSpot,
  145.                               CMaskSeg, CMaskOfs );
  146.    Procedure MHideCursor;
  147.    Procedure MInitEventHandler( EventMask );
  148.    Procedure MPollQue( &Event, &ButStat, &x, &y );
  149.    Function  MResetMouse( NBut : Integer ) : Integer;
  150.    Procedure MRetQue( Event, ButStat, x, y );
  151.    Procedure MSetPos( X,Y );
  152.    Procedure MSetSpeed( HorCnt, VerCnt );
  153.    Procedure MSetXRange( Min, Max );
  154.    Procedure MSetYRange( Min, Max );
  155.    Procedure MShowCursor;
  156.    Procedure MTextCursor( CType, SMask, CMask );
  157. ..page
  158.