From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: <7on5op$1h2s$1 AT nnrp01 DOT ops DOT uunet DOT co DOT za> Subject: Re: djgpp, assembler, dos interrupts and buffers Lines: 20 X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: Date: Wed, 11 Aug 1999 15:42:06 +1000 NNTP-Posting-Host: 203.40.83.237 X-Trace: newsfeeds.bigpond.com 934352006 203.40.83.237 (Wed, 11 Aug 1999 16:13:26 EST) NNTP-Posting-Date: Wed, 11 Aug 1999 16:13:26 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Patrick Hogan wrote in message <7on5op$1h2s$1 AT nnrp01 DOT ops DOT uunet DOT co DOT za>... >Hi, > >I'm trying to convert some C/C++ code (djgpp) into assembler for a project >I'm working on. I've come across a major problem, djgpp doesen't like dos >interrupts when dos buffers are involved. I do understand the difference >between protected mode linear memory and the real mode memory but even >compensating for this by providing the proper segment and offset, refuses to >work. Let me provide an example : See section 18.2 of the FAQ. -- Johan Venter ICQ 3643877 Visit The TPU DJGPP Interest Group: http://surf.to/djgppig