BP COMPATIBILITY PACKAGE FOR GNU PASCAL (GPC) --------------------------------------------- v1.00: May 1997, Dr Abimbola A. Olowofoyeku (The African Chief) * the first consolidated release v1.10: October 1997, Dr Abimbola A. Olowofoyeku (The African Chief) * some bug fixes * some conditional defines to improve portability !!! TESTED ONLY UNDER DOS (DJGPP) !!! -------------------------------------- !!! NOT ALL THE ROUTINES HAVE BEEN TESTED !!! --------------------------------------------- NOTE: *** this package is supplied without ANY warranties. *** *** You use it ENTIRELY AT YOUR OWN RISK !!! *** The files in this package are divided into subdirectories, for convenience only. You may unzip all of them into one single directory - but if you want to reproduce the directory structure inside the ZIP file, then you need to use the "-d" switch, if you are using PKUNZIP (tm). This package serves two functions; 1. to provide UNITS for GPC in order to improve is compatibility with Borland Pascal 2. to provide a library of useful routines for GPC - some of them take the form of UNITs which import various routines from the C library. Some of the functions in the converted C headers will not work properly - if you can make them work, fine. If not, please don't mail me - I can't make them work either. ************ * CONTENTS * ************ 1. UNITS FOR "BORLAND PASCAL" COMPATIBILITY ------------------------------------------- Location: Root directory GPCTYPES.PAS - various type definitions SYSTEM.PAS - the main "BP" stuff SYSTEM.INC - "include" file for SYSTEM unit CRT.PAS - BP compatible CRT unit OBJECTS.PAS - BP compatible OBJECTS unit STRINGS.PAS - BP compatible STRINGS unit SYSUTILS.PAS - DELPHI compatible SYSUTILS unit DOS.PAS - BP compatible DOS unit DOSH.PAS - converted C header, needed by the DOS unit and the SYSUTILS unit XSYSTEM.PAS - extra vital system stuff - needed by the DOS unit GRAPH.PAS - Sven Hilscher's BGI2GRX stuff, packaged as the GRAPH unit GPCUTIL.PAS - Chief's Utilites unit - needed by some sample units NOTE: some of the BP and Delphi compatible units contain missing features, some things are quite different from the BP equivalents, and some of the routines do not work well. You need to test these things carefully !!! 2. SAMPLE UNITs and TEST APPLICATIONS ------------------------------------- Location: \EXAMPLES\ TIMER.PAS - sample unit for timing things KEYB.PAS - copy of a PD keyboard unit BIGCOPY.PAS - sample file copy program FILECOPY.PAS - - ditto - MV.PAS - sample file rename program OOPGPC.PAS - sample OOP unit - text windows and menus (for DJGPP) OOPTEST.PAS - test program using the OOP unit OOPTEST2.PAS - test program using the OOP unit, #2 TEST.PAS - general tests TESTCOLL.PAS - tests collections and streams TESTCRT.PAS - tests the CRT unit TESTDOS.PAS - tests the DOS unit TESTDPMI.PAS - tests the DPMI unit TESTMEM.PAS - tests various memory routines TESTOBJ.PAS - tests the OOP stuff TESTSTR.PAS - tests some string functions TESTSTRM.PAS - tests the Objects unit's Streams TESTSYS.PAS - tests the SYSUTILS unit TESTTIME.PAS - tests the timer unit TXT2EXE.PAS - converts ascii file to DOS executable 3. CONVERTED "C" HEADER FILES ----------------------------- Location: \UNITS\ BIOS.PAS CONIO.PAS CTYPE.PAS DIR.PAS DOSH.PAS DPMI.PAS ERRORNO.PAS FCNTL.PAS IO.PAS PC.PAS PROCESS.PAS STATS.PAS STDIO.PAS STDLIB.PAS STRINGH.PAS SYS.PAS TIME.PAS UNISTD.PAS VALUES.PAS 4. THIRD PARTY STUFF -------------------- Location: \3RDPARTY\ Various (slighlty amended) units from the SWAG archives They should compile okay - but they have not been tested as to how well they work. 5. OTHER FILES -------------- Location: Root directory GPCC.PAS - "GPCC" - compiler front end for GPC GPCC.EXE - compiled version of GPCC (16-bit DOS executable) GPCC.CFG - sample GPC configuration file for GPCC.EXE DEFINES.TXT - a collection of the conditional defines in various GPC ports --------------------------------------------- Dr Abimbola A Olowofoyeku (The African Chief) October 1997 E-mail: laa12@cc.keele.ac.uk Homepage: http://ourworld.compuserve.com/homepages/African_Chief/ ---------------------------------------------