| View previous topic :: View next topic |
| Author |
Message |
sou New visitors - please read the rules.
Joined: 28 Sep 2005 Posts: 2
|
Posted: Wed Sep 28, 2005 9:34 am
Post subject: Debug LPT/ COM |
|
|
Hi,
in this article http://www.wimsbios.com/phpBB2/viewtopic.php?t=1065
you can use dos and debug to fetch informations about COM and LPT.
When I use the Dos-Shell within Win98 these informations are correct.
(means: Ports which are not used are not registered)
Example: Dos-Shell Win98
C:\debug
-d 40:0 b
0040:0000 F8 03 00 00 00 00 00 00-78 03 00 00
-q
But when I'm calling debug within the Dos-Shell of XP
C:\debug
-d 40:0 b
0040:0000 F8 03 F8 02 E8 03 E8 02-BC 03 78 03
-q
Why are these results are so different?
The system (with XP) only has 2xCOM and 1xLPT.
Does the OS set virtual adresses or what's the reason?
Any ideas? Do I misunderstand something?
Thx
|
|
| Back to top |
|
 |
|
|
NickS BIOS Bodhisattva
Joined: 03 May 2002 Posts: 3143 Location: Thames Valley, UK
|
Posted: Thu Sep 29, 2005 12:23 pm
Post subject: Re: Debug LPT/ COM |
|
|
| sou wrote: | Does the OS set virtual adresses or what's the reason?
| Yes. In 16-bit Windows the DOS prompt actually is a command shell that can access the hardware. In XP the "DOS box" is actually ntvdm, the NT Virtual DOS Machine. Find more info at Microsoft, here.
_________________ Tested patched BIOSes. Untested patched BIOSes .
Emails *will* be ignored unless the subject line starts "Wim's BIOS forum" |
|
| Back to top |
|
 |
sou New visitors - please read the rules.
Joined: 28 Sep 2005 Posts: 2
|
Posted: Tue Oct 04, 2005 10:16 am
Post subject: |
|
|
Thx
|
|
| Back to top |
|
 |
|