Varvara implementation targeting eZ80, specifically the AgonLight2.
Requires ez80asm.
Tested with fab-agon-emulator as well as an Olimex Agon Light 2.
Assumes VDP version 2.12.0 or newer and MOS version 3.0.1 or newer.
getting started
This assumes you have the above tools installed, and that the emulator
directory is located at ~/fab-agon-emulator. If your emulator is in
a different location you'll want to update the Makefile and change
the FAB variable.
To build the program and install it, run make install:
$ make install
cp vm.bin ../fab-agon-emulator/sdcard
cp *.rom ../fab-agon-emulator/sdcard
cp test/*.rom ../fab-agon-emulator/sdcard
# run the agon emulator
$ ~/fab-agon-emulator/fab-agon-emulator
Then from within the emulator:
Agon Console8 VDP Version 2.12.0
Agon Platform MOS Version 3.0.1 Arthur
/ * vm test.rom
<uxn output follows...>
You can also build manually:
$ ez80asm vm.asm
Assembling vm.asm
Pass 1...
Pass 2...
Done in 0.00 seconds
# copy files to sdcard
$ cp vm.bin ~/fab-agon-emulator/sdcard/
# ... and copy other roms to ~/fab-agon-emulator/sdcard/
status
All instructions are implemented and have been tested on a number of ROMs.
Output is supported via Console/write (and Console/error which
goes to the same place). Basic debug output is supported via
System/debug.
devices
System- complete (except for expansion commands)Console- completeScreen- work-in-progress (targeting mode 8: 320x240, 64 colors, 60 Hz)Audio- not started (may not be possible)Controller- completeMouse- not started (requires overriding agon hw mouse)File- completeDateTime- complete