USB and QBasic

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
interzone
Newbie
Posts:1
Joined:Thu Jun 12, 2003 1:50 am
USB and QBasic

Post by interzone » Thu Jun 12, 2003 1:53 am

Is it possible to control a USB peripheral using QBasic ???

Guest

Re: USB and QBasic

Post by Guest » Thu Jun 12, 2003 2:57 am

In a word, no.

jakykong
Full Member
Posts:30
Joined:Wed Jun 25, 2003 1:05 pm

Re: USB and QBasic

Post by jakykong » Thu Jun 26, 2003 4:15 pm

USB was new to windows 98 for the fact it resets every ten seconds unless in use, so you can plug a piece of hardware into it and it will find it without restarting, but that also means that in qbasic, you would need to reset the variable at exactly the same time the port resets, that mkaes it sound possible but difficult, but, i am leaving out one major detail: there is an interrupt rate on a usb port that the call absolute cannot handle, so there is, sufficive to say, no technical way to do that using only qbasic, however, if you know asm, get turbo assembler and link that using this syntax in qbasic:

SHELL "tasm.exe /command "+"the single line of code here"

and you can access most everything there, but i am not 100% shure that even that will work!
I've not been a QBasic programmer since at least 2004. It was fun; I've moved on. Best of luck.

Post Reply