Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

How to detect the IRQ line using VB ?

Status
Not open for further replies.

tcwong3

Junior Member level 2
Joined
Mar 29, 2004
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
182
detect irq event c/c++

How can I generate and interrupt event and jump to interrupt service routine when any IRQ pins from ISA/PCI card is triggered? How can our program detect the IRQ line?

Thanks in advanced.
 

cent24.3

Member level 2
Joined
Jul 14, 2004
Messages
46
Helped
4
Reputation
8
Reaction score
3
Trophy points
1,288
Activity points
304
Re: IRQ Line Detection

Hello,

tcwong3 said:
How can I generate and interrupt event and jump to interrupt service routine when any IRQ pins from ISA/PCI card is triggered? How can our program detect the IRQ line?

Thanks in advanced.
Under what ? DOS, LINUX, WINDOWS 98 , NTs(2k&xp).

Easy when you program a "dos" machine, you can access all the hardware with no restrictions ! 8)

Quite hard on the others 8O
 

tcwong3

Junior Member level 2
Joined
Mar 29, 2004
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
182
Re: IRQ Line Detection

Thanks for your reply, I'm sorry, i forgot to tell you, i am using Visual
Basic 6.0.

:D
 

hericz

Newbie level 3
Joined
Aug 11, 2004
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
38
Re: IRQ Line Detection

What about in DOS?
I need to capture Interrupt from ISA port (IRQ3 or 4). Anybody know how to do this?

IRQ3 & 4 is shared with comm1/comm2, already set BIOS setting but it doesn't work.

I use C/C++, compiled with borland C++ 5.2

Please somebody help me.

Thanks
 

kasd

Member level 1
Joined
Nov 11, 2004
Messages
39
Helped
3
Reputation
6
Reaction score
0
Trophy points
1,286
Location
Singapore
Activity points
359
Re: IRQ Line Detection

Hi,

I need examples in Visual C++ for interrupt generation in Parallel Port. Any examples?

Thanks a million.
kas
 

eric_ec_chen

Member level 2
Joined
May 26, 2003
Messages
48
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,288
Activity points
324
IRQ Line Detection

You can reference the sample code of chapter 10 of the "Linux device driver 3th" e-book.
You also can download the sample code from the O'Reilly website.
 

tcwong3

Junior Member level 2
Joined
Mar 29, 2004
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
182
Re: IRQ Line Detection

Thanks Eric.

Where can I get the e-book?
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top