Re: ANN: new Pulsonix version 3 PCB software released
From: David Brown (david_at_no.westcontrol.spam.com)
Date: 03/15/04
- Next message: Ram Dagan: "eCos or uClinux"
- Previous message: David Brown: "Re: Montavista realtime scheduler patch"
- In reply to: Meindert Sprang: "Re: ANN: new Pulsonix version 3 PCB software released"
- Next in thread: Jerry Avins: "Re: ANN: new Pulsonix version 3 PCB software released"
- Reply: Jerry Avins: "Re: ANN: new Pulsonix version 3 PCB software released"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 15 Mar 2004 09:58:57 +0100
"Meindert Sprang" <mhsprang@NOcustomSPAMware.nl> wrote in message
news:4054b166@news.nb.nu...
> "Jerry Avins" <jya@ieee.org> wrote in message
> news:405490ea$0$2798$61fed72c@news.rcn.com...
> > Meindert Sprang wrote:
> > > That is simply not true. I have written several DOS applications in
the
> past
> > > that access serial ports at register level, i.e. direct access to the
> serial
> > > chip. These application still run fine in Windows NT and 2000. Only
> direct
> > > access to the printer port is blocked.
> > >
> > > Meindert
> >
> > You are the first correspondent who makes that claim. I'm sure you're
> > right, and I want to learn from you. If I were to add a printer port at
> > a non-standard address, would I be able to access that too?
>
Let me be the second to make that claim (actually, I'm not the second, as a
search on comp.arch.embedded history will reveal - we've been through this
discussion several times before).
> No. Printer ports are not accessible at register level. But on the
internet,
> several drivers/services are available that, once installed, allow
programs
> to access specific or simply all hardware ports. The ones for printer
ports
> are most famous because of the many ulitities that program
microcontrollers
> etc. through an interface that is connected to a printer port.
>
If you are interested, the most common driver used is "giveio". If this
driver is installed on an NT machine (including W2K and XP), then a program
can simply open a file handle to this driver, and thereafter it has full
access to the hardware on the PC. Converting a program that accesses the
parallel port into one that runs safely and quickly on NT involves nothing
more than adding this access (a couple of lines of code) and putting the
giveio driver (freely available) into its install program. This is used by
most programmers and debuggers that use the parallel port.
For programs that don't have this support, there is another less safe
solution. Install the "totalio" driver (also freely available). When you
start it, *all* programs get full hardware access. It's therefore not the
safest of solutions, and you should set the driver to manual startup (so
that you use "net start totalio" and "net stop totalio" afterwards), but it
will let any Win9x, or even Win16 or DOS program access the parallel port
directly on NT.
- Next message: Ram Dagan: "eCos or uClinux"
- Previous message: David Brown: "Re: Montavista realtime scheduler patch"
- In reply to: Meindert Sprang: "Re: ANN: new Pulsonix version 3 PCB software released"
- Next in thread: Jerry Avins: "Re: ANN: new Pulsonix version 3 PCB software released"
- Reply: Jerry Avins: "Re: ANN: new Pulsonix version 3 PCB software released"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|