Solved

Programming DMA transfer in Visual C++ 4.2 (Windows 95)

Posted on 1997-04-13
1
489 Views
Last Modified: 2008-03-10
How do I initialize the DMA controller with physical address while in Visual C++ 4.2, we're dealing with virtual addresses?
0
Comment
Question by:industx
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 200 total points
ID: 1162695
You cannot access the physical devices directly with Win32 SDK since it is device independent. However, you can use the device IOCTL interface in an application to carry out "low-level" operations that are not supported by the Win32 API and that require direct communication with a VxD. Windows 95 implements the interface through the DeviceIoControl function, which sends commands and accompanying data directly to the given VxD. But you must have a VxD that controls the DMA. Please see Visual C++ 4.2 documentations for more information:
SDKs/Win32 SDK/Programming Guides and Tools/Programmer's Guide to Windows 95/Using Windows 95 features/Device I/O Control.
If you would like to program the DMA controller directly, what you need is Windows 95 DDK (Device Driver Kit) that is used to develop all kinds of device drivers.


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Want to delete all my personal data 13 138
returning a dereferenced pts in C++ 10 141
How to print into std::string like sprintf using C++11? 12 49
Why isn't object file created? 6 42
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now