I made an entire OS that only runs Tetris

  Переглядів 1,645,391

jdh

jdh

3 роки тому

it's tetris time
NOTES:
* yes, I know it's more of a kernel than an operating system. but "ring 0 bare metal OS/tiny kernel" just doesn't have the same ring to it.
* not sure how to pronounce BIOS
* i'll get a pop filter soon i promise
* pls don't copyright strike me for the music EA 🥺
CODE: github.com/jdah/tetris-os
TWITTER: / jdah__
PATREON: / jdah
EDITOR: NeoVim
THEME: palenight
EMULATOR: QEMU
RESOURCES:
osdev.org: wiki.osdev.org/Main_Page
Sortix: sortix.org/
ToaruOS: toaruos.org/
James Molloy's Kernel Development Tutorials: www.jamesmolloy.co.uk/tutorial...
EXTRAS:
zment with working music on the PC speaker: • TETRIS OS on real hard...
Parker Reed running this on real hardware: • Tetris-OS

КОМЕНТАРІ: 4 500
@SimonClarkstone
@SimonClarkstone 3 роки тому
Fun fact: GIMP can export images as C code for situations like these.
@A1rPun
@A1rPun 3 роки тому
Wasn't expecting to learn anything from YT comment, thanks for this.
@maddiepilz5711
@maddiepilz5711 3 роки тому
> situations like these lol
@resampling9129
@resampling9129 3 роки тому
Holy FUCK I needed to know this. Cheers mate!!
@blazi_0
@blazi_0 3 роки тому
Wow that's cool !
@DorperSystems
@DorperSystems 3 роки тому
you wouldn't believe how many times I have had to use GIMP export to C
@Majima_Nowhere
@Majima_Nowhere 3 роки тому
"Bro, your computer is so slow, what OS is it using? Vista?" "Tetris." "...Huh?" "My computer is running on Tetris."
@jrgenbull5334
@jrgenbull5334 3 роки тому
«Bro, your computer is so slow, what OS is it using? Windows 10?»
@cobbcoding
@cobbcoding 2 роки тому
@@jrgenbull5334 wow, how could you insult TetrisOS so much, that you would say it's as slow as Windows 10...
@YOEL_44
@YOEL_44 2 роки тому
@@jrgenbull5334 To be fair, Windows these days is quite efficient, I've used it on a single core Intel Atom with only 1GB DDR2, it wasn't a gaming computer for sure, but it was actually usable, I could even watch YT videos on Firefox
@YOEL_44
@YOEL_44 2 роки тому
@@yeppiidev That's not the point, the point is that, as a current, modern, feature filled OS, is not that hard to run
@YOEL_44
@YOEL_44 2 роки тому
@@yeppiidev I watched my first YT video on a W98 machine, I know
@Arcoz
@Arcoz Рік тому
Me: - Let me check the code. Github: - Repository unavailable due to DMCA takedown.
@enriqueamaya3883
@enriqueamaya3883 Рік тому
Follow Jesus and you will not be ashamed.\c[zx\][c\]]\zx[c\]zx[
@leg1187
@leg1187 Рік тому
I know right. I wonder why?
@SomeRandomPiggo
@SomeRandomPiggo Рік тому
@@leg1187 The Tetris Company hates their fans like Nintendo does, aggressively monetizing everything even if it hurts their brand
@HallwayMusic91
@HallwayMusic91 Рік тому
@@leg1187 Tetris Company took it down due to violation of copyright infringement.
@leg1187
@leg1187 Рік тому
@@HallwayMusic91 Oh of course it did :/ What did he expect?
@tejing2001
@tejing2001 2 роки тому
My C programming class in 7th grade had me doing something a lot like the second half of this for our final group project. We just had a pointer to the start of video memory and a few very basic support structures like that, and the rest was up to us. I ended up writing most of the core layer, while the rest of the team implemented game features and made sprites and all that other stuff. I walked out of that class really knowing what programming was about, even if it took me a few more years to get a practical coding environment going for myself. Looking back, that teacher was one of the best I've ever had, in any subject. He was a huge follower of the socratic method, never handing us answers, but getting us to come up with them ourselves, or find them in documentation, while never letting us get mired in a dead end.
@gavinthecrafter
@gavinthecrafter Рік тому
So you basically made a full featured game engine entirely out of C *IN 7TH GRADE?!?!* That's impressive
@tejing2001
@tejing2001 Рік тому
@@gavinthecrafter Full-featured for the scale of game we were going for, anyway, yeah. Kinda sounds more impressive than it felt like to me at the time. It was maybe 6-7k lines of code iirc. The game was roughly a mix between space invaders and asteroids. Unfortunately, I no longer have the code :-(
@enriqueamaya3883
@enriqueamaya3883 Рік тому
Follow Jesus and you will not be ashamed.\c[zx\][c\]\z]xc[\]
@pigsweat7763
@pigsweat7763 Рік тому
@@tejing2001 where the hell do you have a c class in 7th grade
@tejing2001
@tejing2001 Рік тому
@@pigsweat7763 The silicon valley area in California. It was an elective, of course.
@CrownCatX
@CrownCatX 3 роки тому
Next: "I went mining in a cave and collected resources to make my own hardware"
@InnerEagle
@InnerEagle 3 роки тому
I made my own hardware and then proceeded to create a way to mine cryptocurrencies without collateral issues
@TerraKnight27
@TerraKnight27 3 роки тому
computercraft in real life
@X-Ter
@X-Ter 3 роки тому
After that: "I invented the universe to make my own Earth which allows me to gather resources to create my own hardware, then I make an operating system, which I use to play PONG"
@papiangelus
@papiangelus 3 роки тому
Iron man type beat
@janno288
@janno288 3 роки тому
"Just like the simulations"
@IsmaelVazquezJr
@IsmaelVazquezJr 3 роки тому
I’m genuinely impressed. This has to be the most exciting “building an OS” video I’ve ever seen since Terry Davis.
@sorryvol
@sorryvol 3 роки тому
rest in peace terry a davis, gone too soon.
@procrastinatingcartoonstm5130
@procrastinatingcartoonstm5130 3 роки тому
ye
@frenchwizardclientman919
@frenchwizardclientman919 3 роки тому
Yeah but this os is not 2 fucking mega bytes and does not include a flight simulator ...
@sorryvol
@sorryvol 3 роки тому
@@frenchwizardclientman919 or chess vs god himself
@frenchwizardclientman919
@frenchwizardclientman919 3 роки тому
@@sorryvol And an integrated 3D sprite creator
@chrisknestrick374
@chrisknestrick374 2 роки тому
This video inspired me to start writing my own OS. As I’ve been writing I’ve been rewatching this and understanding more and more. I *just* started having this weird behavior and was like, “I bet I didn’t read enough sectors in.” Yup, that was it! Thank you for saving me a LOT of pain!!! 😁
@lexihadrovic
@lexihadrovic Рік тому
You done with the OS?
@nibbletrinnal2289
@nibbletrinnal2289 Рік тому
@@lexihadrovic they almost certainly are not, depending on their goals. most hobby operating systems take multiple years to get to a point even remotely as useable as something like windows or linux. jdh only managed to do his project in a reasonable timeframe due to the fact that its not even really an OS, but a kernel that does a single highly specific task, which was a good decision on his part imo
@lexihadrovic
@lexihadrovic Рік тому
@@nibbletrinnal2289 Thanks for informing me on that!
@Ollie12418
@Ollie12418 Рік тому
How did you write your own OS? I wanna do it too!
@nibbletrinnal2289
@nibbletrinnal2289 Рік тому
@@Ollie12418 not sure why i got notified for your message even though you didn't @ me specifically, but if you're really willing to dedicate the time to such a process, the osdev wiki is *the* de facto starting point for anyone looking to get into osdev. a link to it should be in the description of this video, iirc i wish you luck on your osdev journey my friend
@LauraLowe
@LauraLowe 10 місяців тому
Idea: You _can_ run applications, but to launch them you have to clear lines that correspond to positions on the taskbar
@fknight
@fknight 3 роки тому
Teach me your ways. You built everything from scratch, even the Tetris soundtrack lol. Next you'll be writing your own BIOS on custom made hardware.
@I_Am_Kosh
@I_Am_Kosh 3 роки тому
Lol
@I_Am_Kosh
@I_Am_Kosh 3 роки тому
Shouldn't he be curing cancer or something
@akkico
@akkico 3 роки тому
@@RedstoneNinja99 saw that the other day. i forgot that i subscribe to him.
@recklessroges
@recklessroges 3 роки тому
Ben Eater [eaterbc] collaboration when?
@pyfun4196
@pyfun4196 3 роки тому
here comes the Coding Jesus.
@subpixell
@subpixell 3 роки тому
I'm sad that you didn't take the genius opportunity to name it "TetrOS"
@Jono997
@Jono997 3 роки тому
Should've known someone else would think of this joke.
@z-beeblebrox
@z-beeblebrox 3 роки тому
From the second the video started I was like "please call it TetrOS please call it TetrOS" and...I'm not mad, I'm just disappointed
@MrCrackbear
@MrCrackbear 3 роки тому
a tetris operating system called tetros actually already exists and it fits within the 512 bytes of the boot sector
@gregdabrat
@gregdabrat 3 роки тому
Amazing
@devhonk1722
@devhonk1722 3 роки тому
@@MrCrackbear Yeah but still, does it support the glorious Sound Blaster Audio:tm:?
@retrojon_
@retrojon_ 11 місяців тому
This video never gets old! 2 days ago I finally got my bootloader to load and run my 32-bit C kernel and today, I got it printing to the screen properly. I have a long way to go and hopefully, I'll have my own version of Tetris running as well in the future!
@theulfhednar2655
@theulfhednar2655 10 місяців тому
I am truly impressed by this. I'm currently learning more and more code as the days go by (at least it feels that way). And seeing something like this really does make me motivated to keep pushing. I guess I gotta start doing some leetcode first though, to at least get those concepts in. (Mainly been doing webdev until now, so backend is kind of a new field for me)
@chalupagrande
@chalupagrande 3 роки тому
When he said: "So the cool thing is that it works for now and will only break when I’m about 20 more hours into this project and have completely forgotten about this code." I felt that....
@user-cd4bx6uq1y
@user-cd4bx6uq1y 2 роки тому
Scratch, but same.
@ashwinbelbase
@ashwinbelbase 2 роки тому
Not just you, every developer felt that XD
@NicVigil
@NicVigil 2 роки тому
Comments are useful lol
@burlingk
@burlingk 2 роки тому
I think anyone who has done anything that took more than a few hours to complete felt that.
@AsmodeusMictian
@AsmodeusMictian 2 роки тому
Apple TurboPascal back in the 90's, then C# around 2013 or so. Both times ran into a situation where I SWEAR EVERYTHING WAS F**$&#@@ RIGHT, and yet somehow it didn't want to work. I tell people that it takes a special kind of masochist to do computer code. They laugh. I'm serious.
@jedits2256
@jedits2256 3 роки тому
"Hey bro can I borrow your laptop really quick?" "Yeah sure it's on the couch" "Thanks" tetris theme starts playing from the living room
@georgefloydgaming4772
@georgefloydgaming4772 3 роки тому
“HEY WHAT DO I DO “
@nathangamble125
@nathangamble125 3 роки тому
@@georgefloydgaming4772 YOU PLAY TETRIS!!!
@marlo8850
@marlo8850 3 роки тому
@@georgefloydgaming4772 Can you do a playthrough of rainbow six vegas with Derek Chauvin lets plays?
@georgefloydgaming4772
@georgefloydgaming4772 2 роки тому
@@marlo8850 I own rainbow six siege only
@-na-nomad6247
@-na-nomad6247 2 роки тому
I did something similar when I was just starting at engineering school, added a custom made bootloader to my laptop wich required a code to be pressed (pressed not entered, like keep holding 3 letters when it checks) to boot, otherways it shows "Disconnecting" and shuts off, people tend to leave the pc alone after that.
@viktorhonchar
@viktorhonchar 2 роки тому
Holly man... Outstanding skills! Respect for the effort and also result!!!
@fntthesmth423
@fntthesmth423 2 роки тому
I really appreciate the way you kept spacing the code when it was a bunch of variables
@polraudiozion1156
@polraudiozion1156 2 роки тому
Just imagine the Tetris bootloader where you have to beat level 100 levels of Tetris to boot into your main OS.
@peterbelanger4094
@peterbelanger4094 2 роки тому
Or how about the only way to save or load a file is to clear Tetris lines. Each square resenting one bit. If you fail to clear that level, you lose all that data.
@sonicfon
@sonicfon 2 роки тому
@@peterbelanger4094 Nice virus.
@andjohn
@andjohn 2 роки тому
I need this to be a grub option. Chainload only after 100 levels.
@charliesenn4517
@charliesenn4517 2 роки тому
Or do that to decrypt your data #CryptoLockerVirus
@coffin7904
@coffin7904 2 роки тому
@Suicide Kyd what's the name?
@lorenzoiannuzzi3937
@lorenzoiannuzzi3937 3 роки тому
"yeah i was bored so I made tetris" "oh that's nice" "yeah, but writing the filesystem was a pain in the ass"
@efhiii
@efhiii 3 роки тому
Who needs a file system
@DamienPup
@DamienPup 3 роки тому
"wait, the *what* ?"
@diamondminer81
@diamondminer81 3 роки тому
There was no file system smh
@pseudonymity0000
@pseudonymity0000 2 роки тому
@@diamondminer81 There was. It handled one file, of one fixed size, located in a few fixed sector locations.
@namenotappropriate8756
@namenotappropriate8756 Рік тому
@@pseudonymity0000 That's not file system, that's just accessing the disk and reading bits from it
@MShahbazKharal
@MShahbazKharal 2 роки тому
You are a brilliant and consistent man, I thought of creating a simple OS myself back in days when I was obsessed with writing things from scratch but couldn't do it because it is so much work and requires you to understand a whole lot than a normal programmer understands about computers. Your video gives the gist of what it needs to even write a very simple bootable software. Love your work man and thanks for sharing the Github code as it may help someone who is as cool as you.
@enriqueamaya3883
@enriqueamaya3883 Рік тому
Follow Jesus and you will not be ashamed.\c\]zxc\][zxc
@henrikr8183
@henrikr8183 2 роки тому
Beautiful. I wrote an OS for fun too (back in the early 2000s). It had a bootloader, never left Real Mode, and could display a command prompt, and that was it! I was incredibly happy when I put the image onto a 3.5" floppy and it actually booted on my machine (modern machines with UEFI instead of a BIOS would have been much harder). Then I proceeded to never look at it again and question my life choices.
@JokerFey
@JokerFey 3 роки тому
OS: "what is my purpose?" jdh: "you load Tetris" OS: "Oh my god!" jdh: "Yes!"
@zvpunry1971
@zvpunry1971 3 роки тому
s/load/are/
@stasyandr563
@stasyandr563 3 роки тому
is it Rick and Morty reference? :D
@lowqualityvideos8091
@lowqualityvideos8091 3 роки тому
@@stasyandr563 ies tthaht ah reick ahand mhorteey wrehfherrehnce
@otesunki
@otesunki 3 роки тому
@@zvpunry1971 haha slashes program
@TheChasedanger
@TheChasedanger 3 роки тому
Welcome to the computer pal
@palegrass6168
@palegrass6168 3 роки тому
Next Video: "I realized that using an operating system to make tetris is sort of cheating, so I made my own computer without buying any of those cheaty parts and hardcoded tetris into it."
@Henrix1998
@Henrix1998 3 роки тому
Collab with Ben Eater?
@TheCustomFHD
@TheCustomFHD 3 роки тому
@@Henrix1998 omg yes! XD
@alexstone691
@alexstone691 3 роки тому
James Sharman anyone?
@VioletJewel1729
@VioletJewel1729 3 роки тому
next next video: "using resources on Earth is actually cheating. In fact, using the physics of this universe is cheating. So, I created a worm tunnel by manipulating space-time with quantum mechanics derived from our already partial understanding of the universe to arrive in a new universe with no energy or mass or predefined laws of physics and got to work making my own rules for quantum mechanics before making my own computer to hardcode tetris on. 'But wait!', I thought. I could just make the entire universe one big game of tetris. So, that's exactly what I did: A universe that only runs tetris."
@thev01d85
@thev01d85 3 роки тому
@@VioletJewel1729 You have too much free time, don't you?
@bluebukkitdev8069
@bluebukkitdev8069 2 місяці тому
This video earned you a sub from me. I have been playing with the idea of building an OS that runs only one piece of software (I have my reasons), and your Github may just provide me with the inspiration to go through with it.
@AlexeyDubkov
@AlexeyDubkov 7 місяців тому
Awesome nostalgic video! It reminded me what I build in my ~13-15, my own OS just not with Tetris but simple shell.
@aarghrai2697
@aarghrai2697 3 роки тому
Code Bullet : Makes the game and then makes the AI jdh : Makes the OS and then makes the Game
@vodam6970
@vodam6970 3 роки тому
these 2 combined would be unstoppable
@mimisgtaman
@mimisgtaman 3 роки тому
@@vodam6970 Sounds more like something stoppable and highly cashable ...Perfect content
@foxy6670gaming
@foxy6670gaming 3 роки тому
Now just implement CB's Tetris AI and you've got a computer that you don't have to use.
@aarghrai2697
@aarghrai2697 3 роки тому
@@foxy6670gaming LMAO
@brandontechnerd
@brandontechnerd 3 роки тому
@@vodam6970 true lol
@nikhilmwarrier7948
@nikhilmwarrier7948 3 роки тому
jdh: _Builds an entire OS from scratch just to play tetris_ Me: _opens Stackoverflow:_ *How to center a div in CSS*
@MisterRousseaux
@MisterRousseaux 3 роки тому
I mean we laugh, but I swear it changes every time...
@eness379
@eness379 3 роки тому
its easy to center but hard to do it vertically i wasted multiple hours on that thing edit: vertically i meant
@tedi7103
@tedi7103 3 роки тому
@@eness379 vertical centering will always be hell man
@eness379
@eness379 3 роки тому
@@tedi7103 ye i meant vertically i am not a native english speaker sorry
@tedi7103
@tedi7103 3 роки тому
@@eness379 that's chill man don't worry. And remember flexboxes are your friend :^)
@fugoogle_was_already_taken
@fugoogle_was_already_taken Рік тому
From my very limited experience from writing memory manager for Nova (had to do it for uni) and some assembly (also for.uni) I admire how persistent you had to be to one man this. Had to take so much effort. Very cool
@enriqueamaya3883
@enriqueamaya3883 Рік тому
Follow Jesus and you will not be ashamed.\c[zx\][c\]z\x]c[]\
@DorjnamjimCSB-CSD
@DorjnamjimCSB-CSD Рік тому
Thank you for the video, This actually gave me lot of an Inspiration to make my old laptop old game machine ! Love u dude !!! ...
@cat47
@cat47 3 роки тому
“Some people use cheats like a prebuilt universe but I don’t need any of that stuff”-Jdh 40567
@sayhey2972
@sayhey2972 2 роки тому
Well, can we just appreciate, that you did such a good job that Tetris Holding, LLC issued a DMCA takedown, good job
@superzova
@superzova 2 роки тому
That made me sad
@tissuepaper9962
@tissuepaper9962 2 роки тому
It's ridiculous how many false claims big IP holdings companies get away with making. Not only is the original piece a folk song long in the public domain, this would clearly be fair use even if they did have any rights to the music. Infuriating, truly.
@hilal_younus
@hilal_younus 2 роки тому
Wait, this video got striked?
@sayhey2972
@sayhey2972 2 роки тому
@@hilal_younus Yeah i checked it 3 months ago from multiple countries „Not available due to DMCA violations“
@hilal_younus
@hilal_younus 2 роки тому
@@sayhey2972 well, ironically it popped up in my recommendations lol… it just sucks that he got striked for his hard work. Shows how much UKposts really cares about their creators.
@hippyhoppo
@hippyhoppo Рік тому
I am so mind blown by your videos. I have been watching them all day at work. How did you even manage to get to this point? I am about a year into my programming career and this just feels beyond my lifetime
@jennifers6823
@jennifers6823 26 днів тому
how do you feel now?
@ThePooper_
@ThePooper_ 2 роки тому
I binge you’re youtube videos while coding, i love you’re content man keep up the good work 👍
@spookyturbo1618
@spookyturbo1618 3 роки тому
Not only did he make the os and tetris, but he busted out the keyboard and figured out the harmony and melody instead of just checking musescore
@inqmusician2
@inqmusician2 3 роки тому
It's actually easier to do the MIDI routine.
@chrispham6599
@chrispham6599 3 роки тому
@@inqmusician2 no it's not! It's not as simply as just putting the MIDI INTO the code
@d0nnyr0n
@d0nnyr0n 3 роки тому
@@chrispham6599 I think they meant that the MIDI would make it so he didn't have to make it from scratch. Anyway, Musescore isn't the best way to find sheet music. Sure, some of it is good, but there is a lot of poor transcriptions.
@inqmusician2
@inqmusician2 3 роки тому
@@d0nnyr0n Yeah, but many games and consoles did this way. Nintendo DS, for instance.
@ovencake523
@ovencake523 3 роки тому
I like how he figures out the music to tetris by playing and listening instead of just looking it up
@Ruinah
@Ruinah 3 роки тому
Agreed, my literal first thought was "why didn't he just look at any of the million MIDI versions of Tetris and transcribe that".
@textnumbers22
@textnumbers22 3 роки тому
Gotta practice learning by ear somehow
@Johnny31323
@Johnny31323 2 роки тому
Tbh i do this too, in my opinion, it's easier to do it yourself than listening to the music, maybe that's just me, but its 100% easier for me.
@TheRojo387
@TheRojo387 Рік тому
Sounds very Russian. Long live Пажитнов!
@enriqueamaya3883
@enriqueamaya3883 Рік тому
Follow Jesus and you will not be ashamed.\c[zx\][c\]z\x]c[zx\][c
@JordanSugarman
@JordanSugarman 2 роки тому
This is similar to what we did for my 400-level computer architecture class. Only the system we were writing it for was based on a Motorola 68K chip. We had to write all the low-level hardware drivers and a simple OS kernel that tied it all together. The final involved booting it up and loading a program from a floppy disc that the professor gave us (yeah, we implemented a floppy controller driver). The program utilized every feature we had implemented to date to run a very simple (ascii) version of Tetris.
@enriqueamaya3883
@enriqueamaya3883 Рік тому
Follow Jesus and you will not be ashamed.\c}z+xc´}
@cppxaxa
@cppxaxa Рік тому
Github code repo is gone, just checked and thanks for the video. I can't draw with a pencil, let alone with the code. Your dedication and passion can't be matched. I never ever thought that I'd see an OS, from scratch, running an enterprise workload called "Tetris"
@thescroncho8945
@thescroncho8945 3 роки тому
i didn't understand a word he said in this entire 20 minutes but i loved every second of it
@js7539
@js7539 3 роки тому
Did you understand when he said tetris?
@thescroncho8945
@thescroncho8945 3 роки тому
@@js7539 what tetris?
@timg2727
@timg2727 3 роки тому
@@js7539 what's a tetris?
@backdoorgate
@backdoorgate 3 роки тому
this happens when a coding video is recommended by youtube
@sorryvol
@sorryvol 3 роки тому
your channel is so underappreciated, I have been watching since your first video and don't understand why your channel hasn't blown up yet. great video production quality, informative and just the right amount of humour. wait until the algorithm gods decide it's your time and your channel will blow up in no time.
@jdh
@jdh 3 роки тому
thanks! but tbh I feel like 22k subscribers is "blown up" for me haha it's still a little unreal for me to think about at that number
@puppergump4117
@puppergump4117 3 роки тому
It was probably the minecraft videos
@dsi-films1264
@dsi-films1264 3 роки тому
@@jdh haha I’m happy for you :) Amazing things you do!
@henrylang699
@henrylang699 3 роки тому
@@jdh great work with everything still
@jnnx
@jnnx 3 роки тому
That’s not how it works, that’s not how any of this works!
@FreeSpeechWarrior
@FreeSpeechWarrior 8 місяців тому
That is totally sick you're a good programmer man I really like your videos. 👏👏👍👍
@paulwratt
@paulwratt 2 роки тому
Its a good thing you did not release this 18 days earlier :) - thanks for making the source available
@redumptious2544
@redumptious2544 3 роки тому
Next up: A collaboration with Ben Eater, because you two are basically going the same path just in opposite directions.
@Templarfreak
@Templarfreak 3 роки тому
more like going in the same directions but on opposite sides of the same fence
@andrewliu6592
@andrewliu6592 2 роки тому
and then there’s that guy making integrated circuits in his garage
@DVankeuren
@DVankeuren 2 роки тому
Opposite directions would be making tetris for an os.
@crusaderanimation6967
@crusaderanimation6967 2 роки тому
@@andrewliu6592 Oh my imagine colab between all 3.
@daniellewilson8527
@daniellewilson8527 2 роки тому
Haven’t seen Ben Eater, what videos does he make?
@Bladavia
@Bladavia 3 роки тому
Can't believe there's someone out there who's still paying for a domain hosting niche documentation on 90's hardware.
@timgels2918
@timgels2918 2 роки тому
And i am glad they exist
@YitzharVered
@YitzharVered 2 роки тому
Domains were free back in the day
@gfasterOS
@gfasterOS 2 роки тому
@killmoo all 7 pennies per year for a site like that
@Darkest_matter
@Darkest_matter 2 роки тому
@Suicide Kyd now it's like £10 a month. Only way to survive is get people to click the adverts so you make slightly more than £10 a month
@nickwilson3499
@nickwilson3499 2 роки тому
@@Darkest_matter to host a single page?
@XinhuiZENG
@XinhuiZENG 3 місяці тому
"Repository unavailable due to DMCA takedown."
@renofumi28
@renofumi28 2 роки тому
20:49 "It was at this moment that he knew He fucked up" Seriously that's a huge pain for tetris enthusiast 😂
@donutguy804
@donutguy804 6 місяців тому
Real
@2k7u
@2k7u 2 роки тому
Dammn man, your github repository got actually DMCA'ed, this is insane
@sevrjukov
@sevrjukov 2 роки тому
i wonder just how colossally stupid tetris folks must be to take the repo down. Sometimes it just blows my mind how dumb people can be.
@InsideBSIProd
@InsideBSIProd 2 роки тому
lmaoooo that's fucking crazy smh my head
@legoboy7107
@legoboy7107 2 роки тому
@@sevrjukov I mean...Tetris is still a copyrighted retail game that is sold for money, it hasn't become freeware or whatever. So this is technically distributing an unlicensed version of a paid game for free. But yeah, it still really sucks and is pretty dumb.
@imaginarystranger1974
@imaginarystranger1974 2 роки тому
@@legoboy7107 Who in their right mind would buy tetris?
@traida111
@traida111 2 роки тому
@@legoboy7107 I don't see how they can copyright against this because its built from scratch and open source. Even their music wasn't original, it was from Korobeiniki. Maybe they could TM against the name Tetris, also the types of blocks and the colours, but still its open source, I don't get how they can do that.. Nobody who wants to play tetris will use this code, only developers who want to read how the code works.
@pedrogonzalez5590
@pedrogonzalez5590 2 роки тому
The Github repository got a DMCA takedown
@shepardpower
@shepardpower 2 роки тому
Sucks
@daviddgtnt
@daviddgtnt 2 роки тому
I WANNA SEE THE FLIPPING CODE
@menderelcapbig1876
@menderelcapbig1876 2 роки тому
he should have considered that tetris is copyrighted...
@BartoszDotryw
@BartoszDotryw 2 роки тому
YT description: > pls don't copyright strike me for the music EA Get's DMCA'ed instead.
@01Chris02
@01Chris02 2 роки тому
I learnt Java at uni last year as part of a softdev conversion course but have never looked at C before. I'm amazed how much I understand without ever having written or studied lower level languages. Thanks jdh.
@enriqueamaya3883
@enriqueamaya3883 Рік тому
Follow Jesus and you will not be ashamed.\c[zx\][c\]xz]\c
@nikhuge6580
@nikhuge6580 2 роки тому
This is the most inspiring video I have ever watch in UKposts…….thnks for the effort…
@hexandcube
@hexandcube 2 роки тому
"This repository is currently disabled due to a DMCA takedown notice. We have disabled public access to the repository. The notice has been publicly posted. " WHY
@belstar1128
@belstar1128 2 роки тому
Nintendo is insane with copyright.
@altpersonas
@altpersonas 2 роки тому
The Tetris Company notoriously defends its copyright and its also illegal to make a copy of Tetris
@kantraa
@kantraa 2 роки тому
@@altpersonas then why are there so many clones of it on the play store
@BryanLu0
@BryanLu0 2 роки тому
@@altpersonas It is not illegal to make clones. It is illegal to use their company name
@U20E0
@U20E0 Рік тому
@@BryanLu0 note that “clone” and “copy” mean slightly different things
@cannac6995
@cannac6995 3 роки тому
This man is the kind of person who can flex on us but using the entertaining way
@vincentguttmann2231
@vincentguttmann2231 3 роки тому
He is literally the master of full stack developers.
@khoapham1821
@khoapham1821 2 роки тому
The world needs more of this guy, who still can write assembly
@enriqueamaya3883
@enriqueamaya3883 Рік тому
Follow Jesus and you will not be ashamed.\czx]\[c\]
@0ia
@0ia 6 місяців тому
I don’t deserve a video this good, thanks. Great job.
@eric-jt4ij
@eric-jt4ij 3 роки тому
As a hobby OSdev I can say this is highly based, good job.
@sparklyspartan1833
@sparklyspartan1833 3 роки тому
Hobby...?
@slum7448
@slum7448 3 роки тому
@@sparklyspartan1833 yes
@eric-jt4ij
@eric-jt4ij 3 роки тому
@@sparklyspartan1833 yes
@prykris
@prykris 3 роки тому
@@sparklyspartan1833 yes
@steveskeletonneii6336
@steveskeletonneii6336 3 роки тому
@@sparklyspartan1833 yes
@henningerhenningstone691
@henningerhenningstone691 3 роки тому
I struggle to wrap my mind around how this is even humanly possible, man I'd spend months trying to create Tetris in Unity and this guy casually writes it in ANSI C while casually making a working bootloader, graphics driver, sound driver and all the rest of it
@atemoc
@atemoc 3 роки тому
Well at least for the drivers it shouldn't have been TOO hard, because it was run onto a virtual machine
@RobinCernyMitSuffix
@RobinCernyMitSuffix 3 роки тому
@@atemoc naa, it also works on my Thinkpad x230, sadly I'm in the process of moving, and my Thinkpad 240x (yes the x is on the end, it's a Thinkpad from 2001 with a Pentium III) is already at my new home, but I'll try to run it on there too. Backwards compatibility is a nice thing :3
@atemoc
@atemoc 3 роки тому
@@RobinCernyMitSuffix Damn, it doesn't work on my ThinkPad SL510, but, that probably is because of some IdeaPad firmware and other weird things on it, other OSes have issues with it too
@atemoc
@atemoc 3 роки тому
@@RobinCernyMitSuffix @@RobinCernyMitSuffix Of course, I know that, otherwise how else could I know that other OSes on this PC struggle too? I run Arch Linux and Debian as a daily driver, I got one PC with Haiku OS and other PCs with random obscure OSes because I love playing with them!
@Toopa88
@Toopa88 2 роки тому
I think it's not as hard as it sounds. What you really need to be good at is reading (the correct) documentations, there's a lot of information out there. It's not like he reinvented the wheel.
@ricardovega1407
@ricardovega1407 2 роки тому
I wish I had your knowledge, so many ideas in my head!
@waterinferno2071
@waterinferno2071 3 місяці тому
You fixing the rotation table made me actually happy to see
@norb3695
@norb3695 3 роки тому
"Look ma, no errors!" That is literally me showing my code to anyone
@enriqueamaya3883
@enriqueamaya3883 Рік тому
Follow Jesus and you will not be ashamed.\c[zx\][c\]z\x]c[]\zx[
@norb3695
@norb3695 Рік тому
@@enriqueamaya3883 the fuck?
@deathscape47
@deathscape47 3 роки тому
This is the most satisfying programming/game dev/vim/neovim video on youtube, i could watch this all day
@benjaminkindle1841
@benjaminkindle1841 2 роки тому
You seem way too smart to be spending your time making this... Good job!
@sirfluffdev
@sirfluffdev Рік тому
This sounds like it could be a fun project for learning the basics of bare metal programming. Time to do this in Rust!
@LiEnby
@LiEnby 3 роки тому
next: "I reprogramed the BIOS of my computer to only run tetris"
@breaktrace
@breaktrace 3 роки тому
yes
@-Tris-
@-Tris- 3 роки тому
funny way to brick someone's PC
@gladiusso
@gladiusso 3 роки тому
@@-Tris-literally
@NextLevelCode
@NextLevelCode 3 роки тому
It already exists. CoreBoot Bios with Tetris payload.
@vertihippo1274
@vertihippo1274 3 роки тому
@@-Tris- What more use does a PC need than to play Tetris? I'd say it's fully functional. lol
@vaclaurus3545
@vaclaurus3545 3 роки тому
I completely forgot I even subscribed, what a surprise.
@user-cb8pj2eb1g
@user-cb8pj2eb1g 3 роки тому
But a welcome one!
@vaclaurus3545
@vaclaurus3545 3 роки тому
@@user-cb8pj2eb1g yes!
@JinskuKripta
@JinskuKripta 3 роки тому
@@vaclaurus3545 I can't read your comment because the name of @___... is too long and UKposts don't let me press Read More due to that fact.
@vaclaurus3545
@vaclaurus3545 3 роки тому
@@JinskuKripta lol I said "yes" I can click the button just fine. 🤷
@sql64
@sql64 3 роки тому
@@user-cb8pj2eb1g wish i had such a good name
@m.furkaner7418
@m.furkaner7418 2 роки тому
This is the pinnacle of UKposts right there! Aspiring to say the least
@davidschwaiger7563
@davidschwaiger7563 2 роки тому
I am really impressed but you destroyed my eyes ! I was watching your video at 00:26 and while i was watching i came up to the minute 8:30 in the video and the white bright screen blinded me 😂
@knownas2017
@knownas2017 3 роки тому
This is the person who's going to make those computers you see in Fallout.
@gregdabrat
@gregdabrat 3 роки тому
Yeees
@PeterfoxUwU
@PeterfoxUwU 3 роки тому
This is literally everything I've ever wanted! 😍
@nkusters
@nkusters 11 місяців тому
Love it; very impressive
@AirforcLuckyThirteen
@AirforcLuckyThirteen 2 роки тому
I wish I was this capable! Impressive work!
@sauldickson4079
@sauldickson4079 3 роки тому
“I don’t think Tim Apple would like me booting this on his hardware.” That’s code for, “I have no idea how to get a Mac to boot something other than MacOS.”
@Mr_Yeah
@Mr_Yeah 3 роки тому
Back in the PowerPC days, running anything besides Mac OS is complicated. Now with Intel, it's way easier if you want to run a recent Windows version with Boot Camp. Anything besides that might become challenging, too. But soon, with Apple Silicon, I think it'll be straight impossible to run anything else than macOS.
@jdh
@jdh 3 роки тому
Oh no don't worry, I know it's possible, I just don't want to void my warranty or anything lmao
@BocuD
@BocuD 3 роки тому
@@jdh If booting a different OS would void your warranty i don't think apple would be allowed to make computers.. Its really easy lol, just try it
@bobweiram6321
@bobweiram6321 3 роки тому
@@BocuD Sarcasm.
@paulstelian97
@paulstelian97 3 роки тому
Modern Macs can actually only run UEFI OSes I think? And Boot Camp runs Windows 10 in UEFI mode?
@ForbiddenPizza
@ForbiddenPizza 3 роки тому
When I started coding I thought using libaries was some sort of cheating, as I basically just ran someone else's program which I couldn't write myself. This guy took that thought to a whole nother level
@frenzygamer907
@frenzygamer907 2 роки тому
even the people who wrote the libraries were cheating ... since they used a high level programming language ... only the people who wrote C didnt cheat :)
@Taylor_5724
@Taylor_5724 2 роки тому
Honestly I hate using libraries because I don't understand how they are supposed to work a lot of the time and they are often very slow
@callmeishmael5742
@callmeishmael5742 2 роки тому
@@frenzygamer907 only people who program in assembly aren't cheating
@aiocafea
@aiocafea 2 роки тому
assembly is cheating, you use mnemonics real gs use machine code
@callmeishmael5742
@callmeishmael5742 2 роки тому
@@aiocafea *real* programmers build their own computers. I don't mean with graphics cards and pre-built circuits, I mean with transistors and stuff
@Dayrider10
@Dayrider10 3 місяці тому
Damn, this man just says my thoughts out loud and I appreciate it
@hammarhank
@hammarhank 2 роки тому
This is so cool! dream to have this knowledge
@wafflespawn
@wafflespawn 3 роки тому
Dude this guy made an operating system in a month and I can't even figure out data-orineted design in that time. Where did you learn to program? I'm mega jelly about your skills at all things programming.
@Kitulous
@Kitulous 3 роки тому
I can't even make myself continue to learn asp net lol
@jdh
@jdh 3 роки тому
thanks 😌 but tbh learned almost everything from info on the internet and going through tons of side projects. Technically been to university too but this isn't the sort of stuff you learn there and generally university courses aren't what are going to make you a good programmer, experience and time will (I know, hot take). Progress feels slow but soon enough you'll be looking back on where you were a few years ago and realize you've come really far!
@sorryvol
@sorryvol 3 роки тому
@@jdh computer science?
@thev01d85
@thev01d85 3 роки тому
I think he just has a lot of free time on his hands. You see it's not overly difficult to develop an os, it's mainly very time consuming and it's easy to write bugs. The theory is rather easy. That being said there are tons of support groups, the biggest one being the osdev discord server which you can find over at osdev.wiki
@thev01d85
@thev01d85 3 роки тому
@@sorryvol I don't think CS Is the right course to take for operating system development. I've been told that you don't really learn this in college. I however really like embedded systems, and if you do too then you should look into computer engineering which is a mix of EE and CS and it sounds pretty good
@sneeznoodle
@sneeznoodle 3 роки тому
As someone with no assembly knowledge, this whole video was a bizarre combination of surreal, confusing and inspiring. I kinda wanna learn assembly now.
@alexanderl4995
@alexanderl4995 3 роки тому
No you don’t.
@sneeznoodle
@sneeznoodle 3 роки тому
@Trevor B yknow what fair enough
@chillsgaming1900
@chillsgaming1900 3 роки тому
Do it then. What's stopping you?
@sneeznoodle
@sneeznoodle 3 роки тому
@@chillsgaming1900 caveman brain
@Templarfreak
@Templarfreak 3 роки тому
as far as my understanding goes there isnt really any practical purpose to use it in this day and age, the only real reason to use it is for hobbyist things
@semilife
@semilife 2 роки тому
Wow, in awe. Watching and listening to a genius at work.
@user-ij2hk6mf8z
@user-ij2hk6mf8z Рік тому
That is so cool, I love it!
@thedeagle1007
@thedeagle1007 3 роки тому
Bro. I'm over here with a case of depression caused by c++ and a project that's taken about 8 hours so far. I could never do what this man just did.
@lycorisdev
@lycorisdev 3 роки тому
To be fair C++ is pretty hard to use, don't feel bad. And you too can build anything from the ground up. Computer science is like playing legos. You learn easy stuff and build them on top of one another to make something complex. Over time you can do some impressive stuff as well! What matters is being too angry to give up. What are you working on if I may ask?
@thedeagle1007
@thedeagle1007 3 роки тому
@@lycorisdev a basic text based game that justs prints to the command window. I would do a 2D game but implementing graphics through SDL and other libraries is still a little above my head lol. I've only been coding since about November 2020.
@lycorisdev
@lycorisdev 3 роки тому
@@thedeagle1007 I see, I'm also making a text-based game. I don't know C++ but I program in C and I used to use C# in the past, what's troubling you?
@richarddurkee4617
@richarddurkee4617 3 роки тому
C++ is tough. Keep going!
@EebstertheGreat
@EebstertheGreat 3 роки тому
The Next box isn't just for "fancy new versions." It was literally present in the original Electronika 60 version in 1984. That's before the game had sound, color, or even a price tag.
@noxfortes
@noxfortes 2 роки тому
I just can't believe the fact that the repo got DMCA'd 😑😑
@potassiumdev3501
@potassiumdev3501 10 місяців тому
It's sad the source code got copyrighted ;-;
@centenarium
@centenarium 3 роки тому
i only understand Java and C# but this was still extremely interesting, seeing a genius create an operating system
@brick4353
@brick4353 3 роки тому
ah yes, building an OS. i did this for my raspberry pi, wrote a custom OS so that I could make a robot run easier with it, forgot to backup the ISO, and the sd card broke causing me to lose 4 months of work. good times.
@Jesse78
@Jesse78 3 роки тому
That's a big rip
@casey6259
@casey6259 3 роки тому
big oof
@havens1515
@havens1515 3 роки тому
Now make THIS run on a pi
@OrdosKoala
@OrdosKoala 3 роки тому
This is the saddest thing I have read today
@OxygenOS
@OxygenOS 3 роки тому
big rip
@kumarchandresh0
@kumarchandresh0 2 роки тому
Well it was actually worth the DMCA. Great work dude!
@funwithalbi2425
@funwithalbi2425 2 роки тому
damn, your learning so much!
@junsulee1854
@junsulee1854 3 роки тому
One more thing you can add is the Tetris bag randomizer where the seven unique pieces are shuffled and outputted as a group repeatedly. Three T pieces coming out of the first four was surprising. awesome video
@cynoglav9665
@cynoglav9665 2 роки тому
This is only a thing in more recent versions of Tetris. OG Tetris did none of that!
@alexismandelias
@alexismandelias 3 роки тому
This project is so needlessly hard and complicated but at the same time so beautiful to watch. Must have felt _so_ satisfying to see through this project after all the pain that went into making it. This I aspire to become as a junior dev.
@sherlock_221
@sherlock_221 Рік тому
Please tell us about your education your educational back.. You are one of the greatest computer master i have seen on youtube. Bow down to the king.
@BGOPC
@BGOPC 8 місяців тому
This man has the dedication to do anything, Nice
@sheep_supreme6790
@sheep_supreme6790 3 роки тому
really impresive. I feel like I only saw a fraction of the hard work, that went into this. great job
@it-vb6sr
@it-vb6sr 3 роки тому
As someone who has only really used high level languages this is incredibly fascinating, all your videos are great and I hope the UKposts algorithm would favour your channel more. Awesome content
@KetraXPL
@KetraXPL 2 роки тому
17:54 nice music i love it
@user-rh2xc4eq7d
@user-rh2xc4eq7d 3 місяці тому
You can use group theory to rotate the tetraminos. A rotation is a combination of orthogonal and diagonal reflections.
@AndrewWilsonStooshie
@AndrewWilsonStooshie 2 роки тому
This got you a subscribe from me. I've never seen anyone just write assembly like other people write "normal" code. I used to write assembly on my old BBC and I was constantly having to look everything up all the time.
@JosephTatumPage
@JosephTatumPage 2 роки тому
This is my second video I've watched from you in as many days. I'm still floored and my mouth is still gaping at your skill lvl. Shows the amazing work one can do when you hack a system. Great job dude.
@itzlilluke
@itzlilluke Рік тому
I love how he spends more time on building the OS than Tetris. I’m honestly impressed! Keep up the work JDH!
@enriqueamaya3883
@enriqueamaya3883 Рік тому
Follow Jesus and you will not be ashamed.\czx+}c´}+zx
@baggonotes
@baggonotes 3 місяці тому
19:32 I’ve never seen someone compose by putting the note inputs into a script like this. It looks painful, but very cool! 😂
@Einhamer
@Einhamer 3 роки тому
Ok, so, given the way this goes, the next video he's gonna say "I'm just too good for computers, so I made my own computer and OS, just to run pong"
@figboot
@figboot 3 роки тому
If you're interested in that sort of thing, check out Ben Eater's 6502 computer + videocard builds ;)
@Einhamer
@Einhamer 3 роки тому
@@figboot Ahhh yes, is that the guy that made a video card entirely out of breadboard?
@figboot
@figboot 3 роки тому
@@Einhamer Yeah, that's him
@aceman0000099
@aceman0000099 3 роки тому
Next video after that: Making several kilograms of silicon, aluminum, antimony, arsenic, barium, beryllium, cadmium, chromium, cobalt, copper, gallium, gold, iron, lead, manganese, mercury, palladium, platinum, selenium, silver, and zinc using my own fusion reactor to build into hardware
@kittyfangz5262
@kittyfangz5262 2 роки тому
i can't figure out if this is a coincidence or if jdh made that video bc they saw this comment
@Bebs_
@Bebs_ 3 роки тому
This is honestly the best video I have watched in months! A perfect combination of coding, sarcasm and editing perfection!
@Jiyoon02
@Jiyoon02 10 місяців тому
1:33 And not even that will let us start tetris or anything that complex. Never have I emagind to hear tetris is complex. Amazing video LMAO
@MrBreadoflife
@MrBreadoflife Рік тому
I did a few assembly based graphic demos back in the day on the SoundBlaster and vga, but i wasn't that big of a mosaicist to create a basic OS to go with it!
I designed my own 8-bit computer just to play PONG
17:19
jdh
Переглядів 678 тис.
4 Months of Game Programming With My Own Engine
21:30
jdh
Переглядів 368 тис.
BMW просто издевается над нами! Силы на исходе…
1:34:41
ИЛЬДАР АВТО-ПОДБОР
Переглядів 3 млн
Kitten has a slime in her diaper?! 🙀 #cat #kitten #cute
00:28
The Making of Linux: The World's First Open-Source Operating System
11:33
I built my own graphics card
15:34
jdh
Переглядів 1,4 млн
I added reflection to C++ just to make my game work.
16:30
jdh
Переглядів 254 тис.
Can you fit a whole game into a QR code?
20:03
MattKC
Переглядів 8 млн
I built my own computer. by hand.
13:03
jdh
Переглядів 1,1 млн
I Made RGB Tetris with just Redstone!
20:36
mattbatwings
Переглядів 132 тис.
I built my own 16-Bit CPU in Excel
16:28
Inkbox
Переглядів 1,3 млн
Creating an Operating System for the NES
11:11
Inkbox
Переглядів 756 тис.
I programmed Minecraft from scratch... again.
11:44
jdh
Переглядів 548 тис.
Що покаже Apple, гнучкі айфони та Windows переходить на ARM
17:49
Ноталка Шелягіна
Переглядів 60 тис.
Рекламная уловка Apple 😏
0:59
Яблык
Переглядів 133 тис.
Как должен стоять ПК?
1:00
CompShop Shorts
Переглядів 714 тис.
iPhone 15 Precision Finding | Find Your Friends | Apple
2:52
КУПИЛ SAMSUNG GALAXY S24 ULTRA ЗА 88000 РУБЛЕЙ!
27:29
DimaViper
Переглядів 58 тис.