Category : C Source Code
Archive   : JAZLIB.ZIP
Filename : JZPGEPRN.C

 
Output of file : JZPGEPRN.C contained in archive : JAZLIB.ZIP
/*
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³jzpgeprn.c ³
³Print directly to the screen and to a specific page ³
³Unfortunately, out of lazyness, I don't avoid snow on this routine. ³
³ ³
³ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
*/

jzpgeprn(fstr,frow,fcol,fattr,fpage)
char *fstr;
int frow,fcol,fattr,fpage;
{
int far *screen;
register wcharattr,wchar;

screen = (int far *) 0xb8000000;

wcharattr = fattr << 8;

screen += fpage * 2048 + (frow * 80 + fcol);

while (*fstr) {
wcharattr &= 0xff00 ;
wcharattr |= *fstr++;
*screen++ = wcharattr;
}
}





  3 Responses to “Category : C Source Code
Archive   : JAZLIB.ZIP
Filename : JZPGEPRN.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/