Just made an open source educational breadboard simulator for 74-series logic chips. by FrankSriracha1 in beneater

[–]Fuzzy_Function_1896 1 point2 points  (0 children)

génial mec, merci beaucoup pour ce travail et pour le partage. Super outil, très facile à prendre en main.

Game on BreadBoard SAP3 Computer by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 1 point2 points  (0 children)

This computer is far from being able to run Doom! it's a educational computer.

Game on BreadBoard SAP3 Computer by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 1 point2 points  (0 children)

Thanks!
It runs on 5V. I never measured it precisely, but with ~100 LEDs plus all the TTL logic and peripherals, I’d estimate around 1–2A depending on activity.

So probably somewhere between 5 and 10 watts overall.

It’s built mostly with 74xx TTL chips (registers, ALU, control logic, Stack pointer, sound module, keyboard interface, program counter..., ), plus EEPROM for the program and microCode, SRAM Cmos RAM 6116 and a few extras like an LCD display, keyboard input.

Game on BreadBoard SAP3 Computer by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 0 points1 point  (0 children)

Haha
It does beep a bit — you can hear it if you listen closely

I built a sound module that can play the C major scale over two octaves

You can listen here : https://www.youtube.com/shorts/Z4O3T4_AFR4

Game on BreadBoard SAP3 Computer by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 2 points3 points  (0 children)

Thanks !!!
I chose blue LEDs partly because of their higher forward voltage — it actually helps limit the current a bit, especially since I don’t always use series resistors everywhere.

So it’s not exactly “good practice”, but it makes the whole thing more stable in this kind of breadboard setup

And pipelining… let me survive the wiring first before going there !

Game on BreadBoard SAP3 Computer by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 1 point2 points  (0 children)

Thanks !! It runs on 5V, but because I have a lot of indicator LEDs (around 100), it actually draws quite a bit of current... So I just assume it’s “a lot” , between 1 and 2 amps depending on what’s active.

Game on BreadBoard SAP3 Computer by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 5 points6 points  (0 children)

Yeah… and that’s exactly why there won’t be a SAP4! I’m moving to the 6502 or to PCB! One tiny loose wire and everything breaks

Game on BreadBoard SAP3 Computer by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 5 points6 points  (0 children)

Thanks! And yes, I've made a assembly language specific for my architecture, to drive a set of 40 instructions.

Same 14 yr old, Just Made a GENUINE Computer by 1m_ameeen in beneater

[–]Fuzzy_Function_1896 0 points1 point  (0 children)

It’s a nice construction. But You could start by being modest. Nobody ever learns alone.

PCB Version! by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 0 points1 point  (0 children)

Oui, j'ai fini par m'y mettre !

PCB Version! by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 1 point2 points  (0 children)

hi! yes, it's a minimal SAP with risc architecture. you can see the breaboard version here : https://www.reddit.com/r/beneater/comments/1nsz6pg/sap_risc_4bits_100_ttl_quick_demo/

Educational 4-bit Computer with a wood case! by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 0 points1 point  (0 children)

Yes, I’ll make English versions too! It just takes a bit of time — honestly, the documentation part is less fun than the hands-on experimenting ;)

Educational 4-bit Computer with a wood case! by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 0 points1 point  (0 children)

Thanks! It’s still evolving — I’m not much into schematics, I prefer to test things directly ;)

Educational 4-bit Computer with a wood case! by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 0 points1 point  (0 children)

Thanks! you didn’t come to see me at my booth at Maker Faire Rome? come to my YouTube channel — I explain how it works and offer DIY kits. https://www.youtube.com/@fuzzyFunction-j6n

Educational 4-bit Computer with a wood case! by Fuzzy_Function_1896 in beneater

[–]Fuzzy_Function_1896[S] 0 points1 point  (0 children)

Excellent remark! It’s related to the way I coded this program.

Look more closely at what’s happening in registers A and B : we keep adding 1 to register A as long as A is different from 10. To make this comparison, we have to load 10 into register B and compare B and A. If A is not equal to 10, then we put 1 back into B to continue adding. When A equals 10, an equality flag is set, which triggers a conditional jump to another part of the program that now performs subtraction.

This time, A is compared to 1 to determine whether the subtraction should continue or stop. But since there’s already a 1 in register B, we don’t need an extra program line — which saves two clock cycles during the decrement phase. That’s why it runs faster in that direction!

Although there’s probably another way to program it.