R U N T I M E O N L Y version of BP4OS2 - Borland Pascal for OS/2
The BP4OS2 project started as an article "Wunderkind" by Matthias Withopf in the 11/93 issue of the German computer magazine "c't - magazin fuer computertechnik."
This file will allow you to compile both Presentation Manager and command line OS/2 Programs. You will need Borland Pascal version 7.0 or 7.1. It does not include the ability to recompile the runtime libraries. The install program copies the Borland compilers and patches the copies. Everything except the original zip file and install.cmd will be placed in the \BP\OS2 directory. You should consider this code to be pre beta level.
To install: Copy the archive to the drive that contains Borland Pascal. (You can do this from any directory, including the one you download it to.) Use DOS to run your PKZIP 2.04 compatible unzip program to extract INSTALL.CMD then execute it. You must include PKUNZIP in the DOS path of your AUTOEXEC.BAT file for this install to run. From an OS/2 command line session:
]COMMAND /CPKUNZIP BP4OS2R.001 INSTALL.CMD
]INSTALL
The patch will create a new directory \BP\OS2 and place all files in that directory. You can remove the entire patch by erasing and removing that directory. This archive contains the following files:
README.DOC Documentation for Runtime version
COMPATIB.PAS Unit to emulate some DOS services.
COMPATIB.TPO OS2 Compatibility unit. TPO is TPU for OS/2.
CRT.PAS Interface to CRT unit.
CRT.TPO OS2 CRT Unit.
DOS.PAS Interface to DOS unit.
DOS.TPO OS2 DOS Unit.
ENGLISH.PAS German comments translated to English.
INSTALL.CMD REXX program to install the OS/2 compiler.
MAKEPM.EXE Program to mark programs as PM capable.
OS2.TPL Runtime library. TURBO.TPL for OS/2.
PATCH.BAT Batch file to patch programs. Used by INSTALL.CMD
PATCHBP.EXE Program to patch the Borland compilers.
THREAD.PAS Program to demonstrate multiple threads.
VIDEO.PAS Program to demonstrate Video Calls.
WHEREIS.PAS Whereis written in Pascal for OS/2.
There are hundreds of system calls that still must be ported. I will be compiling a list of needed functions in order to prioritize the project. Let me know if you need a function that is not available yet or if you have system programming, assembly, or OS/2 skills and you are willing to help port the OS/2 API to Pascal, or document it.
Bug reports, solutions and comments are welcome! If you find a bug please create the smallest program that will demonstrate the bug and send it to me. (Rick Widmer) The smaller the program to demonstrate the bug, and the clearer the information about it the higher the priority it will get. Please consider _every_ incompatibility with the DOS compiler as a bug, even if you know a work-around.
RTL source code will be available some time in the future. There are a number of issues to clear up before posting. I hope to have them cleared up in the next week or two. Even if you don't need the RTL source you should keep watching for updates.
Compuserve: Rick Widmer 72162,470
Internet: 72162.470@compuserve.com
You can send c-mail or meet us on the BPascal forum section 17. Please include the name BP4OS2 in any threads you create about this archive.