I have just finished assembling the memory board of my Z-80 homebrew project. All components individually tested, I placed the test program on the ROM, inserted the Z-80 and it worked first time!
There is still a little more to do on modifying the I/O board to run the monitor program (which also needs writing) as the board was designed to test the various different circuits. However, the computer successfully executes the following test routine:
;COMPUTER TEST ROUTINE ; ;OUTPUTS ON PORT 0 ANY INPUT ON PORT 0 WHILST CALLING AN EMPTY SUBROUTINE ; ; LD SP,9000H L1: IN A,(00H) CALL TEST OUT (00H),A JP L1 TEST RET
This outputs on port 0 any input on port 0 whilst using the stack pointer to save the value of the program counter in the RAM for the execution of an empty subroutine. Thus the I/O, ROM and RAM are all tested. Monitor listing to come soon no doubt.