www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/13/16:31:01

Date: Wed, 13 Jan 1999 16:30:50 -0500
Message-Id: <199901132130.QAA04985@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <77j0a0$44u$1@nslave1.tin.it> (k6@lycosmail.com)
Subject: Re: accessing a memory mapped device
References: <77j0a0$44u$1 AT nslave1 DOT tin DOT it>
Reply-To: djgpp AT delorie DOT com

> How can I read/write to a memory mapped device under and below 1M ?
> Should I use DPMI and if so what is the sequence of the call ?

If it's under 1M you can use <sys/farptr.h> to access it, or see the
FAQ about accessing video memory - the procedure is the same.

- Raw text -


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