[comp.sys.mac.programmer] Writing Async device drivers in MPW C/Pascal

zarko@watale.waterloo.edu (Zarko Draganic) (02/21/89)

Hi- MPW's DRVRRuntime lib allows you to write a device driver in a
high level language - it takes care of returning in the proper way
(via JIODone or RTS depending on the call). As a result, the driver 
handles all calls synchronously because there's no other choice.
   
Does anyone have some better DRVRRuntime glue which allows a driver to
call routines to 1)check whether his call was IMMED or ASYNC, and 
2) call exit routines for IODone/IONotDone or immed RTS, accordingly. 

Yeah, I know it'd be easier to just write the whole drvr in asm, but someone
is supplying C and Pascal code which I'd rather not port.
If no-one has the glue, I will write it- mail me if you could use it.

kilothanx,

** zarko@watale.uwaterloo.ca                                 **
** The IBM weenies here don't care about my opinions anyway. **