ND100 emulator project

From NDWiki
Jump to navigation Jump to search

The ND100 Emulator Project (nd100em) strives to be able to completely run ND-100 code and emulate a ND100 computer to the degree it can boot and run SINTRAN III.

Authors

  • Per-Olof Åström
  • Roger Abrahamsson
  • Zdravko Dimitrov
  • Göran Axelsson

Status

In active development. Most of the basic instructions implemented and some of the system ones. MMS implemented. Able to run some ND100 software.

It can run bpun files thats stripped down, but has a long way until all system functions are working. MAC sort of works, as well as INSTRUCTION-B, which is the main test program used for now to see how well it behaves.

V 0.1.6 introduced functions to measure emulator speed, and on a 2.6GHz P4, it is around 5-10 times on average faster than an original ND100, counted per instruction over a large number of instructions. The code is NOT optimized for speed at all.

Usually the projects experimental code is further ahead than these versions available here.

The project has a mailinglist (closed sumbission) which can be joined here.

Wanted Information

Specifications for IOX4-7, possibly info about IOX0-3. Information about expected behaviour of CLEPT and SETPT (Inparameters, effects etc)

PROG File format.

Details of Floppy IOX calls...

Known Bugs

Enabling Illegal instruction error makes INSTRUCTION-B hang. Seems we might be 100(8) addresses off when loading lvl14 Program counter. Probably caused by an earlier error. RTC bits not set yet, which also makes INSTRUCTION-B complain.

Code

Latest development code can be found in the development git tree here.

  • v0.1 - Initial release, able to run image of ND100 MAC
  • v0.1.1 - New command parser, some floating point support
  • v0.1.2 - Rearranged to new structure, new instructions added
  • v0.1.3 - Lots of bugfixes and some more instructions
  • v0.1.4 - multithreading, IOX infrastructure. Bugfixes.
  • v0.1.5 - Runlevel switching in WAIT, basic rtc interrupt functionality, fixes all over
  • v0.1.6 - IDENT infrastructure, Config file handling, bugfixes, profiling