68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Serial port I/O from pce-macplus or BasiliskII to host's USB port
Posted by: nsputnik on 2021-07-12 20:12:17
I would like to use midi software in an emulator to send and receive serial port data to a the physical host machine's USB port via a USB midi interface or a serial adaptor like a FT232R to talk to midi hardware.

Would it be possible to to redirect the midi output from pce-macplus to an actual serial port rather than a file? What about BasiliskII's serial port capabilities? On Linux this probably means just redirecting it with socat, but on Mac OS it looks like you'd need to use IOKit. I don't know where you might need to start with Windows.

On a slightly separate note, my host machine is Mac OSX so this is what I am most interested in. The last time I checked you needed to compile pce-macplus for OSX which seems difficult and beyond my capabilities. I am able to run it in Wine but that does not seem like a long term solution.
Posted by: cheesestraws on 2021-07-13 00:54:13
I don't know much about pce-macplus, but:

In theory you should just be able to point Basilisk II to the device nodes in /dev you want it to use (so long as you have permissions), though this seems to be a bit hit and miss: see https://www.emaculation.com/forum/viewtopic.php?t=11071
Posted by: nsputnik on 2021-08-21 11:20:54
I just found this project, I don't know if it will do what I need yet but I wanted to share. It is called Midi vMac.
1