comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Glenn <jeffrey.glenn@mail1.monmouth.army.mil>
Subject: Re: Accessing I/O Ports in Windows NT/2000
Date: Thu, 17 Jan 2002 16:26:24 -0500
Date: 2002-01-17T21:26:27+00:00	[thread overview]
Message-ID: <3C474180.8060306@mail1.monmouth.army.mil> (raw)
In-Reply-To: 4519e058.0201170735.c5ff137@posting.google.com


Ted Dennison wrote:

> Jeffrey Glenn <jeffrey.glenn@mail1.monmouth.army.mil> wrote in message news:<3C45FC6C.2030208@mail1.monmouth.army.mil>...
> 
>>I've found that accessing the I/O ports on Windows 9x is rather easy, 
>>but with Windows NT/2000 input and output instructions are privileged 
> 
> That's right. NT doesn't allow direct access to the hardware from a
> user-mode program. If you want to do that, you have to write a Windows
> device driver.
> 
>>Does anyone know of an Ada solution to accessing I/O ports on Windows 
>>NT/2000?
> 
> This isn't a language issue, its an OS issue. What you need to figure
> out is how to write a device driver for NT-class OS's. Anything you
> learn about that can be translated into Ada quite easily.
> 
> Good places to get started are the Microsoft DDK website
> (http://www.microsoft.com/ddk/ ) , and the newsgroups
> comp.os.ms-windows.programmer.drivers
> (http://groups.google.com/groups?group=comp.os.ms-windows.programmer.drivers)
> and comp.os.ms-windows-programmer.nt.kernel-mode
> (http://groups.google.com/groups?group=comp.os.ms-windows.programmer.nt.kernel-mode
> ).

I was (am) hoping that I would not have to learn about writing device 
drivers for Windows NT. I realize that Ada doesn't provide these 
facilities, but I hoped to find that someone had already written such an 
interface/wrapper package. Ada also doesn't support ODBC, TCP/IP, nor 
Windows for that matter, but a lot has been written to bind with them.

Oh well, I guess I have to to be the first one sometimes.




  reply	other threads:[~2002-01-17 21:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-16 22:19 Accessing I/O Ports in Windows NT/2000 Jeffrey Glenn
2002-01-17  3:41 ` Steve Doiel
2002-01-17 15:35 ` Ted Dennison
2002-01-17 21:26   ` Jeffrey Glenn [this message]
2002-01-18  7:09     ` Michael Bode
2002-01-18  8:29     ` Dmitry A. Kazakov
2002-01-18 17:22       ` Stephen Leake
2002-01-18 15:03     ` Ted Dennison
2002-01-22  7:47   ` Mats Karlssohn
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox