Files from Questions in Pascal Newsgroups
These files are (generally) for Turbo / Borland Pascal as either
source or compiled units in response to a number of articles answered
in pascal newsgroups:
borland.public.turbopascal
comp.lang.pascal.borland
comp.lang.pascal.misc
All the files are in .ZIP format and were zipped with V2.04 of PKZIP.
The code comes from a number of sources.
Latest Version of the comp.lang.pascal.borland mini-FAQ
Latest Versions of CTL3D.DLL & CTL3DV2.DLL for Win
3.1x
Helps to solve problems with TPW programs crashing as some ill-behaved installation software will overwrite these files with what may be older versions.
How to create DOS Programs with Delph V1 The command line compiler, DCC.EXE, for Delphi V1 has undocumented switches. This file tells you how to use it as Borland Pascal V8.
XMS Access Unit Provides a means for real mode programs to access XMS memory above the 1Mb limit for data storage. Also shows how to move the overlay into XMS
Free
all memory to execute program
Saves whole program to disk or EMS except for a small reloader needed to restore the program after executing a program, DOS Shell or DOS Command
Calculator
Unit given a string as Input
Recursive calculation of inputted strings in the form of "2 + 4
* ( 6 - 2)"
.WAV Player Program to play .wav files from Turbo/Borland Pascal real mode programs.
Large strings for calculations Unit demonstrating how to use strings for number storage when calculating numbers outside of the supported integer ranges.
Read windows clipboard in real mode program Shows how you can copy text (up to 64K) from the windows clipboard to a DOS program, manipulate the data and then return it to the windows clipboard.
Pseudo-Multitasking for Real and Protected Mode A unit that enables your program to run what appears to be concurrent tasks - requires the programmer to build in time slice release.
How to Get and Set the Program and Master System Environment variables Unit to set program and master environment as using the SET command from a DOS Shell or from your program does not work.
Overlay Size Information Program Given a .MAP file generated during compilation, this program can help you determine the sizes of the units in your overlay file - useful for optimising overlay usage.
Stack and Heap Check
Public Domain unit to report on maximum Stack and Heap usage in a
program on termination.
Replacement drivers.pas for Windows 2000
Using a mouse in Turbo Vision protected mode programs under Windows
2000 or Windows XP causes "Runtime Error 216". This is caused by the
mouse being interrupt driven. This drivers.pas changes the mouse to
a polling method and will solve the problem. This unit can also be used
in real mode.
|