Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to find vga.h

0 views
Skip to first unread message

ericmatteson...@hotmail.com

unread,
Oct 21, 2006, 2:14:02 PM10/21/06
to
What can be done when it is impossible to find
vga.h ??
Use this zackvga.h
In October 2006 far too many Linuxes lack the
easy to program for vga.h
This zackvga.h is designed to replace vga.h and
use XWindows to implement vga.h functions.
end of header long comment */
// beginning of zackvga.h
// copyright 2006 by Eric Matteson
// Permission is granted to copy this source
// code zackvga.h and to publish it on the Internet
// and to use it at least for non profit use.
// this header file requires wgslater.c to help
// vga.h functions run on Linux XWindows
// This zackvga.h for XWindows is written by
// Hollywood scriptwriter Eric Matteson.
// this is zackvga.hxw on floppy and is
// zackvga.h on XWindows hard drive partition
#include<stdio.h>
#include<dirent.h>
#define G640x480x16 4
#define G640x480x2 9
int slaterargct;
char** xwsixplanes;
#include "wgslater.c"
int zackmain(int,char**);
int main(int hxwactr,char** hxwacc)
{
int hxwhret;
slaterargct = hxwactr;
xwsixplanes = hxwacc;
hxwhret = zackmain(hxwactr,hxwacc);
return hxwhret;
}
// this zackvga.h replaces vga.h
// zackmain(int,char*) replaces main in user program
// end of zackvga.h
/* the above zackvga.h requires a helper file called
wgslater.c that does the actual implementation of vga.h
in XWindows.
click on the link below to access
wgslater.c
http://groups.google.com/group/comp.os.linux.misc/msg/fe1bbfa146652b66?dmode=source&hl=en
To download c programs from the Internet choose origonal article if not
already there
*/
// instead of the summarry.
// use select all and copy
// to clipboard at web browser
// then in kedit or gedit or notepad use paste
// then before top of article add
/*
// to eliminate header
// then after bottom use
*/
// to eliminate trailer
// most programs for zackvga.h have a bottom of a long comment at the
// top and the top of a long comment at the bottom so just make a long
// comment out of the whole thing to get rid of the
// header and trailer.
/* bottom is start of trailer comment
The zackvga.h and wgslater.c are header files that are used by
applications
programs that include zackvga.h
zackmain(int,char**) is used instead of regular main
zackvga.h is used instead of traditional vga.h when vga.h is not
available.
Check the linked to wgslater.c to see which vga.h functions are
implemented.
Screens G640x480x2 and G640x480x16 are supported.
Eric Matteson
ericmatteson2003novem...@hotmail.com

0 new messages