?
Solved

How to write a program for IRQ7?

Posted on 2003-03-13
5
Medium Priority
?
309 Views
Last Modified: 2008-02-01
Hello, All,

I would like to write an assembly code in MASM32 for Win2000 platform to handle the IRQ7 from parallel port.  The ISR will read the 8-bit data appears on the parallel port data line and store to a user buffer area.  Can anyone help?

Thanks a lot,

chen_ing
0
Comment
Question by:chen_ing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 11

Expert Comment

by:dimitry
ID: 8134233
As far as I know you need to write Win2000 driver to handle IRQ inder Win2000. You can't simply hook BIOS interrupt 0Fh that corresponds to IRQ7. Moreover you even
can't use IN and OUT commands in user application in Win2000. You can do this only from the driver or you can
also use special trick that allows I/O commands.
0
 
LVL 9

Expert Comment

by:BeyondWu
ID: 8142521
1.You can refer the ParPort sample under DDK.
2.You also can simply implement a filter driver hook the generic parallel driver.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 10315164
PAQed - no points refunded (of 35)

modulo
Community Support Moderator
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Introducing Priority Question, our latest feature.
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

770 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