Emulator of 68000 in Source CodeI was browsing the internet looking for info on the MVME101 and 68000 for a project (rebuilding a MVM101 or MEX68kECB in Kicad) when I came accross a page on www.verycomputer.com. I''m interested in teh software you described there, but it is nowhewre to
As a part of my M.Sc. dissertation, an emulator of 68000 was produced, and this
emulator is portable while using C++ and OO to develop. The program has been planted to PC DOS and two UNIX system successfully.
If you need a 68000 emulator for 68000 chip or MVME101 computer for studying M68000 assembly language, you may be interested in it. This emulator evaluate
M68000 machine code in S-format.
It was expected that this emulator can not be real-time since the source program is
entirely in C++ language. The speed of this emulator was roughly tested. The speed of
the emulator running in PC-486/33 was about 1/50 of the speed of MVME101, and
about four times as fast as the E68K made by University of Teeside. Nevertheless, the
program is fast enough to test most of the M68000 programs that students in the
university have to practise in computer architecture course.
Here I present two sets of source code, one for PC, another for UNIX, actually, the
contents are nearly the same.
You can get those zip files from a public ftp site and a www page.
public ftp site:
aidan.ncl.ac.uk
/pub/local/n4521661/emu/
www page:
http://www.ncl.ac.uk/~n4521661/emu.htm
Then you will find emupc.zip (for PC), emunewto.zip (for UNIX), sfile.zip (sample
M68000 assembly language programs), and readme.txt (user manual, or readme.doc --
MS-Word file).
After you unzip the emupc.zip, you start Borland C++, open project file 'process.ide',
then make it. If you don't have Borland C++ compiler or Turbo C++ compiler, you can
use files in emunewto.zip.
After you unzip the emunewto.zip, please do read file 'mtype.h', focus on those pre-
processor instructions, then make it.
To run the M68000 program on this emulator, this way:
'emu68.exe sFormatFile'
********
M68000 instruction set supported by EMU68
All the M68000 instructions in normal state are supported except those listed below:
ABCD
CHK
MOVEP
NBCD
SBCD
TAS
If you use MVME101bug 3.n Debug Package, you can expect this emulator support
trap calls 'TRAP #15 -- DC.W $00, 01, 10, 11, 12, 13, 14'.
If you use M68000 computer other than MVME101, you might have to modify some of source code yourself. Please contact me then for development documents of EMU68.
Any opinion please tell me.
Zijian Huang
E-mail: n452...@aidan.ncl.ac.uk
WWW: http://www.ncl.ac.uk/~n4521661
Tel: (UK) + 0421 377903
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 222:20:02 |
Calls: | 6,623 |
Calls today: | 5 |
Files: | 12,171 |
Messages: | 5,318,201 |