www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/17/08:36:08

Date: Sun, 17 May 1998 14:28:19 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Luke Strozek <luke_strozek AT yahoo DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Question about DJGPP
In-Reply-To: <19980516194750.22475.rocketmail@send1e.yahoomail.com>
Message-ID: <Pine.SUN.3.91.980517142755.14173Y-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019