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 ![Smile Smile](http://compsci.ca/v3/images/smiles/icon_smile.gif) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
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. |
|
|
|
|
![](images/spacer.gif) |
Euphoracle
![](http://compsci.ca/v3/uploads/user_avatars/11170373664bf5f25f636f1.png)
|
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)
|
|
|
|
|
|
![](images/spacer.gif) |
|
|