r/beneater 9h ago

8 bit processor and example program

Enable HLS to view with audio, or disable this notification

54 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 6h 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

15 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