The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: asmrixstar on May 01, 2006, 03:07:59 AM

Title: Hardware Access in XP
Post by: asmrixstar on May 01, 2006, 03:07:59 AM
I was wondering if anyone had written a dll for accessing the com(rs232) or the game (midi) port
I m looking for something as basic as a program capable of turning and led on and off, seriously!

I believe certain opcodes have been disabled on xp how will this affect any program i write?

thx in advance
Title: Re: Hardware Access in XP
Post by: Mark Jones on May 01, 2006, 08:20:11 PM
Hello asmrixstar, try a forum search for "WinIO."
Title: Re: Hardware Access in XP
Post by: asmrixstar on May 02, 2006, 03:16:08 AM
yeah.. ive got a copy of that and winio but i fear even that is more advanced than what i need! :(
I seriously know nothing about IO access to the ports perhaps that shoould have been my question!
:snooty:
Does anyone know a good reference point for this....
(Preferebly in english):cheekygreen:
Title: Re: Hardware Access in XP
Post by: MichaelW on May 02, 2006, 04:13:17 AM
I'm  assuming you are asking for information on I/O ports. Ralf Brown's Interrupt List, available  here (http://www.cs.cmu.edu/~ralf/files.html), includes the following lists:

02/11/2001  10:39a               1,270 FAQ.LST
06/05/1994  10:06a              12,536 OVERVIEW.LST
07/16/2000  09:50p               7,302 TABLES.LST
01/03/1999  04:06p              40,953 GLOSSARY.LST
07/16/2000  09:50p              81,345 MSR.LST
07/16/2000  09:50p              81,446 FARCALL.LST
07/16/2000  09:50p             144,149 MEMORY.LST  ; << includes BIOS Data Area listing
07/16/2000  09:50p               7,939 SMM.LST
11/03/1994  12:46p             119,004 86BUGS.LST
07/16/2000  09:50p              55,052 BIBLIO.LST
07/16/2000  09:50p              77,175 CMOS.LST
07/16/2000  09:50p             141,061 I2C.LST
07/16/2000  09:50p             624,174 OPCODES.LST
07/16/2000  09:54p           5,700,679 INTERRUP.LST
07/16/2000  09:55p             879,133 PORTS.LST  ; << I/O port listing


For serial ports specifically, there is a lot of information available  here (http://www.lvr.com/serport.htm).

Accessing serial ports under Windows using the API has been discussed here multiple times. Try an advanced search for "serial port" by user "farrier".

Title: Re: Hardware Access in XP
Post by: asmrixstar on May 02, 2006, 06:28:38 PM
Thanks m8 Thats great
Anyhow i found a file that really helped, incase an one is interested it's called 'Led-y-Asm.zip'

I won't post it untill some one requests to avoid doubleposting since i forget where i got it!

thx guys
Title: Re: Hardware Access in XP
Post by: IAO on May 11, 2006, 12:14:35 AM
Hi to all.
I write bad the English.  If I make an error. Excuses me.

Mr. asmrixstar
look here -ww.radasm.com -> projects -> Led-y-Asm.zip
http://www.radasm.com/projects/Led-y-Asm.zip
I made those programs with the help of this forum. (Specially by MichaelW, PaulB, MarkJ, CrisLeslie, Emperor, and others)
Do with them as if they were yours.

They are updated. But I must send them to Mr. KetilO. (Soon)

I hope you can understand me.

Good Luck..
bye ('_').