V
Vicent
Hi all:
I have an MS-DOS application for serial communications trought COMn,
till now it works fine, but when I began working with Pentium III and
4 I had problems.
The code I use is the next:
outportb(port+2,0xc9); //iir
outportb(port+3,0x80); //lcr
outportb(port,0x0c); //dll
outportb(port+3,0x1e); //lcr
outportb(port+1,0x00); //ier
here stay in loop undefinetly
while(inportb(port+5)&1) inportb(port)
If the machine has MS DOS 6.22 FAILS
if I run since a MS DOS window from W98 FAILS
If I Install W98 and I press F8 turning on the machine and select
"Just system symbol" IT WORKS!!!!
I would like to know why it happens, does somebody has any
suggestions?
Thanks in advance:
Vicent Vidal
I have an MS-DOS application for serial communications trought COMn,
till now it works fine, but when I began working with Pentium III and
4 I had problems.
The code I use is the next:
outportb(port+2,0xc9); //iir
outportb(port+3,0x80); //lcr
outportb(port,0x0c); //dll
outportb(port+3,0x1e); //lcr
outportb(port+1,0x00); //ier
here stay in loop undefinetly
while(inportb(port+5)&1) inportb(port)
If the machine has MS DOS 6.22 FAILS
if I run since a MS DOS window from W98 FAILS
If I Install W98 and I press F8 turning on the machine and select
"Just system symbol" IT WORKS!!!!
I would like to know why it happens, does somebody has any
suggestions?
Thanks in advance:
Vicent Vidal