Thanks - EORedson - I'll take a look at this. I think you are probably right about using the USB ports, but it might lead somewhere. I haven't had a lot of time for the last few days, but I'll get there eventually. I have been looking more at accessing the actual port registers, since there doesn't seem to be much 'higher level' information, with the idea of creating a simple USB library. I'm a bit surprised that nothing already exists for USB, since they are so ubiquitous these days.
Reading through the QB64PE documentation from the link you provided about the COM command, there is a line which notes (paraphrase) 'This command is not available in Linux and Mac" - another bummer!.
Reading through the QB64PE documentation from the link you provided about the COM command, there is a line which notes (paraphrase) 'This command is not available in Linux and Mac" - another bummer!.