Mail Archives: djgpp/1998/05/17/08:36:08
On Sat, 16 May 1998, Luke Strozek wrote:
> 1. I`ve downloaded DJGPP several days ago. I`m only a beginner and I
> would like to know if there is any function in GCC that makes a
> pointer to a specific memory field. In Borland C/C++, which I used
> before, there was such function called MK_FP. And what about FP_SEG
> and FG_OFF?
This is done differently in DJGPP. See sections 18.2 and 18.4 of the
DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP).
> 2. I would also like to know how to generate interrupts in DJGPP using
> REGS union and SREGS. The int86 function has only one union as a
> parameter. And what if I would like to include registers like ah and
> es in ONE interrupt?
The above FAQ references have this info as well.
- Raw text -