TinyVM for Non-Unix Platforms

leJOS

If 6 Kb of extra footprint are not a problem for you, you might want to download leJOS, TinyVM's successor. It has a Windows distribution with executables which can run on a DOS window.

TinyVM CPE

For platforms that support javacomm, there is TinyVM Cross-Platform Edition. Note, however, that TinyVM CPE is based on TinyVM 0.1.3, which is somewhat outdated (by at least 8 releases). TinyVM CPE was developed by a team led by Dr. Donald Doherty.

CygWin

You should be able to use TinyVM 0.1.5+ (Unix/CygWin Edition) under CygWin B20, after adding a softlink from the /bin directory to /cygnus/cygwin-b20/H-i586-cygwin32/bin, as follows:

ln -s /cygnus/cygwin-b20/H-i586-cygwin32/bin /bin

In newer CygWin versions, it depends on where you have installed CygWin. The problem is that the scripts require /bin/sh.

TinyVM has been thoroughly tested on CygWin B20.1. TinyVM 0.2.2+ works on CygWin 1.1.x for the most part. Fast firmware downloading may not work on CygWin 1.1.x. For these reasons, CygWin B20.1 is recommended.

The usual installation instructions should work in the CygWin console.

A number of fixes and additions were made to TinyVM in order to get it to run under CygWin. This was mostly due to feedback from Andy Gombos, who adds: "Install like you would on Unix. Install Cygwin, and add Cygnus\Cygwin-b20\h-i586-cygwin32\bin to your path. If you get a find error when you make, then you need to back up Windows\System\find.exe and then replace it with the one that came with cygwin... Run a script as bash 'script name' arguments. For easier use copy any source of class files to the Bin directory, so you do not have to include the path of the file -- this is optional. Follow the readme to compile, run, and download an example. When you run TVM.exe, wait and watch the RCX, if the numbers do not change, then you have a problem. Inquire on robotics.rcx.java at Lugnet."

[ Home ]