Documentation for file.inc file routines for
	Dieter Pawelczak's Pro32 DOS Extender
		code and doc by Chris Hazard

These file commands are rather simple, yet they are a needed addition to
nearly every programming library.

To use:
	When dealing with files, you need to keep a file handle for each one.
This is a WORD long number, and you should use these variables individually
to reference the file.

	All of the routines are self-explained in file.inc above the
declarations:
fclose
fopen	-this uses R, W, and RW for how to open the file
fread
fwrite
fseek	-this is the one you use SEEKBEG, SEEKCUR, and SEEKEND

Pcx.inc
 -this will open a pcx file into a memory location specified in btemp
 -I have not yet written the routine to write pcx files (comming soon?)
 -It does not read in the color! -the reason is that I am writing a game,
	(see vdoc.txt) and you only use one palette for all graphics
	(even though my program only imports pcx files onto sides of
	polygons).  Either read in the palette (find some other pcx doc),
	or just set the doc first.  (I have written my own palette generator
	for my game (using C++) that also outputs .act files for photoshop,
	so I just use that palette over my graphics before saving into pcx)
 -be patient! -some larger files may take a while (some pcx's that don't
	rle compress well have taken up to a minute or more on my 100MHz Pent
	machine!

Good Luck Coding!

If you have any questions, comments, suggestions, problems...
e-mail me

-Chris Hazard
	chazard@hartford.k12.wi.us (see other files for e-mail info)

This code may be freely distributed, but it must remain unaltered for
distribution.  Anyone reading this has permission to use all or any
portion of this code in any freeware, shareware, or commercial application.
The author is not liable for any damage or effects of this code, and it comes
with no gaurantees.  I do not require you to include any reference to
me in any application in which you use any or all of this code (including
commercial applications), but the inclusion of my name and what I did
(this code has no true name) in the credits/about would be greatly
appreciated.
