I've been using Borland's Pascal products since
the first release of the CP/M version, and followed all
the DOS/Windows versions through to the current incarnations of
Delphi for Windows and .NET. Apparently there are still folks out there
using/discovering the DOS versions of Turbo Pascal (which should
actually be no surprise with DOS being used in a number of
imbedded applications ...)
I've occasionally seen a few requests on the news-servers for
help with window generation/control & mouse functions for
non-TurboVision applications. I dug up some of my old routines
& placed them here.
Pascal Source Files:
-
SimplWin.ZIP -
DOS Turbo Pascal source for a simple, object oriented
window management unit. Window objects remember
underlying text & cursor information, and restore
them when the window is removed.
-
Sound.ZIP - DOS
Turbo Pascal source for playing monotonic music.
Units include ISR (interrupt service routine) based
mechanism for "background music", and TV idle
routine for use under TurboVision.
-
MOUSE.zip - Mouse
support for DOS Turbo Pascal Routines (adapted from mid
80's Turbo Technix article).
-
Bp7xbase.zip - Object
oriented Turbo Pascal Routines (BP7) for access to Xbase
data files. Contact me by e-mail for usage samples if reading
the code doesn't provide enough clues. Note:
this version does not support indexed access, but does support
memo fields.
Pascal based DB applications, done using the TurboVision
application framework:
-
Spy.ZIP - TV based
DOS Turbo Pascal application for viewing 3.2 & 4.0
version PRODAS files. (PRODAS is a PC based product of
Conceptual Software, Inc. that provides data management
& statistical capabilities similar to SAS. It has
been used by Center for Disease Control, and the Federal
Bureau of Prisons in PC based information systems.) SPY
includes the ability to view multiple files, to edit
records, search & generate subsets of the datafile.
Built using an object oriented support unit for PRODAS
data file access. Source on request.
-
DBSpy.ZIP - TV
based DOS Turbo Pascal application for viewing xBase
files, with features similar to the PRODAS version. Built
using an object oriented support unit for xBase data file
access. Source on request.
Pascal Patches (TP7 and BP7) :
Please note that I did not author any of the following patches.
They were collected from a variety of locations over the years.
-
bp7patc1.zip -
Patches for Turbo Pascal 7, includes patch for CRT unit for
error 200 (division by zero) for fast CPU's. Requires unit
source code and recompilation of programs.
-
bp7patc2.zip -
Patches for Turbo Pascal 7, includes patch for CRT unit for
error 200 (division by zero) for fast CPU's, and patches for
other popular add-ons (async pro, turbo pro, novell client 32,
etc.). Requires recompilation of programs.
-
tppatch.zip -
Patch for Turbo Pascal 7 for error 200 (division by zero)
on fast CPU's. Patches real mode executables "in-place", no
recompiling required. Includes batch file for NT operation.
Documentation in english and german. (I used this on a number
of our legacy executables with no problem ...)