home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 1 / FishNMoreVol1.bin / more / code_examples / librar / scr_eos.c < prev    next >
Text File  |  1989-02-08  |  515b  |  23 lines

  1. /*--------------------------------------*/
  2. /*                    */
  3. /*              SCR_EOS()        */
  4. /*                    */
  5. /* Clears the part of the screen immed- */
  6. /* iately below the cursor position.    */
  7. /*                    */
  8. /*--------------------------------------*/
  9. void scr_eos()
  10. {
  11.         int a[6],b[6],x,y;
  12.         scr_loc(&x,&y);
  13.         intinit(a,6,0);
  14.         a[0]=1792;
  15.         a[1]=2047;
  16.         a[2]=256*(x+1);
  17.         a[3]=6223;
  18.         int86(16,a,b);
  19.         a[0]=1536;
  20.         int86(16,a,b);
  21.         scr_curs(x,y);
  22. }
  23.