Date: Thu, 4 Nov 1999 09:12:17 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Tim Updegrove cc: djgpp AT delorie DOT com Subject: Re: Allocating DOS memory in Windows In-Reply-To: <38205BE6.B7CF872B@lucent.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 3 Nov 1999, Tim Updegrove wrote: > This is a followup to a question on 10/15/99. I'm trying to get a > program which allocates DOS memory for a DMA buffer to work when booting > to MS-DOS and also work in a MS-DOS box under Windows 98. I can get > each to work in a separate program but I'm hoping to find a solution > that works both places in a single program. Please describe the problems that you are facing. 15 Oct was a month ago, and I don't expect anybody to remember; I certainly don't. Many news feeds would not hold articles for such a long time. > Booting to MS-DOS: > 1. Allocate DOS memory and use the returned segment*16 for the physical > DMA address and use the returned selector with _farpeekl and _farpookl. > > In a MS-DOS box with Windows 98: > 1. Allocate DOS memory and use the returned segment*16 for the physical > DMA address. Why is step 1 alone insufficient to make your program work on Windows?