?
Solved

How to write a program for IRQ7?

Posted on 2003-03-13
5
Medium Priority
?
312 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
3 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I am posting this in case anyone runs into similar issues that I did, this may save you a lot of grief: Condition: 1. Your NetBIOS domain name contains an ampersand " & " character.  (e.g. AT&T) 2. You've tried to run any Microsoft installation…
Whether you have a site with just static html pages or a dynamic database-driven one, this step-by-step migration guide will help you get started with your new DV server. This guide is by no means comprehensive but it should cover the basics to get …
Integration Management Part 2
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

621 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