Hello,
i have made a fairly good tpc even for wip so far
i just wish i could make it a bit simpler
but anyway download attached and install it then...
use this code
handle AS DWORD
handle=open device("\.\CdRom0",1)
if handle=0 then print "1"
tmp=device io(handle,2967560,0,0,0,0)
if tmp=0 then print "2"
tmp=close device(handle)
if tmp=0 then print "3"
wait key
I'm still working on keywords.ini and documentation
but this alone provides enough power to communicate with any device on your system
i'm working on implementing asynchronous control which would mean no pausing
CAUTION:
do not play around with that big number in device io ;changing that number can screw up your hardware, format your harddrive, or probably in one way or another cause your pc to crash
edit:
and if you get a number displayed on your screen then there was an error
edit2:
no reply?
I didnt fail, I just found 10,000 ways that don't work
-Thomas Edison