News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Hardware Access in XP

Started by asmrixstar, May 01, 2006, 03:07:59 AM

Previous topic - Next topic

asmrixstar

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

Mark Jones

Hello asmrixstar, try a forum search for "WinIO."
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

asmrixstar

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:

MichaelW

I'm  assuming you are asking for information on I/O ports. Ralf Brown's Interrupt List, available here, 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.

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

eschew obfuscation

asmrixstar

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

IAO

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 ('_').
"There is no way to peace. Peace is the way."    Mahatma Gandhi