Z80 breadboard computer
I plan to create my hardware schematic one day, even though its just a bunch of spaghetti.
Z84C0010PEG - Z80
CY62256NLL-70PXC - SRAM
AT28C64B-15PU - EEPROM
ECS-2100AX-100 - System Clock
ECS-100AX-018 - UART Clock
PC16550DN/NOPB - UART
Arduino Nano x2 (one for progrmaming, one to set Z80 to "program mode" or "run mode"
74HC595 x2
As of right now I have a really tedious 7 stage process to write my software to my z80 machine.
Stage 1: Write the code. I use Notepad++
Stage 2: Copy code to my Debian machine
Stage 3: Compile using z80asm
Stage 4: Convert to "intel" hex data with xxd
Stage 5: Convert to hex data to byte data
Stage 6: Load byte data to Arduino
Stage 7: "flash" to z80 machine with arduino
So my old process worked but was kind of inefficient. I was having to manually manipulate the data at each stage and then actually burn it to the arduino. Once the arduino booted it would dump the stored data to an EEPROM or SRAM.
I opted to find a way to combine stage 3-7, and bash makes this pretty trivial. Also I wanted to stop burning my ROM to the Arduino and actually send the arduino my data via serial. Then the Arduino can burn to the EEPROM or SRAM as it recieves the serial data. This will also be useful if my software ever becomes larger than the space available in the Arduno's ROM.