I have been working on a z84 computer that currently employs two arduino nano's.
I have a bunch of 74X series logic Ic's and a whole bunch of resistors, caps and transistors but that's it in terms of hardware. I have a backup z84 if something goes horribly wrong.
I'd prefer not to go and buy flash memory, or an EEPROM as the wiring and glue logic is bit advanced for me. Plus, code generally does not emit smoke if you do something wrong.
The goal of this project is to further my understanding of programming by emulating various components on the arduino, so then I may program the z80 via serial interface. (Rather than banks of switches, etc)
I'm currently stuck on emulating memory, I only have a very basic test setup in which I have the z80 counting up the address list and I am unsure as to how I'm supposed to continue.
I have some more information on my blog that may prove to be useful in terms of pointing out how horribly wrong I'm going. There are pastebins containing both the code for the arduino master & the arduino slave. Plus a rather cruddy circuit diagram.
Blog with a bunch of info
If that's not acceptable I can just link the references here.
I think I'm headed in the right direction, attempting to use arrays to shuffle data around but I lack any formal knowledge.
Currently I can hit enter on the serial interface, providing the z80 starts up in the right state and it performs 4 clock cycles and spits out the address back to serial, that's all I have after a month or two.
Additionally I'd like to setup a Hex converter on the output so it's a bit more human readable. Apparently the best way to go about this is using a lookup table but I can't find much in the way of documentation for simpletons such as myself.
If someone could point me in the right direction, that would be great. Primarily I'm after appropriate documentation but if anyone has any experience with emulating hardware on the arduino I'd like to hear from them.
I'll be checking on this thread every couple of hours, any input would be appreciated.
Thanks