Running programs¶
tools/hatari-run.sh runs a program on EmuTOS in
Hatari, headless, and prints what it
writes to the console:
EMUTOS_DIR=~/emutos tools/hatari-run.sh -m st -w "Hello" hello.tos
tools/hatari-run.sh -m falcon -w "alert" -s shot.png gemhello.prg
EMUTOS_DIR is a directory with EmuTOS 1.4 ROM images (etos192us.img,
etos256us.img, etos512us.img), from the emutos-192k, -256k and
-512k downloads at https://emutos.sourceforge.io. The program is copied
to drive C: (a host directory) and started by the desktop at boot.
tests/run-tests.sh builds the examples at several optimization levels
for the 68000 and 68030 and runs them on an emulated ST, STe, TT and
Falcon.
