From: "Graham Warren" Newsgroups: comp.os.msdos.djgpp Subject: Memory addresses Date: Wed, 7 Jun 2000 10:09:13 +0100 Organization: Tesco ISP Message-ID: <8hl37s$b3v$1@barcode.tesco.net> NNTP-Posting-Host: 212.140.64.141 X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Lines: 22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi there, 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? Is this the same for all interrupts where addresses are passed or recieved? /* */ sregs.es = FP_SEG (&info); /* segment of data structure */ regs.x.di = FP_OFF (&info); /* offset of data structure */ /* interrupt called */ 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. Thanks a bunch Graham.