www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/01/15:58:58

Date: Tue, 01 Jun 93 12:14:42 PDT
From: Peter Crowley <pcrowley AT qdeck DOT com>
To: Piet=Mertens AT users DOT qdeck DOT com, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: analog I/O with go32

>Does someone have experience with programming analog-to-digital
>and digital-to-analog converters with DJGPP ?
>For high conversion rates (typ. 10 kHz), a simple polling procedure will
>probably loose samples while the memory buffer is being copied to virtual
>memory (expanded memory or disk memory) by go32.
>I don't know whether DMA can access expanded memory directly, but even if
>this is the case, there must be a way to "wire" those memory blocks
>(to avoid them from being swapped out by go32), as is done on certain Unix
>systems.
>Will go32 2.0 have a provision for "wiring" memory blocks ?
>
>A pointer to available source code would be mostly appreciated.

If your memory buffer can be mapped in the 1st Meg region there is no need to
copy it. All of the 1st Meg is mapped in protect mode at 0xe0000000.

Peter Crowley
Quarterdeck Offices Systems
pcrowley AT qdeck DOT com


- Raw text -


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