|
JACK WHITHAM PhD MEng Professional Activities - Publications - Software - Articles |
|||
|
|
|
||
| Home -> Software -> em180 |
It is an update of the em80 program used in CTS. It supports all of the 64180 instructions, and has some support for the 64180 serial port system (ASCI). It also has a few other features that make it a bit easier to work with than em80. em180 was written in order to test mathematical functions used in my MCP project - it can't test the MCP hardware, but it can test the really tricky bits of the software.
I'm using em180 to test my code using a script, like this one:
ram 0000h ffffh
load btest.out 8000h
set pc 8000h
set sbcmode
set max 100000000
run
I run em180 with the command em180 <script,
which runs em180 with the above code as input. It runs through each
command and prints the output on screen. The test is totally
automatic: all I do is write the code, compile it and run that command,
and it tells me whether I screwed up or not. :)
em180 was hacked together in an evening by Jack Whitham from original em80 source code by Don Goodeve and Marat Fayzullin. I've put it up on the web in case anyone else finds it useful. I certainly do: I can write code at home now and don't have to come into the lab for testing.
The original em80 source code can be downloaded in two parts:
Z80 emulator and
em80 source. It is free for
non-commercial use as long as the original authors (Don Goodeve,
and Marat Fayzullin) are credited. See the README in the source
for further details.
|
|
|
||
| Copyright (C) Jack Whitham 1997-2010 | |||