A Working 4-Bit Computer in Logisim? (It can play games)

  Рет қаралды 277

Uniprism

Uniprism

6 күн бұрын

Why ain't there any good royalty free jazz on youtube?
This was a 2 week project I did from scratch last summer with 0 research but didn't have time to make a video for a year.
Logisim apparently does not like having to deal with 2000 logic gates all wired together in circuit spaghetti while trying to update at 4.1Khz
Specs:
RAM: 128 bytes (258 half-bytes)
ROM: 2 Kilobytes (4K half-bytes)
CPU: 4-bit, 1 core - 4.1KHz
Display: 15x15 monochrome custom serial display
CPU Instructions
0 - None
1 - Increase A(Accumulator)
2 - Decrease A
3 - Load number into A
4 - Add number to A
5 - Subtract number from A
6 - Left shift A
7 - Right shift A
8 - Load RAM address into A
9 - Store A into RAM address
A - Jump to ROM address
B - Compare A to number
C - Break jump on Equal
D - Break jump on Not Equal
E - Break jump on Less than
F - Break jump on Greater than
Music by me because I couldn't find any good royalty free jazz

Пікірлер: 10
@mke5
@mke5 3 күн бұрын
Good vid
@AORA_INDUSTRIES
@AORA_INDUSTRIES 3 күн бұрын
Any tips on where to learn this? I have a good idea on how it works but doing this on such a low level logic (logic gates) seems hard
@uniprism
@uniprism 2 күн бұрын
I just looked at a couple videos about how computers work like this playlist by Sebastian Lague: kzbin.info/aero/PLFt_AvWsXl0dPhqVsKt1Ni_46ARyiCGSq. It also helps to have some programming knowledge for the low level logic part since you can just imagine the logic gates as a bunch of if statements. It mainly comes down to figuring out how to make smaller components, like binary adders and counters, and work yourself up to whatever your final goal is. Remember that google is your friend when looking for logic gate circuits.
@AORA_INDUSTRIES
@AORA_INDUSTRIES 2 күн бұрын
@@uniprism yeah I got ALUs and memory down pretty well but how did you manage to make a video card?
@uniprism
@uniprism 2 күн бұрын
@@AORA_INDUSTRIES It's basically 15 rows of 15-bit shift registers where one pixel can be updated at a time in the first column with the 4 bit input, and then the column of pixels is shifted to the next vertical line, so new pixels can be added to the first column again. Once the entire screen is ready, a single input can be used to update all of the pixels at once with another grid of 15x15 D flip-flops connected to the previous columns. So in total there are 15 initial D flip-flops connected to the 4-bit input and 30 D flip-flops per vertical line for the display, where one sets the value for the pixel and one updates the value to the screen. (This can be seen at 2:00)
@IvanCaceresDuran
@IvanCaceresDuran 3 күн бұрын
what is the program calledwhat is the program called
@gpfuns
@gpfuns 3 күн бұрын
lack of reading capability moment
@uniprism
@uniprism 3 күн бұрын
Logisim, it's a logic gate simulator
@gpfuns
@gpfuns 3 күн бұрын
0/10 no C&BT
@uniprism
@uniprism 3 күн бұрын
Sorry, I couldn't fit in any Cognition and Behavioural Therapy into this video, maybe next time :(
I Designed My Own 16-bit CPU
15:46
AstroSam
Рет қаралды 1,9 МЛН
The Numitron: An obvious idea that wasn't very bright
23:21
Technology Connections
Рет қаралды 1 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 8 МЛН
ОСКАР vs БАДАБУМЧИК БОЙ!  УВЕЗЛИ на СКОРОЙ!
13:45
Бадабумчик
Рет қаралды 3,7 МЛН
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 39 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 107 МЛН
I Made a Neural Network with just Redstone!
17:23
mattbatwings
Рет қаралды 718 М.
These Keys Shouldn't Exist | Nostalgia Nerd
19:32
Nostalgia Nerd
Рет қаралды 647 М.
M5 Bruce is on guys!!
19:59
Bernardo Morcelli
Рет қаралды 4,7 М.
WHY did this C++ code FAIL?
38:10
The Cherno
Рет қаралды 198 М.
Gearless Magnet Bike
17:57
Tom Stanton
Рет қаралды 6 МЛН
Experimenting with Buses and Three-State Logic
18:43
Sebastian Lague
Рет қаралды 584 М.
Reverse Engineering Game Code from the Neutral Zone
40:59
Retro Game Mechanics Explained
Рет қаралды 551 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3 МЛН
How backspin ACTUALLY works - in super slow motion
15:50
Steve Mould
Рет қаралды 714 М.
Exploring How Computers Work
18:12
Sebastian Lague
Рет қаралды 3,4 МЛН
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 7 МЛН
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 179 М.
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 1,1 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 190 М.