[comp.sys.ibm.pc] Wanted: format of binary file to link external routines in Turbo P 3.0

kushmer@bnlux0.bnl.gov (christopher kushmerick) (05/05/90)

I have a set of routines to drive my data translation D/A card. The routines
are in binary format with a turbo pascal 3.0 interface. I want to convert
to Turbo 4.0 or 5.0.

The external declarations look like:

funtion initialize : integer; external 'pcltp.bin';

function Terminate : integer; external initialize[3];

function selectBoard (...) : integer; external initialize[6]
.
.
.

When I dump pcltp.bin, I see a jump table followed by the code.

So, two questions, 1 msdos,  1 turbo pascal

MSDOS: what is the format of such a .bin file (Produced for example by 
exe2bin.exe ?

Turbo pascal: How come turbo does not complain in the above example, when
initialize, a function, is then referenced as an array?

In general, if anyone can help me in thid conversion, I would appreciate it.

there are a ton of msdos books out there. Which are the good ones?



-- 
Chris Kushmerick

kushmer@bnlux0.bnl.gov
kushmerick@pofvax.sunysb.edu