www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/31/13:17:39

Date: Thu, 31 Jul 1997 10:14:41 -0700 (PDT)
Message-Id: <199707311714.KAA18628@adit.ap.net>
Mime-Version: 1.0
To: overlord AT fm-net DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: DMA and You :-)
Cc: djgpp AT delorie DOT com

You wrote:
>I seem to be having difficulty fathoming the whole picture of the 4 gig
>address space DJ gives you access to.  The problem is that i programmed
>the DMA with a seg::off in 16 bit using BC4 and now how the heck do ya
>in DJ, how does it all work together as far as the DMA and a Pmode
>environment, and where did Expose go?  That last bit was just a poke at
>humor :)
You will probably use __dpmi_allocate_dos_memory to make a DMA buffer, read
FAQ section 18.9 for information about using the IRQ (if you need to), and
use dosmemget/dosmemput to load stuff into the buffer. The nearptr hack can
be used if speed is desperately needed; YMMV.
HTH

Nate Eldredge
eldredge AT ap DOT net



 programs.
Warning: stub.asm is a very tense piece of code. I managed to change the
message without difficulty, but YMMV. I would not suggest making the message
longer than it is. Keep a backup of stubify, go32-v2, etc; the makefile
overwrites them without warning, which is a problem if they don't work.

HTH


Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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