Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

com port dec

Status
Not open for further replies.

danielsmusic

New Member
does anybody know the com port dec address eg parralell port is 888.

thanks
 
The parallel and serial base ports aren't on the same location on every pc! so on some pc's (mostly older acer's) it may be a diffirent value.

The bios stores the base port in a fixed memory place, your program should check there to see what base port to use

Parallel ports:
0000:0408 LPT1's Base Address. Typical H378 - d888
0000:040A LPT2's Base Address. Typical H278 - d632
0000:040C LPT3's Base Address
0000:040E LPT4's Base Address

Serial ports:
0000:0400 COM1's Base Address. Typical H3F8 - d1016
0000:0402 COM2's Base Address. Typical H2F8 - d760
0000:0404 COM3's Base Address. Typical H3E8 - d1000
0000:0406 COM4's Base Address. Typical H2E8 - d744

Mind you, using the serial port by controlling the hardware directly is a LOT more difficult then the parallel port. You need to set up the baud rate, and many more settings.
 
thanks, so com 1 = 1016
i have a new computer i can't say what age it is most parts are new.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top