Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : DBTOC.ZIP
Filename : SCROLLUP.C

 
Output of file : SCROLLUP.C contained in archive : DBTOC.ZIP
#include "\lc\header\dos.h"


/*---------------------------------------------------------------------------
SCROLLUP - Scroll Window Up

no_lines = number of lines to scroll, =0 to blank the window
y1 = ch=row number of upper left corner
x1 = cl=column number of upper left corner
y2 = dh=row number of lower right corner
x2 = dl=column number of lower right corner
attr= bh=disp attribute for blank lines, see screen.h

--------------------------------------------------------------------------*/

int scrollup(y1,x1,y2,x2,no_l_ines,attr)

int x1,y1,x2,y2,no_l_ines,attr;

{

union REGSS inregs;

if(y1<0 || y224 || x1<0 || x279 || no_l_ines > 24 || no_l_ines < 0)
return(0);


inregs.h.ah = (char)6;
inregs.h.al = (char)no_l_ines;
inregs.h.ch = (char)y1; /*load registers */
inregs.h.cl = (char)x1;
inregs.h.dh = (char)y2;
inregs.h.dl = (char)x2;
inregs.h.bh = (char)attr;

vidint(&inregs); /* call BIOS video interrupt */

return(0);

}



  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : DBTOC.ZIP
Filename : SCROLLUP.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/