The instructions here are depreciated. See the Design and Implementation of Retro 10 on http://retroforth.org for current instructions.


While Ngaro (Retro's VM) has been well represented on Linux, MacOS, and other Unix-like systems, support for Windows has lagged behind. Thanks to recent work, it is now possible to build a functional Ngaro on Windows. The exact method and tools used are given below. To actually use it you'll also need a copy of font.bmp and forth.image.

Prerequisites:

Process:

  1. Install Dev C++
  2. Unzip the SDL runtime and copy SDL.dll to C:\WINDOWS
    (This will allow the library to be used system wide)
  3. Unzip the SDL development libraries and copy the contents of i386-mingw32msvc\include\SDL to C:\Dev-C++\Include
  4. Copy the libraries from the i386-mingw32msvc\lib to C:\Dev-C++\Lib
  5. Create a new empty Dev C++ project and add the following files from rdev\ngaro to it:
    1. endian.c
    2. functions.h
    3. loader.c
    4. ngaro_windows.c
    5. sdl_devices.c
    6. vm.c
    7. vm.h
  6. Go to Project -> Options and add the following to the Compiler commands text box:
    -DUSE_SDL
  7. Go to Project -> Options and add the following to the Linker commands:
    -lmingw32 -lSDLmain -lSDL -mwindows
  8. Compile everything