|
||||||||
Background - Accurate or not ?The question has come up several times about how accurate the WSF board
is compared to the original hardware. Also the comment that it's the
"closest" to the original. Well, the idea isn't to be
close, it's to be THE SAME. Simple Benchmarking The answer is a simple benchmark program that can be run on an original Revision D PCB, a Joust boardset, and on the WSF hardware. The code will exercise the features of the hardware and give some simple timing results.
The minimum baseline is that the results MUST be the same between the boards.
Benchmarking Source MC6809 source
for Benchmark - AS6809 Assembler formatted Comparisons The final numbers which are displayed in hex show how many of the 10 cycle loops could be completed in the remaining frame time after the special chip operations, also the interrupt processing takes up cycles too. The goal here being to compare the results with the original hardware, the exact values returned are only valuable for comparison between the two boardsets.
|
Original Boardset Benchmark Run
WSF v1.1 boardset
|
|||||||
|
|
|
Overkill ?
To be completely certain a 1048571 cycle capture
of the CPU executing the code on the original board and the FPGA hardware
was made using a Tektronix TLA 624 running in state capture.
This was used to verify the execution timing between the boards and ensure
they remained in lock-step. Below is a link to the highlights, two SC1
operations and the first interrupt. Also the end of the capture which
demonstrates the two CPUs are at exactly the same point in the code after
more than 1 million cycles and 1 second of execution. There's simply NO variance
between the two.
But some quick notes on the capture:
MC6809 bus capture highlights - SC1 start, IRQ, state after 1 second
Final Summary
Then benchmark and bus capture demonstrate that the special chip timing and interrupts follow precisely the timings of the original boardset, there's simply NO variance between the two.
So in answer to the question "how close to original is it
?" I'm going to say "the same".