Chris, everything works right. My serial port wiring was backwards... but it worked after I swapped the wires. The 3rd Party case is mediocre, but that's not under our control. The screws just fell out, seemed stripped. but I've got plenty of self tappers that fit.
The Hex bolts for the serial port are a wee bit short for the thicker back plate, I had others of those from another project. Now it fits and I can use the serial port.
The software works right.
I can't tell but it seems like it's running at 500KHz or am I wrong? For Next loop of 1,000 took about 10 seconds and you can see the LEDs flicker.
This is just a minor thing, but when the 6800 hits the WAI instruction, I get
Simulation halted!
Last instruction executed: PC=0126 opcode=3E
PC=0127 SP=00D6 IX=1C63
A=25 B=D0 CCR=D3I have the old 6800 emulator code and that ties in with what the original author did.
1. Reasons to stop. The simulator can be stopped by:
WAI instruction
I/O error in I/O simulator
Invalid OP code (if ITRAP is set on CPU)
Invalid mamory address (if MTRAP is set on CPU)
So that is working as designed.
If I am running on the USB port, I have to unplug the USB and back in again.
If running on the Serial Port, it's just a power cycle.
I thought about bodging the Arduino reset button to put it outside the case, but that's extremely kludgy. :D
I wonder if any of the "Illegal" instructions could just dump us back into the monitor. On a real 6800, one would have to toggle RESET low.
Overall it's a great product, the build instructions were clear. I like the spacers on the toggle switches, makes it look nice. My unit powered up and started working right away.