Setting up com0com with WSL and brickEmu #3
Replies: 4 comments 7 replies
-
|
A few questions—
In addition to brickEmu, there is also the Java-based RCXSimulator. While RCXSimulator offers some enticing features, unfortunately is it not as performant as brickEmu, the only source code that is available is what has been decompiled from the jar file, and the researcher who had been working on this is no longer with that university. Note that an RCX ROM image also needs to be provided for RCXSimulator, which is optional with brickEmu. |
Beta Was this translation helpful? Give feedback.
-
|
IR server seems to be running properly, but I get the "Unable to delete firmware" error message when I try to download firmware to RCXSimulator from the same instance of WSL (I'm using version 2). |
Beta Was this translation helpful? Give feedback.
-
|
With RCXSimulator, the original developer recommends using the "-f" option to preload firmware. By my notes, the most recent version of Java supported on Windows 98 SE is 1.5.0.2 (a.k.a. 5.0 Update 22). A GDB stub was one of the later features added to RCXSimulator, and that only required Java 1.4. I don't know offhand where Java support for Windows 98 First Edition dropped off, but it might be possible to run RCXSimulator in the VM alongside the Robotics Invention System. Also, LEGO did release a patch to fix an issue running RIS 2.0 under Windows XP and later (copy available here). There are also two potential visual-based alternatives to the Robotics Invention System:
If everything is running within the virtual machine itself, a basic installation of com0com with a single pair of linked serial ports should suffice. Connect one end of the serial pair to the programming software (Robotics Invention System, VisualNQC, etc.) and connect the other end to RCXSimulator using the -ir=PTY:COMx (where "x" is you COM port number) command line argument. |
Beta Was this translation helpful? Give feedback.
-
|
But my brickOS files are on my WSL Ubuntu instance. I'm only using the Windows 98 machine to run the programming software. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to route a set of virtual COM ports from my Windows 98 virtual machine to brickEmu via com0com. I tried doing it many different ways but it isn't working.
How do I even use com0com to connect my Windows 98 VM with brickEmu on WSL2?
Beta Was this translation helpful? Give feedback.
All reactions