Mail Archives: djgpp/1993/10/22/18:25:16
> I had been using in the past an older version of djgpp but
> I had a serious problem. I couldnt link with real mode obj
> or lib files. I am mostly talking about commecrial libraries
> as those provided by National for its GPIB boards or graphics
> packages which come with "standard" real mode DOS utilities
> (libs, objs, dlls, ...whatever).
> I wonder if the latest version of djgpp has this capability
> or what i must do to achieve this purpose
No, this is pretty much an impossibility due to different object module
formats, and one being a flat 32 bit model and the other being a 16 bit
segmented model.
There is a workaround - you must add the subroutines you want to call to
GO32 and call them through execption_handler in exphdlr.c. This is how
the extender calls the DOS routines. Choose an unused interrupt and
code your own "turbo_assist" type funtion to call these routines.
- Raw text -