Solved

Interrupt Handling under Windows 95

Posted on 1997-06-29
5
301 Views
Last Modified: 2013-12-03
How can I implement the interrupt handling under Windows
95 ?(I use the Borland 4.02 or 5.0 )
   In fact, I will use the hardware interrupts which comes from a card attached the PC slot.And I want to write an
ISR under Windows 95.
    Please give me some information about this question.
0
Comment
Question by:yucel
  • 3
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
tonp earned 50 total points
ID: 1399547
A 32-bit Win95 application can't install an ISR. You can only do this with a VxD (virtual device driver). A 16-bit application can install a ISR, with the use of DPMI calls for real-mode or protected mode handlers. use DPMI (int 31h) 201h or 205h for this, remember that you must perform selector/segment translation for this. Have a look a Ralf Brown's interrupt list for DPMI details.


0
 

Author Comment

by:yucel
ID: 1399548
Thanks a lot,
Yes,I took an answer to my question but not excellent.
You say "You can not ISR in 32bit windows.You must write a VxD code for making this." But I ask,How?,How can I write Vxd to implement Interrupt handling in win32?
        if You give me some information for this subject ,I will be so glad.(if you give me an example code for this VxD ,it will be so good)
        *****Yucel Dursun  (from Turkey) *****
0
 

Author Comment

by:yucel
ID: 1399549
Thanks a lot,
Yes,I took an answer to my question but not excellent.
You say "You can not ISR in 32bit windows.You must write a VxD code for making this." But I ask,How?,How can I write Vxd to implement Interrupt handling in win32?
        if You give me some information for this subject ,I will be so glad.(if you give me an example code for this VxD ,it will be so good)
        *****Yucel Dursun  (from Turkey) *****
0
 
LVL 2

Expert Comment

by:tonp
ID: 1399550
Writing a VxD is only possible if you have the DDK (Device Driver Kit). The only way to get this is trough a MSDN Level 2 (or higher) subscription (look at www.microsoft.com). It comes complete with samples, however be prepared for a steep learning curve. Another way is to use a product like Vireo's device driver kit (www.vireo.com) which should make startup a lot easier. Look for a VxD faq at www.chsw.com.
0
 

Author Comment

by:yucel
ID: 1399551
Thanks a lot for your answering.
But I still have a problem with VxD. I have DDK kit.But in this kit
many low level programs were written in assembly language.It is too hard to deal with them.But I'm using C language in genaral.
        Can you give me a book name about VxD writing (but specially ,in this book there must be "interrupt handling" section)
except the "System Programming for Windows 95" written by Oney ,Microsoft press.
        Again I thank you for your interestings..  (**Yucel**)  
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

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