[comp.lang.pascal] Turbo Pascal Driver Implementation question

jmbj@whuts.ATT.COM (BITTMAN) (01/05/89)

I'm interested in using drivers in my Turbo Pascal 5.0 application.  
I would like to be able to pass parameters to these routines.  
In the past I've used ram resident routines loaded
to known software interrupt locations, but these needed to be run
before the application, and removed afterwards.

	- Is it better to use .exe, .com, or some other format?
	- Is it best to pass parameters on the stack, using
	  registers, or some other way? 
	- I'm assuming that to transfer control I'll use
	  the addr(procedure) function, does program execution
	  begin at the first location in exe/com formats?

I would appreciate any and all hints/suggestions/pointers, and will
summarize or forward responses if requested.

Thanks Netlanders!
Jim Bittman, whuts!jmbj