[comp.sys.mac.programmer] ADB Question

paleo@ecsvax.uncecs.edu (Dr. Constantine A. LaPasha) (08/31/88)

We have a Summagraphics BitPad Plus digitizing tablet connected
'to a Mac-SE via the ADB and are running v6.0 system and v6.1 finder.
I am currently using Turbo Pascal v1.0 (Borland Int.).  
QUESTION:  Is there any way to interface with the ADB routines
using Turbo Pascal (not supported in the interface units supplied
by Borland)?  I would prefer to continue using TP rather than 
investing in another compiler at this time.  Can anyone tell
be how to get my program to talk to the ADB?
(the summagraphics example program makes the following calls:
  function ADBOp( dbptr:ptr; compRout:procptr;
                  listenptr:ptr; command:integer):integer;
  function countADBs: integer;
  function getIndADB( block:ADBdataBlock; index:integer):ADBaddress;

  type  ADBdatablock = record
                           ...??...
                           devType:integer;
                           ...??...
                       end;

Help!  It would really be nice if I could set the tablet parameters
from inside the program rather than forcing the user to set the
tablet into the proper mode before running the application.

Thanks for any help.

C. A. LaPasha
Department of Wood and Paper Science
North Carolina State University
(box 8005) Raleigh, NC 27695-8005

UUCP  paleo@ecsvax
BITNET  paleo@ecsvax