The reason I put the Peek and Poke statement in originally was because the "open com1" statement by itself was giving me a "device timed out" notice. I hoped that by peeking to the com 1 and then redirecting to com 2 addresses, I could use BIOS to access the port and avoid a...
Ooops, posted the old code file. Actually reads:
CLS
' define com 2 segment
com1 = PEEK(&H402) + 256 * PEEK(&H403)
POKE &H402, com2 AND 255
POKE &H403, com2 \ 256
INPUT "what is the cut length in inches (ex. 62.25)"; length
INPUT "how many cuts on this piece of stock"...
I'm trying to establish communication through com port 1 on a motherboard based port. The address for the port has been changed in BIOS to 2f8 because there is only one available serial out on this machine, thank you e-machine :( I am running ms-dos 5.0 on this machine and am using QB ver. 4.5...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.