Message-Id: <200006071707.UAA18091@mailgw1.netvision.net.il> Date: Wed, 07 Jun 2000 20:06:10 +0200 X-Mailer: Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b From: "Eli Zaretskii" To: "Graham Warren" CC: djgpp AT delorie DOT com In-reply-to: <8hl37s$b3v$1@barcode.tesco.net> (Moosehead@tesco.net) Subject: Re: Memory addresses References: <8hl37s$b3v$1 AT barcode DOT tesco DOT net> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Graham Warren" > Newsgroups: comp.os.msdos.djgpp > Date: Wed, 7 Jun 2000 10:09:13 +0100 > > I'm brand new to DJGPP programming and have a question. In a > Turbo C program I have the following code to put the address of the 'info' > structure across the registers es:di before and interrupt is called. My > question is - in 32-bit protected mode how do I go about doing the same > thing? The interrupt called is one of the VESA ones, does it want a real > mode address or the protected mode address. How do I pass these to it? Sections 18.1 and 18.2 of the DJGPP FAQ list (v2/faq230b.zip from the same place you get DJGPP) should explain this. > One other thing, please could anyone recommend a tutorial or website where I > can find information on, and about programming in 32-bit p. mode. Read chapter 18 of the FAQ, it explains quite alot and also points you to additional resources.