Solved

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

Posted on 1997-04-13
1
486 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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. …
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

708 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

13 Experts available now in Live!

Get 1:1 Help Now