On 9/28/2015 9:31 AM, Marlon Ng wrote:
> Sorry for the late response guys. Hope you'll be patient with me as I 
> am not as skilled as you are.
>
> "So if you have a program that works only with LPT1 (and not with a hard
> coded base port address!) will use what ever address is put into
> 0040:0008. You can change that address to match what your expansion card
> is using either by using debug (-e 0040:0008) or one of the many port
> changing programs that used to be around for just that purpose..."
>
> How exactly do I do that?
Ok, for some spoon feeding, here's a short debug session

C:\>debug
-d 40:8 f
0040:0000                         -78 03 78 02 BC 03 00 00 x.x.....
-e 40:8
0040:0008  78.78   03.02   78.78   02.03   BC.
-d 40:8 f
0040:0000                         -78 02 78 03 BC 03 00 00 x.x.....
-q

C:\>

the first "d 40:8 f" line shows the currently installed/assigned 
parallel ports LPT1-LPT3 (this is actually a vDOS session), with the 
base port address 0378h, 0278h and 03BCh respectively,
then using the edit command "e 40:8", I entered the first 4 bytes and 
actually reversed the assignments of LPT1 and LPT2
so that the second "d 40:8 f" line shows now the base addresses 0278h, 
0378h and 03BCh for LPT1, LPT2 and LPT3...

anything but rocket science...

Ralf

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to