C++/IRQ15

Advertisement


Question
hello sir,
 
I want to read secondary IDE interrupt flag (IRQ15) in my program. I'm using Microsoft Visual C++ 6.0. I can't use set-vector or get-vector functions from dos.h because these are 16bit functions. I need some other way to read IRQ15 in Win98.

thank you

Answer
Mohammad , Thank you for your question.

Windows does not support IRQ programming. Windows uses an entirely different model of device control. Windows "virtualizes" (hides) the IRQs. In general, you cannot do DOS-style I/O under Windows.

You can read about Windows device control at Microsoft's MSDN Library at http://msdn.microsoft.com.

David Spector

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


David Spector

Expertise

Highly knowledgeable in the C++ language, Visual C++ (MSVC), Windows API, documentation and other quality-assurance techniques, and debugging. Knowledgeable in MFC, COM, GUI design, and object-oriented design.

Experience

I have been a software engineer since 1965. I have been published. My specializations have been: biomedical programming, compiler implementation, and many kinds of Windows programming. I don't do Databases or other business-oriented stuff.

Publications
Windows?/DOS Developer's Journal, ACM SIGPLAN Notices, and Computer Science Press.

Education/Credentials
ICCP Systems Programming Certification
Master's degree equivalent in Computer Science

©2016 About.com. All rights reserved.