delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/22/07:39:42

Message-ID: <35DEAD9C.38821F62@Wanadoo.fr>
Date: Sat, 22 Aug 1998 13:38:04 +0200
From: Poppleton <Alan DOT Poppleton AT wanadoo DOT fr>
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: mapping i/o ports?

Hello,

    I just have a few questions about I/O ports.  I had heard somewhere
that it is possible to map certain ports into memory, which speeds up
the reading and writing of ports, is this correct?  If so, would it not
be possible to map every port into memory, assuming there are 65536
ports each longs that would only take up 256K, which I certainly can
spare if the speed up is significant.  Could anyone please tell me if
this would be possible, and if so some example code on how it would be
done.

Thanks a lot,
    Tony

- Raw text -


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