Date: Sun, 17 May 1998 14:28:19 +0300 (IDT) From: Eli Zaretskii To: Luke Strozek cc: djgpp AT delorie DOT com Subject: Re: Question about DJGPP In-Reply-To: <19980516194750.22475.rocketmail@send1e.yahoomail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.