Re: ANN: new Pulsonix version 3 PCB software released

From: David Brown (david_at_no.westcontrol.spam.com)
Date: 03/15/04


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.



Relevant Pages

  • Re: Clustered printing issue
    ... tcp/ip port. ... accessible unless you install the printer driver. ... printers restored via the print migrator tool. ...
    (microsoft.public.windows.server.clustering)
  • Re: KMDF Fakemodem not working
    ... I'm using the `Windows Vista and Windows Server Longhorn x86 Checked Build ... install the fakemodem with devcon: ... INf in the sample should tell you how to use devcon to install the driver. ... Why do I need to choose a COM port? ...
    (microsoft.public.development.device.drivers)
  • Re: Seagate Barracuda 160 GB IDE becomes corrupted. RMA?
    ... Operating System Microsoft Windows 2000 Professional ... System Memory 512 MB ... Communication Port Communications Port ... Driver Download http://www.viaarena.com/?PageID=2 ...
    (comp.sys.ibm.pc.hardware.storage)
  • KMDF Fakemodem not working
    ... I'm trying to develop my first device driver but have some problems getting ... I succeeded to install the WDM version on a Win 2003 Server x86 using the ... I had to disable a real modem driver, ... Why do I need to choose a COM port? ...
    (microsoft.public.development.device.drivers)
  • soft lockup disease (2.6.14-rc1, x86_64)
    ... IA-32 Microcode Update Driver: v1 ... IO window: 1000-1fff] L ... ACPI: PM-Timer IO Port: 0x408 ACPI: Local APIC address 0xfee00000 ...
    (Linux-Kernel)