www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/20/14:44:56

Date: Thu, 20 Apr 95 13:34:57 EDT
From: skr5 AT cornell DOT edu (Steven K. Rossi)
Reply-To: skr5 AT cornell DOT edu (Steven K. Rossi)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: dosmemget and dosmemput

>I think dosmemget/put use byte reads to access this memory.  Some 
>shared memory devices require word accesses to work properly; this
>might be your problem.  Try looking at the functions in sys/farptr.h
>and trying one of them to do word accesses and see if the problem
>goes away.  Good luck.

Indeed this was the problem! I tried the _farnspeekw and
_farnspokew
functions and they solved all of my problems.

Thanks for all the responses!

Steve

_____________________________________________________________________
Steven K. Rossi                        	skr5 AT cornell DOT edu
319 Highland Rd. #7A			Cornell University
Ithaca, NY 14850	                M.Eng. Electrical Engineering

http://www.cs.cornell.edu/Info/People/srossi/srossi.html
---------------------------------------------------------------------
Get WARPED today! ... OS/2 Warp!

- Raw text -


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