So, a first release.
There are two release files, and things are likely to stay this way.
The OSX one contains a Mac OSX executable (mvem) and all the source code. It does not contain the SDL library required to run it, which can be downloaded from http://www.libsdl.org/download-2.0.php
The Windows one contains a 32 bit Windows executable, the SDL2 DLL, a Code:Blocks project file and a note on how to build it from the OSX source.
Both contain a file test.bin which is the assembled version of the test program. All it does is draw a diagonal line, sound the buzzer continually (the tone varies slightly because the emulator decides the frequency from the total transitions and time per frame, but it will be fine for beeps) and respond to the right column of keys (3 E D C) on the top row.
This is pretty much flogging the hardware to death.
You run it with ./mvem test.bin or mvem test.bin . The debugger commands are : 0-9A-F change code address, K set breakpoint, H home to program counter, S single step, V step over. G run. When running (the debug display will disappear) M returns to debug mode (the other key columns are 1QAZ and 2WSX - a Microvision has a 3 across by 4 down keypad). You can exit either using Escape or the Close button on the window.
It's very primitive, but it works fine.
No comments:
Post a Comment