Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

How many parallel and serial port can I use in DOS ? (Developers)

posted by RayeR Homepage, CZ, 06.01.2013, 21:32

DOS/BIOS mostly covers support up to 2 LPT and 4 COM ports. I think that you may have as many ports you want/fit in the PC but you must be able to assign them different IO address. If you use a PCI card PnP will do it for you. Then you have to write your own handling of such card by your own.
Most of DOS programs rely on fixed legacy IO address like e.g. LPT1 have always base at 378h. But If you have some PCI card you will probably got assigned some high IO base like E000h. At work I have one PCI-E arapter from Axago with 2*COM + 1 LPT and it do like that. Even there was a DOS utility that should set IO bases on legacy addresses it doesn't work (it needs some PCI-PCI bridge reconfiguration for proper IO forwardion which probably the utility cannot do). So I gave up port under DOS. Under windows XP COM ports works fine, LPT for mostly too but for some stupid apps (greeting for ST micro code monkeys) looking directly at legacy address it didn't work too.

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22758 Postings in 2121 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum