r/beneater

6502 reset sequence glitch

6502 reset sequence glitch

I'm on the second video. I'm getting a glitch in the reset sequence always at this point, at the first line or the first two lines before the fffc it doesn't have ea. It was mostly getting ea there then I put pressure on the wires to try to make the connections better and now its always off. would this be caused by bad connections or possibly something else? Everything else runs fine as you can see.

edit: tested it a few more times and it just seems like an occasional random occurrence now.

u/VictoryMoist3616 — 16 hours ago
▲ 155 r/beneater

Finished wiring the 6502 stock computer

One major part of this project is done. Next, I need to finish programming my PIC16F877A to write code to the EEPROM. Once I can get this computer running some rudimentary programs, the next step is to install the serial port add-on.

Other improvements I hope to achieve:

- write my own monitor and boot loader program

- expand RAM by reducing ROM to 8K

- increase allocatable RAM by coming up with a better address bus handler.

- interface with my PIC16F877A and use it to read programs from external media. Options include SD cards, paper tape and punch card, even floppy disks if I can figure out how to work with them

- USB support for keyboard interface.

- collect underpants

- ???

- profit

u/2E26 — 1 day ago

I need help for my Emulator

Hello guys

so i have bought the kit some time ago but i didnt get it to work so i want to learn assembly on my pc so that when i have it build i can use it and learn. Im using vs code with retroassebler and that works greate i think but with my emulator i got some problems. Currently im using the clemetina one by fran150. But the code just dosnt work and now im not sure if its me or the emulator. I appreciate any help guys thanks. also are there any better emulator out there idk

https://preview.redd.it/vz7hb441xb2h1.png?width=1884&format=png&auto=webp&s=f8c52b7be177520a63a21299ed4bb2f71dd76c68

reddit.com
u/Ambitious-Buy5256 — 1 day ago
▲ 202 r/beneater

Clock Module - Birthday Gift! Where to start?

So I received these two as a lovely birthday gift. Unfortunately I know very little, slightly embarrassingly, about electronics. I know how transistors work and logic gates from a CS/programming perspective. But capacitors, resistors, volts, amps, basically everything electronics I don’t know. I’m worried about messing it up.

Where do I start? I’m very project focused so I’m not looking to try and cram an entire knowledge of electronics in but enough to get going and to build and understand the elements of the clock module. I started with Ben’s videos and I quickly realised there was a knowledge gap there for me.

What resources would you recommend? Hopefully others in the future will find this thread useful as a noob stepping on point.

u/RoseCottageLeather — 3 days ago

Is there anyway to save the breadboard bottom?

A while ago I didn’t think about line up the power rails properly and ended up with double power rails on some of the breadboards. It’s stuck to a cardboard plane with the breadboard adhesive on the bottom stuck to it. Is there anyway to somehow save the breadboards without ripping the entire bottom of the breadboard?

u/paperapplesz69 — 3 days ago
▲ 16 r/beneater+2 crossposts

Student project - Digital Logic Simulator

Hello! I am a student in New Zealand looking to make a Logisim-like program. I am doing this as part of an assessment, which largely requires design based on feedback from my target demographic, so here I am to ask, if this interests you, please do feel free to fill out my form, and even maybe provide feedback as the project finds its footing : D

The main goal of this project is to provide an educational and interactive experience for digital logic, while also fulfilling personal gripes, like simulation speed, that I've had while designing my own projects ( I'm working on an awesome 16-bit CPU that I hope to build from discrete SMD ICs one day! ).
While Logisim, and similar programs, are great educational tools, I feel the 'dated' UI design and layout, and the lack of tutorials integrated into these programs could cause friction to beginner users that may turn them away.

Currently, my main goals are:
A refreshed, modern UI, sleeker and visually appealing components ( i.e. gates, activated or deactivated wires, or etc. ), as well as a built in tutorial editor ( sharing tutorials would be easy, likely uploaded to some cloud platform ), where tutorials could be something like step-by-step holograms ( i.e. you place things where outlined ), with notes along the way.

But this could all change based on your feedback, and I'd love to hear what sort of things people wish for, and I hope that, maybe, I can implement that for you!

Here is the form,

Thank you!!
(Apologies if this post, or any contents misses any etiquette on this platform, I usually just come here to read rather than post <3)

u/Familiar-Article5303 — 3 days ago

Ben Eater 8 bit PCB

