Parallel port driver / MIDI driver on XP/Win2k

Parallel port driver / MIDI driver on XP/Win2k


[ Follow Ups ] [ Post Followups ] [ FAQ ]
[ Back to Messages ]

Posted by VM on November 30, 2001 at 04:14:31:

Hi!

I'm trying to drive a custom made parallel port device from
a MIDI driver under Win2000/XP. It sounds strange, I know ;)
The parallel device raises interrupts at 100kHz frequency.
What I *think* (tell me if it's wrong):
1. I need a parallel port client driver which connects to
the system supplied drivers
2. I need a MIDI driver which will communicate with my
parallel port driver to control the actual device

Tell me if I'm wrong.

I have many doubts about this all:
What kind of drivers do I have to write?

My current (basic) parallel driver:
I compiled a simple NT parallel client driver (Parsimp
ddk sample) with interrupt service. I set up the parallel
port to use an interrupt from the device manager and I set
up the registry "magical" DWORD value to accept interrupt
connection requests.
It seems that it can't connect to the IRQ service at system
startup, only if I disable and then re-enable the driver.
Then it starts without problems.
I've read about manually allocating the parallel IRQ from a
parallel client driver WITHOUT disablin the original
parallel port drivers. Do you have an idea how can I make
it from the parsimp example?

My idea about the MIDI driver:
WinXP DDK - Kernel mode DDK synthesizes sample.
I think I have to modify this sample code to drive my
parallel port driver.

Do you think that these two things can communicate?
Do you think that the parsimp driver compiled with the
WinXP ddk will work correctly on the XP with interrupts?
Can it accept interrupts at 100kHz? (it's tested
succesfully in DOS)



Follow Ups:


Post a Followup

Please note:
  • Messages must be on the topic of this forum!
  • No posting of requests for cracks, codes, serials, or warez!
  • No posting of illegal software or links to such sites!
  • No use of profanity or inappropriate or offensive language!
  • Spamming is not allowed!
  • We track the IP addresses of forum abusers!
  • Abuse of this forum will be reported to your ISP!
Name:
E-Mail (optional):
please note: your e-mail address will be visible in your message.

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL: