ElEctric_EyE wrote:
pay attention to power distribution.
On my first try i ignored that tip, but i knew that i had to fix the power eventually...
In a system where you have the absolute minim of components, it can work even if you ignore that tip a bit. As soon i expanded my system a bit it stopped working. I suspected that that was the issue, so i attached a 470uf capacitor to the eeprom power pins(because of the pin configuration) and it worked once again. Later i had to strip all the thin power wires and put more appropriate wires and make some space for more capacitors(i also added 100uf electrolyte cap near the cpu). Even today i don't have one capacitor for every ic, and it is semi daisy chained, but it works, and i don't plan to fix it, since i am making a new sbc from scrap.
Also when you start building, you must test every step. My first test was the free run test, where i hardwired the cpu data bus to the nop opcode, and i soldered led-s to the address lines, and every led blinked with half frequency of the previous. Next step was adding rom, i soldered led-s to some unused decoded addresses, and the program accessed in a slow loop the addresses of the led-s, by doing that the led-s toggled on and off. Next was ram, i tested it too in a similar way, and after that i added the first i/o device(the VIA chip, 6522).