r/beneater 22h ago

8 bit processor and example program

Enable HLS to view with audio, or disable this notification

120 Upvotes

featuring 8 registers

reg0 - accumulator

1,2 - work registers

3,4 - jump address and condition

5-6 output registers

7 - memory address register

this program does not use any memory (which i have yet to implement the microcode to)

the max memory size is 256 bytes, i am using a CPU with 16 to help with performance.

It runs roughly at 2kHz.

it uses the lower 8 bits of rom as instruction, and upper 8 as immediate data.

it currently does not feature any inputs.

EDIT:

with absolutely 0 RAM, including the memory address register removed, I more then doubled the performance to around 5kHz!


r/beneater 3h ago

6502 Made my PCB version of the 6502 computer

Thumbnail
gallery
137 Upvotes

A year ago, I stumbled upon a tutorial on yt about building an 8-bit breadboard computer and was deeply fascinated by how computers operate fundamentally. From building an 8-bit breadboard computer to a 6502 computer on a PCB, it was a mixture of frustration and enjoyment, but in the end, it was all worth it once u get them up and running.

Anyway, I just learned PCB design recently and managed to get the 6502 computer running on my PCB on the first try. I even made some electronic music using the VIA timers. u can listen to by clicking the links below:

Bad Apple: https://youtu.be/xPJ54ADF-dY?si=I_eyWqMMqh_tztPT
Only my railgun: https://youtu.be/ETBfmcWphys?si=hvm53mKQXa22EcGh


r/beneater 19h ago

Help Needed Got the 6502 kit, trying to get the EEPROM to work but no luck. Help appreciated!

Enable HLS to view with audio, or disable this notification

31 Upvotes

i can provide more details if need be. The EEPROM is AT28C256.

AUDIO explains what im doing

I am trying to do it much like he does in this video: https://www.youtube.com/watch?v=BA12Z7gQ4P0

seemingly the EEPROM that comes with the kit doesn't have a maximum write pulse time, so im just controlling that with a button. Its possible im just not sending any sort of write pulse idk.

Steps:
Set output enable to high (deactivated)

Connect data bits to low/high

Press button to send write pulse

disconnect data bits from low/high

Set output enable to (active) low

See that the lights are still all on, instead of displaying the on/off pattern that was supposed to be programmed in.

I didn't get the EEPROM programmer yet because I thought i could maybe just use an Arduino for now, but i can't even get it to work manually