Parallelput with no parallel port
Author |
Message |
chroncile
|
Posted: Thu Jan 15, 2009 7:46 pm Post subject: Parallelput with no parallel port |
|
|
I'm trying to run my program that I did for school at home, but since I have no parallelport on my computer, it says DLPORTio.sys missing or something. How do I make it so the program runs?
Thanks |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Insectoid
|
Posted: Thu Jan 15, 2009 7:50 pm Post subject: RE:Parallelput with no parallel port |
|
|
It can't. The driver for the parallelport is missing, and Turing relies on that for parallelput (I assume). Try googling DLPORTio.sys for a download. I assume you'll still need a parallelport. |
|
|
|
|
|
Euphoracle
|
Posted: Thu Jan 15, 2009 7:52 pm Post subject: RE:Parallelput with no parallel port |
|
|
Comment the lines out, or replace them with "put." Alternatively, you could wrap the parallelput call in a procedure and toggle between using it or put.
Turing: |
const USE_PORT := false
proc parallelputx (stuff: int)
if (USE_PORT ) then
parallelput(stuff )
else
put intstr(stuff )
end if
end parallelputx
%usage
parallelputx (2** 3 + 2** 4)
|
|
|
|
|
|
|
|
|