Martin Krischik avatar

Ben Eater 6502 Kit — Day 9

krischik

Published: 09 Nov 2020 › Updated: 09 Nov 2020Ben Eater 6502 Kit — Day 9

Ben Eater 6502 Kit — Day 9

1.jpeg

Good news. The CPU wasn't damaged after all. The RES (Reset) pin was bent inwards. To bad I didn't make a photo to show how that looked like.

Anyway, with the RES not connected to either ground or +5V the CPU would act entirely random and unpredictable. It would even change behaviour it I brought a finger close to RES pin. Which was very weird.

With the RES pin connected the CPU started to act predictable. Only the address bus was still acting strange. Looking closer I noted that I have all the Arduino lines connected the wrong way around. After I fixed that the reset sequence went trough just as shown in the video.

Screenshot at Nov 09 175424.png
Monitor output of the reset sequence

The next thing to do is replace the 1kΩ resistors encoding hex EA on the data bus with an actual ROM so we can execute some real programs.

2.jpeg
6502 NOP operation hard coded with 1kΩ resistors

I'm also tempted to add an simple disassembler to the monitor program to get some easier to understand output.

Leave Ben Eater 6502 Kit — Day 9 to:

Written by

For each right there is an equal and opposite obligation. — me

Read more #vintage-computing posts


Best Posts From Martin Krischik

We have not curated any of krischik's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Martin Krischik