Date: Mon, 15 Sep 1997 14:36:30 +0300 (IDT) From: Eli Zaretskii To: Cthulhu cc: djgpp AT delorie DOT com Subject: Re: Dos memory access & interrupt In-Reply-To: <341a68d0.236836@news.polito.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Sat, 13 Sep 1997, Cthulhu wrote: > I have to do a code that calls interrupt 2Fh, service 1501h, there is > a little buffer (5 * cdrom_number) that I have to pass in ES:BX and > the interrupt fills it with a number (BYTE) and an address in segment, > offset. I tried to use __dpmi_allocate_dos_memory or > _go32_dpmi_allocate_dos_memory but I have many problem with this. Please post more specific questions. Did you read section 18.2 of the DJGPP FAQ list (available as v2/faq210b.zip from the same place you get DJGPP)? If not read it. Posting fragments of your code would be nice also. Btw, you don't need to allocate your own DOS buffer, you can just use the transfer buffer. This is also explained in section 18.2 of the FAQ.