Mail Archives: djgpp/1999/11/04/06:07:44
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?
- Raw text -