I’m genuinely impressed. This has to be the most exciting “building an OS” video I’ve ever seen since Terry Davis.
@sorryvol3 жыл бұрын
rest in peace terry a davis, gone too soon.
@procrastinatingcartoonstm51303 жыл бұрын
ye
@frenchwizardclientman9193 жыл бұрын
Yeah but this os is not 2 fucking mega bytes and does not include a flight simulator ...
@sorryvol3 жыл бұрын
@@frenchwizardclientman919 or chess vs god himself
@frenchwizardclientman9193 жыл бұрын
@@sorryvol And an integrated 3D sprite creator
@SimonClarkstone3 жыл бұрын
Fun fact: GIMP can export images as C code for situations like these.
@A1rPun3 жыл бұрын
Wasn't expecting to learn anything from YT comment, thanks for this.
@maddiepilz57113 жыл бұрын
> situations like these lol
@embeddedgirl3 жыл бұрын
Holy FUCK I needed to know this. Cheers mate!!
@blazi_03 жыл бұрын
Wow that's cool !
@DorperSystems3 жыл бұрын
you wouldn't believe how many times I have had to use GIMP export to C
@chalupagrande3 жыл бұрын
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....
@ashwinbelbase3 жыл бұрын
Not just you, every developer felt that XD
@NicVigil3 жыл бұрын
Comments are useful lol
@burlingk3 жыл бұрын
I think anyone who has done anything that took more than a few hours to complete felt that.
@AsmodeusMictian2 жыл бұрын
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.
@vinceplatt84682 жыл бұрын
@@AsmodeusMictian They laugh, then they ask "so, how do I get a high paying job in programming too bro?". 🤦♂️
@tejing20012 жыл бұрын
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 Жыл бұрын
So you basically made a full featured game engine entirely out of C *IN 7TH GRADE?!?!* That's impressive
@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 :-(
@pigsweat7763 Жыл бұрын
@@tejing2001 where the hell do you have a c class in 7th grade
@tejing2001 Жыл бұрын
@@pigsweat7763 The silicon valley area in California. It was an elective, of course.
@ME0WMERE Жыл бұрын
C at 11 years old? lucky dude
@fknight3 жыл бұрын
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_Kosh3 жыл бұрын
Lol
@I_Am_Kosh3 жыл бұрын
Shouldn't he be curing cancer or something
@akkico3 жыл бұрын
@@RedstoneNinja99 saw that the other day. i forgot that i subscribe to him.
@recklessroges3 жыл бұрын
Ben Eater [eaterbc] collaboration when?
@pyfun41963 жыл бұрын
here comes the Coding Jesus.
@aarghrai26973 жыл бұрын
Code Bullet : Makes the game and then makes the AI jdh : Makes the OS and then makes the Game
@vodam69703 жыл бұрын
these 2 combined would be unstoppable
@mimisgtaman3 жыл бұрын
@@vodam6970 Sounds more like something stoppable and highly cashable ...Perfect content
@aarghrai26973 жыл бұрын
@Foxy 6670 LMAO
@brandontechnerd3 жыл бұрын
@@vodam6970 true lol
@lokeshchandak36603 жыл бұрын
Introduce them to NileRed and they'd be extracting silicon from sand to make computer chips.
@CrownCatX3 жыл бұрын
Next: "I went mining in a cave and collected resources to make my own hardware"
@InnerEagle3 жыл бұрын
I made my own hardware and then proceeded to create a way to mine cryptocurrencies without collateral issues
@TerraKnight273 жыл бұрын
computercraft in real life
@X-Ter3 жыл бұрын
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"
@papiangelus3 жыл бұрын
Iron man type beat
@janno2883 жыл бұрын
"Just like the simulations"
@XinhuiZENG10 ай бұрын
"Repository unavailable due to DMCA takedown."
@eliascregard3963 ай бұрын
Fucking Nintendo despises fun!
@magictoffee70663 ай бұрын
@@eliascregard396 It's not Nintendo, they don't have the rights to tetris anymore, it was the Tetris Company.
@SupaGamersAlt3 ай бұрын
@@magictoffee7066 The Tetris Company is a company that works HEAVILY with Nintendo, to the point of basically being fully associated with Nintendo in the public eye if you were to pull a random person off the street and asked where they best knew Tetris from.
@Thatguy-tm8xh2 ай бұрын
@@eliascregard396im laughing so hard at this comment not just because it's not nintendo but also because nintendo dmcas so many things that people assume it's them
@Majima_Nowhere3 жыл бұрын
"Bro, your computer is so slow, what OS is it using? Vista?" "Tetris." "...Huh?" "My computer is running on Tetris."
@jrgenbull53343 жыл бұрын
«Bro, your computer is so slow, what OS is it using? Windows 10?»
@cobbcoding3 жыл бұрын
@@jrgenbull5334 wow, how could you insult TetrisOS so much, that you would say it's as slow as Windows 10...
@YOEL_443 жыл бұрын
@@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_443 жыл бұрын
@@yeppiidev That's not the point, the point is that, as a current, modern, feature filled OS, is not that hard to run
@YOEL_443 жыл бұрын
@@yeppiidev I watched my first YT video on a W98 machine, I know
@polraudiozion11563 жыл бұрын
Just imagine the Tetris bootloader where you have to beat level 100 levels of Tetris to boot into your main OS.
@peterbelanger40943 жыл бұрын
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.
@sonicfon3 жыл бұрын
@@peterbelanger4094 Nice virus.
@andjohn3 жыл бұрын
I need this to be a grub option. Chainload only after 100 levels.
@charliesenn45173 жыл бұрын
Or do that to decrypt your data #CryptoLockerVirus
@coffin79043 жыл бұрын
@Suicide Kyd what's the name?
@nikhilmwarrier79483 жыл бұрын
jdh: _Builds an entire OS from scratch just to play tetris_ Me: _opens Stackoverflow:_ *How to center a div in CSS*
@MisterRousseaux3 жыл бұрын
I mean we laugh, but I swear it changes every time...
@tedi71033 жыл бұрын
@@eness379 vertical centering will always be hell man
@tedi71033 жыл бұрын
@@eness379 that's chill man don't worry. And remember flexboxes are your friend :^)
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!
@subpixell3 жыл бұрын
I'm sad that you didn't take the genius opportunity to name it "TetrOS"
@Jono9973 жыл бұрын
Should've known someone else would think of this joke.
@z-beeblebrox3 жыл бұрын
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
@MrCrackbear3 жыл бұрын
a tetris operating system called tetros actually already exists and it fits within the 512 bytes of the boot sector
@gregdabrat3 жыл бұрын
Amazing
@devhonk17223 жыл бұрын
@@MrCrackbear Yeah but still, does it support the glorious Sound Blaster Audio:tm:?
@jedits22563 жыл бұрын
"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
@georgefloydgaming47723 жыл бұрын
“HEY WHAT DO I DO “
@nathangamble1253 жыл бұрын
@@georgefloydgaming4772 YOU PLAY TETRIS!!!
@marlo88503 жыл бұрын
@@georgefloydgaming4772 Can you do a playthrough of rainbow six vegas with Derek Chauvin lets plays?
@georgefloydgaming47723 жыл бұрын
@@marlo8850 I own rainbow six siege only
@-na-nomad62473 жыл бұрын
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.
@whitecat14413 жыл бұрын
OS: "what is my purpose?" jdh: "you load Tetris" OS: "Oh my god!" jdh: "Yes!"
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 Жыл бұрын
You done with the OS?
@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 Жыл бұрын
@@nibbletrinnal2289 Thanks for informing me on that!
@Ollie12418 Жыл бұрын
How did you write your own OS? I wanna do it too!
@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
@palegrass61683 жыл бұрын
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."
@Henrix19983 жыл бұрын
Collab with Ben Eater?
@TheCustomFHD3 жыл бұрын
@@Henrix1998 omg yes! XD
@alexstone6913 жыл бұрын
James Sharman anyone?
@VioletJewel17293 жыл бұрын
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."
@thev01d853 жыл бұрын
@@VioletJewel1729 You have too much free time, don't you?
@ovencake5233 жыл бұрын
I like how he figures out the music to tetris by playing and listening instead of just looking it up
@Ruinah3 жыл бұрын
Agreed, my literal first thought was "why didn't he just look at any of the million MIDI versions of Tetris and transcribe that".
@textnumbers223 жыл бұрын
Gotta practice learning by ear somehow
@Johnny313233 жыл бұрын
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.
@TheRojo3872 жыл бұрын
Sounds very Russian. Long live Пажитнов!
@Xvladin Жыл бұрын
I feel like the tetris theme is like the first thing you learn to play by ear
@thescroncho89453 жыл бұрын
i didn't understand a word he said in this entire 20 minutes but i loved every second of it
@js75393 жыл бұрын
Did you understand when he said tetris?
@thescroncho89453 жыл бұрын
@@js7539 what tetris?
@timg27273 жыл бұрын
@@js7539 what's a tetris?
@LauraLowe Жыл бұрын
Idea: You _can_ run applications, but to launch them you have to clear lines that correspond to positions on the taskbar
@cat473 жыл бұрын
“Some people use cheats like a prebuilt universe but I don’t need any of that stuff”-Jdh 40567
@lorenzoiannuzzi39373 жыл бұрын
"yeah i was bored so I made tetris" "oh that's nice" "yeah, but writing the filesystem was a pain in the ass"
@efhiii3 жыл бұрын
Who needs a file system
@DamienPup3 жыл бұрын
"wait, the *what* ?"
@diamondminer813 жыл бұрын
There was no file system smh
@pseudonymity00003 жыл бұрын
@@diamondminer81 There was. It handled one file, of one fixed size, located in a few fixed sector locations.
@namenotappropriate87562 жыл бұрын
@@pseudonymity0000 That's not file system, that's just accessing the disk and reading bits from it
@sayhey29723 жыл бұрын
Well, can we just appreciate, that you did such a good job that Tetris Holding, LLC issued a DMCA takedown, good job
@superzova3 жыл бұрын
That made me sad
@tissuepaper99622 жыл бұрын
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_younus2 жыл бұрын
Wait, this video got striked?
@sayhey29722 жыл бұрын
@@hilal_younus Yeah i checked it 3 months ago from multiple countries „Not available due to DMCA violations“
@hilal_younus2 жыл бұрын
@@sayhey2972 well, ironically it popped up in my recommendations lol… it just sucks that he got striked for his hard work. Shows how much KZbin really cares about their creators.
@Arcoz Жыл бұрын
Me: - Let me check the code. Github: - Repository unavailable due to DMCA takedown.
@leg1187 Жыл бұрын
I know right. I wonder why?
@SomeRandomPiggo Жыл бұрын
@@leg1187 The Tetris Company hates their fans like Nintendo does, aggressively monetizing everything even if it hurts their brand
@HallwayMusic91 Жыл бұрын
@@leg1187 Tetris Company took it down due to violation of copyright infringement.
@leg1187 Жыл бұрын
@@HallwayMusic91 Oh of course it did :/ What did he expect?
@HallwayMusic91 Жыл бұрын
@@leg1187 It would have been nice to try out this OS. I mean after all, it is "the perfect game".
@spookyturbo16183 жыл бұрын
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
@inqmusician23 жыл бұрын
It's actually easier to do the MIDI routine.
@chrispham65993 жыл бұрын
@@inqmusician2 no it's not! It's not as simply as just putting the MIDI INTO the code
@d0nnyr0n3 жыл бұрын
@@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.
@inqmusician23 жыл бұрын
@@d0nnyr0n Yeah, but many games and consoles did this way. Nintendo DS, for instance.
@eric-jt4ij3 жыл бұрын
As a hobby OSdev I can say this is highly based, good job.
@sparklyspartan18333 жыл бұрын
Hobby...?
@slum74483 жыл бұрын
@@sparklyspartan1833 yes
@eric-jt4ij3 жыл бұрын
@@sparklyspartan1833 yes
@prykris3 жыл бұрын
@@sparklyspartan1833 yes
@steveskeletonneii63363 жыл бұрын
@@sparklyspartan1833 yes
@2k7u3 жыл бұрын
Dammn man, your github repository got actually DMCA'ed, this is insane
@sevrjukov3 жыл бұрын
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.
@InsideBSIProd3 жыл бұрын
lmaoooo that's fucking crazy smh my head
@legoboy71073 жыл бұрын
@@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.
@imaginarystranger19743 жыл бұрын
@@legoboy7107 Who in their right mind would buy tetris?
@traida1113 жыл бұрын
@@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.
@JordanSugarman2 жыл бұрын
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.
@deathscape473 жыл бұрын
This is the most satisfying programming/game dev/vim/neovim video on youtube, i could watch this all day
@redumptious25443 жыл бұрын
Next up: A collaboration with Ben Eater, because you two are basically going the same path just in opposite directions.
@Templarfreak3 жыл бұрын
more like going in the same directions but on opposite sides of the same fence
@andrewliu65923 жыл бұрын
and then there’s that guy making integrated circuits in his garage
@DVankeuren3 жыл бұрын
Opposite directions would be making tetris for an os.
@crusaderanimation69673 жыл бұрын
@@andrewliu6592 Oh my imagine colab between all 3.
@naturegirl19992 жыл бұрын
Haven’t seen Ben Eater, what videos does he make?
@cannac69953 жыл бұрын
This man is the kind of person who can flex on us but using the entertaining way
@vincentguttmann22313 жыл бұрын
He is literally the master of full stack developers.
@MShahbazKharal2 жыл бұрын
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.
@henningerhenningstone6913 жыл бұрын
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
@atemoc3 жыл бұрын
Well at least for the drivers it shouldn't have been TOO hard, because it was run onto a virtual machine
@RobinCernyMitSuffix3 жыл бұрын
@@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
@atemoc3 жыл бұрын
@@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
@atemoc3 жыл бұрын
@@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!
@Toopa883 жыл бұрын
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.
@SuperchargedW123 жыл бұрын
i only understand Java and C# but this was still extremely interesting, seeing a genius create an operating system
@PeterfoxUwU3 жыл бұрын
This is literally everything I've ever wanted! 😍
@khoapham18212 жыл бұрын
The world needs more of this guy, who still can write assembly
@ForbiddenPizza3 жыл бұрын
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
@frenzygamer9073 жыл бұрын
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_57243 жыл бұрын
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
@callmeishmael57423 жыл бұрын
@@frenzygamer907 only people who program in assembly aren't cheating
@aiocafea3 жыл бұрын
assembly is cheating, you use mnemonics real gs use machine code
@callmeishmael57423 жыл бұрын
@@aiocafea *real* programmers build their own computers. I don't mean with graphics cards and pre-built circuits, I mean with transistors and stuff
@norb36953 жыл бұрын
"Look ma, no errors!" That is literally me showing my code to anyone
@norb3695 Жыл бұрын
@enrique amaya the fuck?
@sneeznoodle3 жыл бұрын
As someone with no assembly knowledge, this whole video was a bizarre combination of surreal, confusing and inspiring. I kinda wanna learn assembly now.
@alexanderl49953 жыл бұрын
No you don’t.
@sneeznoodle3 жыл бұрын
@Trevor B yknow what fair enough
@chillsgaming19003 жыл бұрын
Do it then. What's stopping you?
@sneeznoodle3 жыл бұрын
@@chillsgaming1900 caveman brain
@Templarfreak3 жыл бұрын
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
@theulfhednar2655 Жыл бұрын
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)
@Bladavia3 жыл бұрын
Can't believe there's someone out there who's still paying for a domain hosting niche documentation on 90's hardware.
@timgels29183 жыл бұрын
And i am glad they exist
@YitzharVered3 жыл бұрын
Domains were free back in the day
@gfasterOS3 жыл бұрын
@killmoo all 7 pennies per year for a site like that
@Darkest_matter2 жыл бұрын
@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
@nickwilson34992 жыл бұрын
@@Darkest_matter to host a single page?
@hexandcube3 жыл бұрын
"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
@belstar11283 жыл бұрын
Nintendo is insane with copyright.
@altpersonas3 жыл бұрын
The Tetris Company notoriously defends its copyright and its also illegal to make a copy of Tetris
@kantraa2 жыл бұрын
@@altpersonas then why are there so many clones of it on the play store
@BryanLu02 жыл бұрын
@@altpersonas It is not illegal to make clones. It is illegal to use their company name
@chri-k2 жыл бұрын
@@BryanLu0 note that “clone” and “copy” mean slightly different things
@junsoup3 жыл бұрын
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
@cynoglav96652 жыл бұрын
This is only a thing in more recent versions of Tetris. OG Tetris did none of that!
@fntthesmth4232 жыл бұрын
I really appreciate the way you kept spacing the code when it was a bunch of variables
@alexismandelias3 жыл бұрын
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.
@EebstertheGreat3 жыл бұрын
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.
@pedrogonzalez55903 жыл бұрын
The Github repository got a DMCA takedown
@shepardpower3 жыл бұрын
Sucks
@daviddgtnt3 жыл бұрын
I WANNA SEE THE FLIPPING CODE
@menderelcapbig18763 жыл бұрын
he should have considered that tetris is copyrighted...
@BartoszDotryw2 жыл бұрын
YT description: > pls don't copyright strike me for the music EA Get's DMCA'ed instead.
@fugoogle_was_already_taken2 жыл бұрын
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
@thedeagle10073 жыл бұрын
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.
@lycorisdev3 жыл бұрын
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?
@thedeagle10073 жыл бұрын
@@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.
@lycorisdev3 жыл бұрын
@@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?
@richarddurkee46173 жыл бұрын
C++ is tough. Keep going!
@it-vb6sr3 жыл бұрын
As someone who has only really used high level languages this is incredibly fascinating, all your videos are great and I hope the KZbin algorithm would favour your channel more. Awesome content
@vaclaurus35453 жыл бұрын
I completely forgot I even subscribed, what a surprise.
@user-cb8pj2eb1g3 жыл бұрын
But a welcome one!
@vaclaurus35453 жыл бұрын
@@user-cb8pj2eb1g yes!
@JinskuKripta3 жыл бұрын
@@vaclaurus3545 I can't read your comment because the name of @___... is too long and KZbin don't let me press Read More due to that fact.
@vaclaurus35453 жыл бұрын
@@JinskuKripta lol I said "yes" I can click the button just fine. 🤷
@sql643 жыл бұрын
@@user-cb8pj2eb1g wish i had such a good name
@henrikr81832 жыл бұрын
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.
@Known_as_The_Ghost3 жыл бұрын
This is the person who's going to make those computers you see in Fallout.
@gregdabrat3 жыл бұрын
Yeees
@raymonddevries99283 жыл бұрын
I felt that *_sigh_* on a spiritual level. One character bugs are the bane of programming. This video is actually insane, keep up the good work.
@sheep_supreme67903 жыл бұрын
really impresive. I feel like I only saw a fraction of the hard work, that went into this. great job
@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
@jennifers68237 ай бұрын
how do you feel now?
@Bebs_3 жыл бұрын
This is honestly the best video I have watched in months! A perfect combination of coding, sarcasm and editing perfection!
@AndrewWilsonStooshie3 жыл бұрын
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.
@wafflespawn3 жыл бұрын
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.
@Kitulous3 жыл бұрын
I can't even make myself continue to learn asp net lol
@jdh3 жыл бұрын
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!
@sorryvol3 жыл бұрын
@@jdh computer science?
@thev01d853 жыл бұрын
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
@thev01d853 жыл бұрын
@@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
@cppxaxa2 жыл бұрын
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"
@shahriardhruvo43333 жыл бұрын
The amount of dedication is UNREAL!!! Truly amazing work.
@LiEnby3 жыл бұрын
next: "I reprogramed the BIOS of my computer to only run tetris"
@yukkuriwa3 жыл бұрын
yes
@-Tris-3 жыл бұрын
funny way to brick someone's PC
@gladiusso3 жыл бұрын
@@-Tris-literally
@NextLevelCode3 жыл бұрын
It already exists. CoreBoot Bios with Tetris payload.
@vertihippo12743 жыл бұрын
@@-Tris- What more use does a PC need than to play Tetris? I'd say it's fully functional. lol
@Gigawipf3 жыл бұрын
Was able to boot it via PXE in virtualbox and a real notebook and a kvm server :) Nice work. That goes in my boot menu until i forget about it and wonder why everything is booting tetris.
@dryued68743 жыл бұрын
Hey, do you happen to still have the source code? The repo was taken down and it's a shame for such a thing to be gone.
@SupaGamersAlt3 ай бұрын
Of COURSE the GitHub repo was DMCA'd... Fuck Nintendo and The Tetris Company.
@d3vilscry6663 жыл бұрын
I can’t even make a simple hello world program in assembly, and this guy here creates a whole loader on it like it was nothing. I want to one day have the abilities that this guy possesses.
@OrbitalCookie3 жыл бұрын
time and willpower
@d3vilscry6663 жыл бұрын
@@OrbitalCookie True. It just feels like I never have enough time in school. School really sucks the fun out of everything.
@OrbitalCookie3 жыл бұрын
@@d3vilscry666 LOL imagine day job from 8 to 5
@d3vilscry6663 жыл бұрын
@@OrbitalCookie I can see why many people hate that. But I find it better than going to school from 10-2. Then working from 4-11 PM, then studying from 11:30 until like 2AM. Rinse and repeat.
@NikolayGorylenko3 жыл бұрын
That ability called learning ability.
@JosephTatumPage3 жыл бұрын
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.
@willianvinagre33383 жыл бұрын
how does this guy can manage to do such a cool project in such a short time? this dude's amazing! love your video btw, keep up with the excellent work!
@noxfortes2 жыл бұрын
I just can't believe the fact that the repo got DMCA'd 😑😑
@LewiLewi523 жыл бұрын
Where do you even start learning how to do this, this is incredibly impressive.
@Henrix19983 жыл бұрын
Googling. A lot of googling and 30 year old documentations. No one can teach you these things, you have to learn it all yourself
@twb01093 жыл бұрын
@@Henrix1998 and doing
@Padeir03 жыл бұрын
you will need some knowledge of computer architecture, core concepts of operating systems and some skill in assembly. A few books that can help you with that: - Programming From The Ground Up by Jonathan Bartlett: teaches you x86 assembly, a bit of computer architecture and other things - Operating System Concepts by Avi Silberschatz, Greg Gagne, and Peter Baer Galvin: it's a great introduction to operating systems, it teaches you how the operating system interfaces with hardware, how the operating system gives support to the user space programs etc. It will teach you much more than it's needed to built what's on the video tho. - manuals on the hardware you're trying to write software to - for writing drivers there are a lot of books about drivers on linux, they might give you a good idea how to do it
@jdh3 жыл бұрын
I've added some resources in the description that I used when I started learning this stuff a few years back :)
@LewiLewi523 жыл бұрын
@@jdh Thank you very much!
@Youshinaka3 жыл бұрын
The level of dedication is insane, I love it
@psychicpenguin28503 жыл бұрын
You know, usually I can follow what you are doing. Even if I could never write all that myself, I at least understand what's happening. Not this time, oh boy.
@viktorhonchar2 жыл бұрын
Holly man... Outstanding skills! Respect for the effort and also result!!!
@Oskar423 жыл бұрын
When i implemented a bare-metal Tetris for an ARMv7 i used a list of coordinate offsets from the center of the tetris block instead of a matrix containing bits - that makes rotation much easier because you can just use rotation matrices
@Einhamer3 жыл бұрын
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"
@figboot3 жыл бұрын
If you're interested in that sort of thing, check out Ben Eater's 6502 computer + videocard builds ;)
@Einhamer3 жыл бұрын
@@figboot Ahhh yes, is that the guy that made a video card entirely out of breadboard?
@figboot3 жыл бұрын
@@Einhamer Yeah, that's him
@aceman00000993 жыл бұрын
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
@zerocalvin3 жыл бұрын
once Ben Eater finish building his bread board computer, you'll need to port this over =D
@vincentguttmann22313 жыл бұрын
He is already a full stack developer. If ever a nuclear war takes place, those two will rebuild the entire computer architecture.
@01Chris022 жыл бұрын
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.
@sauldickson40793 жыл бұрын
“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_Yeah3 жыл бұрын
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.
@jdh3 жыл бұрын
Oh no don't worry, I know it's possible, I just don't want to void my warranty or anything lmao
@BocuD3 жыл бұрын
@@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
@bobweiram63213 жыл бұрын
@@BocuD Sarcasm.
@paulstelian973 жыл бұрын
Modern Macs can actually only run UEFI OSes I think? And Boot Camp runs Windows 10 in UEFI mode?
@erumi32153 жыл бұрын
I'm convinced he just found an excuse to show us his masterful Tetris skills.
@gwentarinokripperinolkjdsf6833 жыл бұрын
eh, he is only okay.
@InnerEagle3 жыл бұрын
That's a good excuse for hacking your brain outside the confort zone
@kheireddineattala12813 жыл бұрын
please people this is literaly thebest joke you can ever make about this vid
@duckmeat46743 жыл бұрын
He isn't using a 7bag system, or using right wells 0/10 would not play
@InnerEagle3 жыл бұрын
@@duckmeat4674 I saw earlier someone invented a new faster method to play tetris
@squid85203 жыл бұрын
"I finally find this one character, change it to be correct and keep going" is the most accurate coding statement I've ever heard
@waterinferno20719 ай бұрын
You fixing the rotation table made me actually happy to see
@flummox3d3 жыл бұрын
My jaw is on the floor. Your skills are scary. I'm not even sure about what I *didn't* understand, but the misspelled 0x0020 was something I could relate to even without a coding knowledge this deep. Long story short: subscribed.
@brick43533 жыл бұрын
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.
@Jesse783 жыл бұрын
That's a big rip
@casey62593 жыл бұрын
big oof
@havens15153 жыл бұрын
Now make THIS run on a pi
@OrdosKoala3 жыл бұрын
This is the saddest thing I have read today
@OxygenOS3 жыл бұрын
big rip
@theemeraldfalcon91843 жыл бұрын
On the topic of bugs, I was awake 21 HOURS yesterday working on a 'small' side project (AKA I was cheating and using a game engine), and spent about 18 hours programming, 14-16 hours of which were fixing this ONE STUPID BUG.
@tentative_flora26903 жыл бұрын
Mind if I ask what you are working on. I have been obsessed with Arbitrary code execution on retro videogames. And I am currently working on a sort of cheating library of my own. In similar vein to cheat engine.
@timhold20163 жыл бұрын
Those 18 hours weren’t wasted though. Each tangent you went on that wasn’t the root cause made you a better engineer
@hetsmiecht10293 жыл бұрын
If I can give you advice: try sleeping sometimes. It can dramatically improve the quality of your written code, which reduces the amount of bugs you accidentally introduce.
@theemeraldfalcon91843 жыл бұрын
@@tentative_flora2690 Yeah, I wasn't doing anything like that, I muddled up some ROTATION CODE. Basically, when calculating the rotation of an object based off of the normal of a face, I had accidentally set a mess of trigonometric functions that caused the rotation to get confused. NGL ACE, especially in older games, is super cool :)
@theemeraldfalcon91843 жыл бұрын
@@timhold2016 Yeah, a quite literal tangent,
@renofumi282 жыл бұрын
20:49 "It was at this moment that he knew He fucked up" Seriously that's a huge pain for tetris enthusiast 😂
@donutguy804 Жыл бұрын
Real
@yokrysty3 жыл бұрын
great project, unfortunately "Repository unavailable due to DMCA takedown." :( who would do such a horrible thing?
@igorthelight3 жыл бұрын
"who would do such a horrible thing?" - Tetris LLC, of course ;-)
@Kj-zw3sz3 жыл бұрын
EA
@bakane60302 жыл бұрын
Sad but they have every right to do so as it is copyright violation.
@igorthelight2 жыл бұрын
@@bakane6030 True It's just if they are VERY strict with rules - people wouldn't want to engage with them in any way. That kills creativity.
@sqfzerzefsdf2 жыл бұрын
@@bakane6030 lmao as if tetris hasn't been copied to death already.
@bruh124583 жыл бұрын
"im sure not going to right this whole thing in assembly" believe me you shouldnt. writing games in assembly takes weeks and sometimes months
@ComfyCherry3 жыл бұрын
It's very well done and I know this is a little old now but you forgot one of the core mechanics of Tetris, tera groups the game generates a group of all possible pieces and then pushes them in the random order then generates a new one you never get more than 2 of the same tetra in a row and I saw multiple times of you getting the same piece 3+ times in a row.
@LeBlobfish27113 жыл бұрын
That’s a modern Tetris thing, older versions of Tetris are totally random like this.
@randomname5962 жыл бұрын
not totally random; NES and most older ones have “seeds” that correspond to the order of the tetriminos
@valixishere Жыл бұрын
I love how he spends more time on building the OS than Tetris. I’m honestly impressed! Keep up the work JDH!
@PopeCromwell3 жыл бұрын
This is now my favourite human achievement. Previously it was ethics and before that Primus. But now it's this. Simply astonishing.
@jdh3 жыл бұрын
thank you mr. pope
@PopeCromwell3 жыл бұрын
@@jdh thou art welcome
@azr_sd3 жыл бұрын
I enjoyed watching every second of this video. The kind of things you are building shows how much time you might have spent on studying. Respect. I can only dream to build stuff like this.
@raising12573 жыл бұрын
Me as a newborn programmer: mom come pick me up I'm scared
@rr422 жыл бұрын
After all this the repo gets a DMCA takedown : ( Was really hoping to take a stroll through the code
@potassiumdev3501 Жыл бұрын
It's sad the source code got copyrighted ;-;
@nikhuge65802 жыл бұрын
This is the most inspiring video I have ever watch in KZbin…….thnks for the effort…
@nielskoomans3 жыл бұрын
it's a bummer the company behind tetris actually dmca-ed the fuck out of the github repository. i mean they were in their right to do so, but it's also a bit sad that such a big company strikes an educational piece of code like yours.
@paulwratt2 жыл бұрын
Its a good thing you did not release this 18 days earlier :) - thanks for making the source available
@noskill64213 жыл бұрын
VIDEO IDEA: Make your own programming language. Been trying myself, but would like to see how you would do it
@efhiii3 жыл бұрын
Have you looked into the esolang community? They've made countless programming languages.
@RasmusSchultz3 жыл бұрын
Yeah, like an actual x64 native compiler - not a transpiler for another language, or not a bytecode interpreter, or LLVM (because cheating!) but an actual, honest-to-God, good ol'fashion' compiler. There are barely any of those around anymore. (Like what the hell happened. Computers got at least 1000 times faster - and still, every modern compiler is somehow slower than Turbo Pascal was on my 486.)
@rishisrihari61303 жыл бұрын
i've actually been making one that inherits characteristics from BASIC, although it's SUPER limited at the moment lol
@lukewilson1993 жыл бұрын
Okay, I'll admit it. I clicked into this video going "an operating system? Psh, yeah right. I bet you're just gonna make tetris in javascript or something." You coherently made an outstanding product with quality code design. My applause to you
@ВладиславВоронков-н9т3 жыл бұрын
This brought me sweet memories of developing DOS game for my course work in university. Basically the same experience: lots of ASM, interrupt handlers, double buffering, tons of manually edited hex data for fonts and sprites. And of course a lot of hours debugging without an actual debugger. But damn, it was so much fun xD
@ducky16812 жыл бұрын
"Please don't copyright strike me for the music EA" *Repository unavailable due to DMCA takedown.*