DoPECC
back to Machine Log

Simple Microcode Emulator

Prev Entry Next Entry

Wang 600 ROM Emulator
Wang 600 ROM Emulator (opens in new tab)
Wang 600 ROM Emulator Wang 600 ROM Emulator Monitoring the ROM address input and data outputs showed that some microcode was executing but it was not possible to determine if the reason for no display was bad microcode from the ROM or bad logic in the execution engine.

To assist with further testing a simple ROM emulator was constructed.

This simulator was substituted for the ROM and enabled a number of tests to be performed.

ROM Address Decoding from Microcode

MOP field

Most MOP field values have complex effects on internal states that are not straightforward to monitor. Some MOP combinations do have immediate, easy to detect effects:

ST Machine Status Control field

Most of these are difficult to monitor but some are easy:

ALU and Z0 Flag

A more complex test could be acheived in a single word by setting fields such that

The A + B instruction should give a zero result, set the Z0 condition bit and cause modification of the next address. A+B+1 should give a non-zero result, clearing the Z0 condition and leaving the next address unaltered. In each case the effect on the next address was observed to be correct.

While all of these results were encouraging, they also did not point to any reason for the general failure of the machine.

The true potential of this little device was overlooked. It turns out that one instruction is sufficient to test much more of the machine, and more progress could have been made with this device. See later posts for details