Thread View: comp.windows.ms.programmer
1 messages
1 total messages
Started by Kai Kenner
Sun, 26 Jul 1992 03:31
How to perform memory-mapped hardware I/O in Windows?
Author: Kai Kenner
Date: Sun, 26 Jul 1992 03:31
Date: Sun, 26 Jul 1992 03:31
13 lines
962 bytes
962 bytes
I'm trying to translate a small C++ DOS program to run as a Windows app and I'm having trouble because the program writes directly to an area above 640K (D000:0000), which is where an IO card that the program works with attaches. The program throws an exception (GP fault) when it attempts to write bytes to that area of memory, obviously because Windows runs in protected mode. So how do I send data to the card? A small example of code would be greatly appreciated. Thanks, Kai Kenner forte@cerf.net
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads