www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/15/07:39:50

Date: Mon, 15 Sep 1997 14:36:30 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Cthulhu <I DOT Vighetto AT avigliana DOT alpcom DOT it>
cc: djgpp AT delorie DOT com
Subject: Re: Dos memory access & interrupt
In-Reply-To: <341a68d0.236836@news.polito.it>
Message-ID: <Pine.SUN.3.91.970915143611.22620C-100000@is>
MIME-Version: 1.0

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.

- Raw text -


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