Hi all, I don't usually post on reddit or anywhere but awhile ago I saw someone post gerber files for a 4 layer PCB of the 8-bit SAP computer. Sorry I cannot remember who it was and I cannot find the original post. Also this is a brand new reddit account. My other one got hacked and I decided to shut it down and start a new one. Anyway I had JCLPCB make 5 of the PCB's, I am going to keep 2 and am willing to sell the other 3 at my cost plus actual shipping from FL. I would prefer US only addresses to minimize the shipping hassles. The board has black solder mask. I have not built it yet (I do have my breadboard version working) but I assume it is accurate to the schematics but that is unknown at this time. LMK if anyone is interested. I can send pics of the board if necessary. Thanks.

reddit.com
u/vigorr_rb73 — 3 days ago

Registers changing values randomly

I am trying to make a simple Fibonacci calculator before the full computer from just discrete logic gates

The clock is at the top, adder at the bottom and registers in the middle, and the output of the clock goes to a edge detector using AND and NOT propagation delay, but the problem is the latches seems to be outputting random values whenever the clock is high

I don't think it's completely random (the input is fixed) but it might some LEDs will go high when the clock is high and then sometimes turn off right when the clock goes low even tho it is going through an edge detector?

I have tested them individually and they seem to work fine, if I connect the enable pin directly it seems to work fine etc, but for some reason the edge detector output makes it flick on and off on random based on the clock output. I can't think of anything that might be causing this, there aren't any floating pins etc. Also I am using HC chips btw. Thank you very much!

u/KitCato_o — 4 days ago

how do chips like the 6521/6522 work?

im trying to make a 6502 computer in logisim (premade library for the 6502), and i dont have a circuit made for the PIA, how do they work and how would i make them?

kinda a beginner to electronics btw !

reddit.com
u/CrowsWhoMow — 3 days ago

Need help with Ben Eater's Clock Module

I am currently building Ben Eater's 8-bit computer clock module on a breadboard. The astable (auto) mode works perfectly fine on its own (blue LED blinks as expected). However, I am having a weird issue with the SPDT/DPDT select switch and the logic gates (74LS04 and 74LS08).

Here is what happens: The red LED (main clock output) was always mimicking the auto clock. When I pressed the manual pulse button, it would just layer the manual pulse on top of the auto clock instead of isolating it. I suspected a floating input issue on the 74LS04 (Inverter) Pin 1.

u/batum_t — 5 days ago

LED does not blink in astable 555 timer

I made this by following a video tutorial and connected it using a 5V 2A adapter, but the LED either doesn't blink at all or only blinks about once every 15 seconds. What could be the problem?

u/gdhan22 — 6 days ago
▲ 324 r/beneater

Finally completed the 8-bit!

This was a very enlightening project as a prospective CS student. Big thanks to Mr Eater and this wonderful community ❤️

u/SaxyCat — 8 days ago

Going to the PLD dark side

I wanted to experiment with the zeropage. Devices at $7F80? Easy with 74HC30 and 74HC138. Devices at $0000? Hmm, that's a lot of OR gates. Writable interrupt vectors? Hmm.

This actually compiles! I'm excited! But 22v10s are sadly still in the mail. I should probably sleep anyway. 😄

Name        decoder ;
PartNo      00 ;
Date        05/14/26 ;
Revision    01 ;
Designer    koushiniku ;
Company     None ;
Assembly    None ;
Location    None ;
Device      g22v10 ;

/* inputs */
pin 1 = CLK;
pin 2 = R;
pin [17..13,11..3] = [A15..A2];

/* outputs */
pin 18 = !VIA_CS;
pin 19 = !ACIA_CS;
pin 20 = !RAM_CE;
pin 21 = !ROM_CE;
pin 22 = !OE;
pin 23 = !WE;

/* address field */
field address = [A15..A2];

/* definitions */
WE = CLK &amp; !R;
OE = CLK &amp; R;
VIA_CS  = address:[0000..000F];
ACIA_CS = address:[0010..0013];
VECTORS = address:[FFF8..FFFF];
ROM_CE  = address:[C000..FFFF] &amp; !VECTORS;
RAM_CE  = !ROM_CE &amp; !ACIA_CS &amp; !VIA_CS;

reddit.com
u/Ancient-Ad-7453 — 8 days ago
▲ 1.1k r/beneater+1 crossposts

My CPU now loads programs from an SD card

Finally got the SD-card boot path working on my CPU.

I use a ROM bootloader which initializes the SD card and jumps to loaded programs.

A few build details:

8-bit data bus

16-bit address space

48 KB RAM

boot ROM at 0xC000

bit-banged SPI / SD-card interface

128x64 OLED display

Project overview:

https://fadil-1.github.io/

GitHub:

https://github.com/Fadil-1/8-BIT-BREADBOARD-CPU

YouTube version:

https://www.youtube.com/watch?v=jY9QqDrkifg

u/StraightCondition4 — 12 days ago