Linux Running on an NES?

Поділитися
Вставка
  • Опубліковано 2 жов 2024
  • github.com/dec...
    Apologies for the audio quality.
    How it Begins by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. creativecommon...
    Source: incompetech.com...
    Artist: incompetech.com/
    Long Time Coming by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. creativecommon...
    Source: incompetech.com...
    Artist: incompetech.com/
    Disco Ultralounge by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. creativecommon...
    Source: incompetech.com...
    Artist: incompetech.com/

КОМЕНТАРІ • 594

  • @dolmondboi
    @dolmondboi 7 місяців тому +1142

    Wow. Didn't even run neofetch

    • @decrazyo
      @decrazyo  7 місяців тому +384

      Damn. I knew I forgot something!

    • @navinhaze6343
      @navinhaze6343 7 місяців тому +34

      ​@decrazyo It's all good, that would have been cool, but this is still as impressive.

    • @shepardpower
      @shepardpower 7 місяців тому +28

      @@decrazyo you can post the neofetch in a community post

    • @blob5907
      @blob5907 7 місяців тому +8

      ​@@decrazyonow that you remember edit it into the video

    • @RoseQuartz692
      @RoseQuartz692 7 місяців тому +4

      What is neofetch?

  • @davey453267
    @davey453267 7 місяців тому +499

    "Now that we've stopped moving the goal posts..." Is the most perfect thing I've ever heard describing the hardware hobby.

    • @ElShotte
      @ElShotte 7 місяців тому +27

      If only people were more comfortable with this. Sometimes it's better to simply move the goal posts.

  • @AnimalFacts
    @AnimalFacts 7 місяців тому +307

    I respect that you acknowledge moving the goal posts.

    • @voltcorp
      @voltcorp 7 місяців тому +21

      yup, and then when it ran on an everdrive in the end I fully felt that this was legit enough. really shows how honesty is the best policy.

    • @I_SEE_RED
      @I_SEE_RED 7 місяців тому +8

      Yeah if he didn’t, I might have added an invisible dislike

  • @TakuikaNinja
    @TakuikaNinja 7 місяців тому +413

    Hold on, I wrote those TODO labels on the FDS page... 😬

    • @decrazyo
      @decrazyo  7 місяців тому +163

      😂 Maybe I'll add some details to the wiki now that I know a bit more about the FDS.

    • @TakuikaNinja
      @TakuikaNinja 7 місяців тому +103

      @@decrazyo I'd appreciate that. Not enough people have delved into the FDS' low-level behaviour.

    • @alleycatjack4562
      @alleycatjack4562 7 місяців тому +28

      ​@TakuikaNinja you both are awesome.

    • @Ðogecoin
      @Ðogecoin 7 місяців тому +4

      @@decrazyohi

  • @tuomollo
    @tuomollo 7 місяців тому +174

    From what I know, someone managed to run Linux on 6502 machine by emulating a 32 bit Motorola CPU. Of course booting it would probably take hours if not days.

    • @matsv201
      @matsv201 7 місяців тому +12

      Linux was made very early on in the 32bit days, most of the runtime is in 16 bit instructions. (Or well it was).
      That is, it needs 32 instructions, but really for very few things.
      Getting from 16 bit to 8 bit is a bit easier. Still yes, there is a boat load of issues.
      But anyway, getting from 32 to 16 bit might bot be as hard as one imagine. It really boils down to 3 main funktion. Ram, drive and security.
      And the solution for ram is quite easy just cap it at 1MB. The solution for drive is also similarly easy. Just don't use 32 bit file system.
      And for security? Who really needs it

    • @ryanr8364
      @ryanr8364 7 місяців тому +28

      @@matsv201This is not accurate. Linux was fully 32-bit from the very beginning in 1991, both the kernel and the userspace. That was one of Linus Torvald's original requirements in his project. The only 16-bit code was in LILO, the bootloader, and it was not part of the kernel.

    • @matsv201
      @matsv201 7 місяців тому

      ​@@ryanr8364 That is not how neither compiler nore 386 opcodes work. A 386 instruction set is really mostly a 286 instruction set with a few 32 bit added instructiosn on top of the 286 code. Because 386 is not 387 there is no floatingpoints in the 386 op-code, and that is really mostly what 32 bit words are used for.
      There is a bit of ops added to handle 32 bit ints, but again, those are not really needed. Most of the added ops is for disc and memory acess. Even at that its worth saying that the 286 did have extended memory space over the bit limit of 1MB. (simular to how most 8bit CPU did memory pageing).
      You might belvie you are writing a 32 bit code, but the compiler don´t care. When its compiled and done most of the code is 16 bit regardless. .... that is.. most.. not all.
      You have to go all the way to x64 untill there is a full ops base for replacing every single 16 bit instruction. Even at that, its a bit flakey. Even today in a 64 bit windows that support aboslutly none 16 bit aplication, there are still ops that are compiled as 16 bit instructions that is needed.
      A few yeras back (we talking like 2021-22 or there about) anuounced a project of totaly wiping the cores from x86-16 code. But it turned out that it didn´t work due to some legacy part of the system is still using part of that code base So in stead they was about to implement a 16 bit emulator in hardware via code morthing to remove the 16 bit instructions.
      If you look at the 386 ops base most of the instructions that is just not totaly new instructions for extended usage or having to do with memory or disc access, are just added clone instructions for 16 bit int in 32 bit.
      Here is the thing, if you use nothing 32 bit, those instruction isn´t needed in the first place. Even if the compiler in some instances would compile them into 32bit int, you will really just have 16 bit numbers with 16 zeros in front of for basically every calculation.
      And of cause yes, you would need to recompile it set to 16 bit and some code would need to be removed or modified. But most would just work as is.
      So its not like because you set the compiler to 32 bit, everything will be 32 bit. Even if it was. Most of the code is not written as bit dependent.

  • @andreapuerto8967
    @andreapuerto8967 7 місяців тому +37

    I will finally be able to turn my 20 famicom into a k8s cluster

  • @catfree
    @catfree 7 місяців тому +249

    Criminally underrated this is such a niche but awesome project I hope you learned alot doing it!

    • @decrazyo
      @decrazyo  7 місяців тому +31

      It was a great way to learn more about some fundamentals of OS design.

    • @DrakenStark
      @DrakenStark 7 місяців тому +3

      ​@@decrazyo Would love to see what you can decide to actually run on top of it!

    • @Cypryssss
      @Cypryssss 7 місяців тому

      nice pfp

    • @catfree
      @catfree 7 місяців тому

      @@Cypryssss Why, thank you!
      I must return the compliment, as you're looking just as (if not more) dapper.

    • @TheSimoc
      @TheSimoc 7 місяців тому

      Yep, we need more operating systems and software with professionally made, efficient usage of hardware resources.

  • @josephfanning1241
    @josephfanning1241 7 місяців тому +54

    Why didn't you get the lead man for The Police to announce this? It would have been perfect.
    He's sendin' out a NES OS!
    He's sendin' out a NES OS!

    • @ElShotte
      @ElShotte 7 місяців тому +6

      I bet you lived at least half of your life wanting to say that... 😁😁

    • @grendelfly83
      @grendelfly83 7 місяців тому +5

      Sting? 😂

    • @lyghtkruz
      @lyghtkruz 5 місяців тому

      Great, now that's gonna be stuck in my head all day hahaha

  • @albinoninjamonkey8967
    @albinoninjamonkey8967 7 місяців тому +61

    i love this type of thing.. youtube has been in a sad state lately.... please please keep making videos

    • @DJBillyQ
      @DJBillyQ 7 місяців тому +14

      dude even included some old internet memes to bring me back to happier days of internetting. :_)

  • @Bro3256
    @Bro3256 7 місяців тому +222

    Interesting project, someone linked me this video on Discord and was curious.
    Since I own a Famicom with the Family BASIC keyboard along with an FDS Stick I was able to run your program on actual hardware and unfortunately I can't seem to get the actual keyboard to work despite it being functional in Family BASIC. When emulating in Mesen the keyboard works fine so I'm a bit puzzled why it isn't working on the actual hardware.
    Edit: I have since tested newer versions of the program and the keyboard now works on actual hardware. Very interested to see where this project goes from here.

    • @decrazyo
      @decrazyo  7 місяців тому +130

      When the system boots does it display the message "No Keyboard" after the "Family BASIC Keyboard module version 0.3" message? if so then the keyboard driver is disabling itself since it can't detecting a keyboard.
      also, providing tech support for UNIX on a Famicom feels incredibly surreal.

    • @Bro3256
      @Bro3256 7 місяців тому +20

      @@decrazyo yeah it's displaying the message, despite the keyboard being plugged in since power on

    • @decrazyo
      @decrazyo  7 місяців тому +30

      Strange. I implemented the same keyboard detection algorithm that Lode Runner supposedly uses, according to the nesdev wiki.
      Keyboard detection was the last feature i added so as a quick workaround you could checkout the version before I added that.
      Commit 8421a70 is the latest version that doesn't have keyboard detection.
      github.com/decrazyo/lng-fds/blob/8421a706f76c9fe5d4d2b21e627dc74ba9b96fd9/lunix.fds

    • @Bro3256
      @Bro3256 7 місяців тому +30

      @@decrazyo got around to testing this one, good news is that the keyboard is fully functional on hardware now but bad news is that they keys do not correspond to the output so T on the keyboard would register as W for some reason
      at least it's somewhat functional not entirely sure why its so borked on actual Famicom hardware

    • @decrazyo
      @decrazyo  7 місяців тому +44

      Ok. This is starting to make sense to me. T and W correspond to the same column on the keyboard matrix, just on different rows. So, for example, when the driver is trying to read row 1 it's actually reading row 2 and so on for every row. That would also explain why keyboard detection doesn't work. I'll see if anyone on the forums has document this behavior or I'll just reverse engineer Family BASIC to see how it handles the keyboard.

  • @jsnotlout3312
    @jsnotlout3312 7 місяців тому +136

    Man wrote his own drivers and called it easy

    • @alface935
      @alface935 7 місяців тому +19

      "Professionals have Standards"

    • @jsnotlout3312
      @jsnotlout3312 7 місяців тому +11

      @@alface935 Hey, at least he knows they don't have spyware lol

    • @alface935
      @alface935 7 місяців тому +2

      @@jsnotlout3312 True

    • @jsnotlout3312
      @jsnotlout3312 7 місяців тому +7

      @@alface935 The red spy is not in the base

    • @alface935
      @alface935 7 місяців тому +6

      @@jsnotlout3312 He could be in this very room

  • @Dubsteppah
    @Dubsteppah 7 місяців тому +17

    Videos like this prove to me that there are just everyday people out there who are geniuses. You are one of those people

  • @EWARS_2
    @EWARS_2 7 місяців тому +68

    Oh my word, thank you for doing this!! I've use LUnix with a Pi1541 on the C64 before, and it's some serious stuff! (Networking drivers go crazy) I've scoured Teh Interwebz for this kind of idea, and I believe you are now the first to have the NES run Unix! 👏👏👏

  • @MK-of7qw
    @MK-of7qw 7 місяців тому +12

    I didn't even know an 8bit 6502 could do this much. Good video.

  • @havocking9224
    @havocking9224 7 місяців тому +4

    I was having vietnamese clone of NES, it has keyboard, mouse and cartridge, which tries to behave like Windows 95. It has mouse cursor, start menu, text editor, "movies". It was more like educational pc. Good memories.

  • @pikaporeon
    @pikaporeon 7 місяців тому +11

    This is the kind of stuff I'm about, esp dealing with the qualifiers of 'not just a raspberry pi in a cartridge'

  • @Thurloat
    @Thurloat 7 місяців тому +4

    That picard / disk reading joke was 10/10 😂

  • @grant2053
    @grant2053 7 місяців тому +17

    Caught the Star Trek reference you slipped in there where Picard said "He-just-kept-talking-in-one-looong-incredibly-unbroken-sentence-moving-from-topic-to-topic-so-that-no-one-had-a-chance-to-interrupt-it-was-really-quite-hypnotic'

    • @3rdalbum
      @3rdalbum 7 місяців тому

      Oh geez that is really an obscure reference. I get it now.

    • @TSDT
      @TSDT 7 місяців тому +3

      ​@@3rdalbum it was quite popular on YTMND back in the early internet ("The Picard Song") but yeah, rather obscure these days.

    • @mattmurphy7030
      @mattmurphy7030 7 місяців тому

      @@TSDThard to believe YTMND is the “early internet.” Feels like yesterday

  • @jmalmsten
    @jmalmsten 7 місяців тому +12

    In keeping with the premise of using only available hardware of the time. Would it not be appropriate to use memory swapping or what it's called, like how they used to get games like Kirby to run on the NES with the 6 Megabit cartridge?

    • @3rdalbum
      @3rdalbum 7 місяців тому +3

      Bank switching? That's to enable cartridges larger than the Cartridge RAM space.

  • @meow.5219
    @meow.5219 7 місяців тому +6

    fake no neofetch

  • @JamesR624
    @JamesR624 7 місяців тому +2

    So I like how he starts by saying the Pi method is "cheating" since it's not "on the NES", but this isn't even though it isn't "linux". Yeah, okay. Going by this logic, Every modern Apple computer not only can run linux but is already doing so out of the box, as well as every iPhone and iPad.
    Spoiler: Just because it shares some ideas as UNIX because it was inspired by it, doesn't mean Linux is even remotely the same as UNIX.

  • @CYXXYC
    @CYXXYC 7 місяців тому +15

    I believe the only requirement for "UNIX-like" is just POSIX complicance, which kicks out Windows (in its current form, excluding WSL) right away, and describes most of the things you described.

    • @jfbeam
      @jfbeam 7 місяців тому +4

      POSIX does not equal UNIX. (Windows [NT] has had POSIX layers as far back as 3.5. The NT kernel was based on a UNIX system.)

    • @peter0x444
      @peter0x444 7 місяців тому +7

      ​@@jfbeamthe "posix layer" in this case was actually a sort of malicious compliance scam so Microsoft could bid on US government contracts. NCommander has a good video about it, it was not actually useful. Calling it "posix" is a very, very big stretch.
      There is cygwin which does that in a more useful way.

    • @mattmurphy7030
      @mattmurphy7030 7 місяців тому

      “excluding WSL”
      I mean if you just arbitrarily exclude major parts of windows then sure

    • @CYXXYC
      @CYXXYC 7 місяців тому +3

      @@mattmurphy7030
      1. WSL is not installed by default
      2. WSL has actual linux installed in it
      3. WSL runs via Hyper-V emulation

    • @jfbeam
      @jfbeam 7 місяців тому

      @@peter0x444 MS's original POSIX layer did actually work, but wasn't something they cared about. The commercial market had a few very good options. (Nutcracker for one.) Cygwin is a joke. It's a f...ing DLL translation layer, and a piss poor one at that. The cygwin rsync uses 100% of every core to do a MB/s. The nutc POSIX build uses a few percent of a single core to saturation the 1G link.

  • @AnimeHyperDimention
    @AnimeHyperDimention 7 місяців тому +1

    This is good news for NES retro developers, everyone will want the cartridge with the penguin logo, adapted with more memory, SD input peripherals, sound chips, etc. It can help create better games and development platforms to play online.

  • @bretwashere
    @bretwashere 7 місяців тому +3

    Dude, this is amazing. Your understanding of what is running even mean, the fundamental process of how a UNIX like OS works, and what is involved to actually get this code to run on the NES. People who are able to pull this off is few, far and in between. Good job!

  • @BalancedSpirit79
    @BalancedSpirit79 7 місяців тому +9

    This is insanely impressive.
    If you like the thought of making an NES/FDS run a modern OS, *please* look up information about Contiki. There's an abandoned NES port for that OS which was supposed to have networking hardware and the ability to use the Zapper gun as a makeshift mouse. This OS has a Wikipedia article, so I suppose that plus websearching would be a good place to start.

    • @cll1out
      @cll1out 7 місяців тому +4

      I’m trying to imagine a Zapper as a mouse. How I understood the zapper to work is a “confirm or deny” the zapper is looking at a predetermined spot on the screen. For this to work to determine aim, I would think it would have to “scan” by moving the white box all over the screen until the zapper hit, which could easily take a good half second to try 16 different regions on the screen and get a low resolution of where the pointer should be. I guess it could then repeat in the smaller region to “refine” the pointer position closer to the aimed spot.
      Maybe I should just go search for a video of this…

    • @BalancedSpirit79
      @BalancedSpirit79 7 місяців тому

      @@cll1out I don't think there would be a mouse cursor. Instead of "point and click" it would probably be "aim and shoot."

    • @tatomar001
      @tatomar001 7 місяців тому +1

      ​@@cll1outyou could do a binary search actually and get which half screen, then which quarter, wich eigth which 16th, maybe that is fast enough in the nes, i imagine the pixel density is also not that big, also most of the screen might not be interactive

    • @bmxscape
      @bmxscape 7 місяців тому

      @@tatomar001 why randomly guess when you could just look it up

  • @Ganx_Gooshers
    @Ganx_Gooshers 7 місяців тому +21

    never expected this from a speed run channel. I'd love to see more cool projects like this!

    • @jama211
      @jama211 6 місяців тому

      Ohhh, I KNEW I knew that voice from somewhere!!!

  • @fairvalesecondary5883
    @fairvalesecondary5883 7 місяців тому +1

    Nicely put together! Looking forward to your content.

  • @vectrex28
    @vectrex28 7 місяців тому +8

    Oh wow! That's amazing, especially with reverse-engineering the FDS. One of my friends actually did a full disassembly of the BIOS

  • @yaboyted817
    @yaboyted817 7 місяців тому +1

    This is dope. Great job!

  • @mrDoctorWho0
    @mrDoctorWho0 7 місяців тому +4

    This is amazing. Would love to see what you could've achieved on a more powerful Genesis. I had this idea for a while, even looked up for linux 68k (and found it), but never got myself to come around the implementation

    • @decrazyo
      @decrazyo  7 місяців тому +5

      hmm... I do have a Genesis. also an SNES. Both with everdrives. oh no, I'm getting all sorts of silly ideas now.

    • @mrDoctorWho0
      @mrDoctorWho0 7 місяців тому

      @@decrazyo Imagine running Linux on TWO m68ks! (with the Mega CD addon which is also emulated by mega everdrive pro). And what crazy stuff could be done with the 32x addon...

  • @le9038
    @le9038 7 місяців тому +8

    That was just incredible... I can't believe someone like you could do something of this scale...

    • @quinndirks5653
      @quinndirks5653 7 місяців тому

      Sounds kinda like a back handed compliment, but I doubt that was intentional.

  • @iamtimsson
    @iamtimsson 6 місяців тому

    5:35 tracks and sectors
    got it learned now
    simple and intuitive thanks

  • @whatskenmaking
    @whatskenmaking 7 місяців тому

    Very nice - you've given me an interesting idea for a project/video that I have planned for this summer. I'll be thinking about this more, but I may possibly jump into the repo and make a couple of contributions.

    • @decrazyo
      @decrazyo  7 місяців тому

      That'd be great.

  • @sophiamarchildon3998
    @sophiamarchildon3998 7 місяців тому +5

    "Unix-like is pretty much every contemporary common OS, ... but like all Unixy everywhere". Feels circular to me.

    • @mayteramarble1578
      @mayteramarble1578 7 місяців тому +2

      it's more just that unix ideas are so pervasive in modern os design. windows is pretty much the only non-unix and even it takes a bunch from unix

  • @BigBraGad
    @BigBraGad 7 місяців тому +2

    "I use NES btw"

  • @LegendBegins
    @LegendBegins 7 місяців тому

    Very cool! It's clear a lot of work went into this project.

  • @johneygd
    @johneygd 7 місяців тому +2

    It would be cool if the fds version of linux will not only support the keyboard but also support the data recorder to load and save stuff on it sothat you can use the famicom as a real computer😁🙏

  • @vi23a
    @vi23a 7 місяців тому +2

    "...and more like a shitty video card."
    >shows something that basically resembles my current gpu

  • @the_kombinator
    @the_kombinator 7 місяців тому +8

    6:35 that music sounds a lot like Star Control II mod files ;)

  • @the_kombinator
    @the_kombinator 7 місяців тому +4

    DOS 3.3 with FAT12 FTW. The Famicom had that with the disk system, how was that implemented? Reverse engineer that and boot whatever you want off it, within the hardware limits. *edit LMAO seconds later you moved the goalposts.

  • @Carhill
    @Carhill 7 місяців тому +1

    @2:06 - ZSH is dope.

  • @nikdog419
    @nikdog419 7 місяців тому +3

    When you dropped the FDS bomb, I got excited. I have the System, the keyboard, and the FDS.

  • @HansMaxiBricks
    @HansMaxiBricks 7 місяців тому +1

    you g0ddammmmm NERD :PPP SUBSCRIBED ! Keep it up pls ! ❤

  • @notexactlysiev
    @notexactlysiev 7 місяців тому +3

    great work! I wonder how much work it would be to eliminate lunix's disk reliance entirely. also, this makes me fantasize about porting the original unix version 6 to the system

  • @eric_d
    @eric_d 7 місяців тому +24

    This is pretty damn awesome. Not that anyone would ever actually NEED to do this, but it's still cool that someone was able to.

  • @tolstukha
    @tolstukha 7 місяців тому +3

    oh man you're insane. I mean it in the positive way

  • @YADoctorVids
    @YADoctorVids 4 місяці тому +1

    AWE WOT?!
    Upvotes for seeing how deep this rabbit hole goes.
    _TRY_ (nobody expects success) to get busybox or toybox equivalent running.
    AN shell. Get to AN shell.
    Updoots for continuance!

  • @immoloism
    @immoloism 7 місяців тому +3

    You can't do something cool just to hide the fact you like zsh! Now I'm going to have to subscribe just to see if I need to report you to the police for this wrong think.

  • @ElShotte
    @ElShotte 7 місяців тому

    Deffo got my subscription. Cool project, well explained, definitely interesting. People don't credit old hardware enough. Any one that wants to learn coding or computer science nowadays wants to start with the best stuff. Problem is, best stuff is also the most complex stuff, and at the fundamental level, everything works (mostly) just like their initial counterparts did. Sometimes, it's helpful to learn how an old piece of hardware or software works, because it will help you understand the new stuff.

  • @wezyap
    @wezyap 7 місяців тому +7

    The quiestion now becomes "Can it run doom?"

    • @DJBillyQ
      @DJBillyQ 7 місяців тому +2

      at a ludicrously low clock speed, maayyybe? 🤔🤷‍♂

    • @BalancedSpirit79
      @BalancedSpirit79 7 місяців тому +4

      This is an NES/FDS, let's start with Wolfenstein 3D first. Or maybe Curse of the Catacombs.

    • @Littlefighter1911
      @Littlefighter1911 7 місяців тому +1

      @@DJBillyQ Well, at a ludicrously low speed (not clock speed), everything runs potentially on the NES.

  • @mrstobbe
    @mrstobbe 7 місяців тому +1

    So, does it run linux? No. 1998 version of linux? No? A tiny homebrew version of a Unix-esq os found that someone else wrote that is then minimally patched? Yes. Hack achieved (this isn't sarcasm, good hack)! ...and title is a click-bait. Sad face. Good job on being featured on hack-a-day and all, but this is even worse then their synopsis (which didn't mention Linux). The title should be, "Can the NES run Crysis?" at this point.

  • @Drozerix
    @Drozerix 7 місяців тому +1

    I'd say you can't really run Linux on an NES as there is no real separation between user-space and kernel space.
    How can the 2A03 - a 6502 based CPU - detect and issue an interrupt when a user program is attempting to write in kernel space? In other words, how do you perform a trap? From my thinking, everything here will run on “ring 0.” Also, there are no specialized instructions, like syscall, sysenter or int in 6502, that allow software interrupts (signals) to be raised or to handle this transition from kernel to user-space. You might get away with it if you had some special mapper with an ASIC that interrogated each read/write address that was happening on the cart RAM, and was able to be set in a special mode - like user or supervisor - and utilized the IRQ line going from the cartridge to the NES system.
    On x86 systems (286 and up) there are privilege levels that are governed by physical modes. When in user-mode, if a process attempts to access memory that it shouldn’t (like kernel memory), then a trap is fired and handled. With the current set up you described, even with the Famicom and extra cart RAM, I don’t see how this separation of user-space and kernel space is actually achieved outside of just saying “this region of memory is for the kernel and this region is for the user.”

  • @dustmop
    @dustmop 7 місяців тому +1

    This is a sweet hack! Adapting the C64 version is a nice way to get to linux quickly.

  • @AndrewSelkirkEh
    @AndrewSelkirkEh 7 місяців тому +1

    Click-bait title. Answer is no and he states that right at the beginning and pivots to "unix-like". Otherwise, cool project.

  • @hotrodhunk7389
    @hotrodhunk7389 7 місяців тому +1

    If I made a little Unix I'd call it Linux. Little+ Unix.😂😂😂

  • @dharmasquid
    @dharmasquid 7 місяців тому

    The beauty of writing the game is you can indeed move the goal posts.

  • @bat_zupper
    @bat_zupper 7 місяців тому +2

    But can It run Doom

  • @oglothenerd
    @oglothenerd 7 місяців тому +1

    Lunix is literally Linux, but with the vowels swapped. 😂

  • @jama211
    @jama211 6 місяців тому +2

    This is so cool!

  • @jingo500
    @jingo500 7 місяців тому +1

    I always thought the Question was "Can it run Crysis", but I guess this'll do.

  • @gandalfgrey91
    @gandalfgrey91 7 місяців тому +1

    Now do templeOS without any goalpost moving

  • @johnm9263
    @johnm9263 7 місяців тому +1

    i think if it existed during the console's lifespan, including extra hardware should be "allowed" in terms of this type of challenge
    the entire purpose is that the NES should be the one in control, and not, as you say, "a shitty video card" where it basically takes a backseat to its "coprocessor" and instead becomes the coprocessor itself
    so even if the coprocessor is more powerful than the normal processor, the main processor should be doing all of the management, and using the coprocessor instead as support hardware
    what this means is that regardless of how fast the coprocessor works, its limited by the instruction processing power of the host processor, and what the host processor can then do with that

  • @No_True_Scotsman
    @No_True_Scotsman 7 місяців тому +2

    Get Proton running and then play Crysis on it

  • @villagerjj
    @villagerjj 7 місяців тому +1

    and here I was trying to program my own kernel for a gameboy operating system.

    • @thewhitefalcon8539
      @thewhitefalcon8539 7 місяців тому

      It should be possible on Gameboy Advance or Nintendo DS. The DS has the RAM requirement for Windows 95 - and more if you install a RAM expansion cartridge.

  • @Debu_Ranger
    @Debu_Ranger 7 місяців тому +1

    You are hardcore! Very cool! Must have taken hours to write and figure it all out.

  • @WhiteThumbs
    @WhiteThumbs 7 місяців тому

    Very in depth knowledge, you rock!

  • @sammiches6859
    @sammiches6859 5 місяців тому

    I wish I had the attention span to learn these things. I can't even get a Yamaha sound card to work with Blood (the 1997 PC game) in an original Gateway PC.

  • @royerxd3212
    @royerxd3212 7 місяців тому +1

    We got Linux on the NES before Half Life 3

  • @rars0n
    @rars0n 7 місяців тому +2

    Incredibly cool, very interesting, and I love your straightforward presentation. Subscribed!

  • @Curent-Value
    @Curent-Value 7 місяців тому

    Music during the executive code is my respect🤙

  • @floridebori7626
    @floridebori7626 7 місяців тому

    i understood probably 10% but this was amazing. will follow you. thx

  • @gargamel3478
    @gargamel3478 7 місяців тому +1

    2:08 Well, a good point would be to have a system of users and permissions. All UNIX-like OSes have this (hence sudo), and windows lacks it. Windows' "users" are not very real.

    • @decrazyo
      @decrazyo  7 місяців тому

      Very true. I thought about including that too but tbh i just didn't feel like patching multi-user support into LUnix.

  • @rays7805
    @rays7805 7 місяців тому

    The Adventures of Colonel Space Code!

  • @SirajFlorida
    @SirajFlorida 7 місяців тому +4

    Um, this is something that I have always wanted to do but never set aside the time to do it. Thanks for sharing this!

  • @eiadithecoder620
    @eiadithecoder620 7 місяців тому +5

    If its Not Linux, when its UNIX, and not an NES but rather a Fanicom, why did you name Linux on an NES when its UNIX on a Famicom (or japanese NES)

    • @shemlesh
      @shemlesh 7 місяців тому +3

      we wait with baited breath :p

    • @dustytux
      @dustytux 7 місяців тому +1

      Clickbait

  • @StormsparkPegasus
    @StormsparkPegasus 6 місяців тому +1

    The Linux kernel itself requires a memory management unit. Which the 6502 doesn't have. Minix is the most common Unix-like OS that does not require an MMU.

    • @alienJIZ1990
      @alienJIZ1990 5 місяців тому

      I had the same thought the other day since it's small enough to be baked in every Intel CPU post 2006, but sadly that won't work =/
      LUnix is far closer in architecture out the gate so it was definitely a smarter choice for this project and regarding the MMU I found this on OSdev:
      "Although Minix 3 prior to 3.1.4 doesn't use the MMU, it did use virtual memory and memory protection to some extent. Rather than use paging, it used the segmentation system of x86 processors to achieve similar results."
      Maybe Minix 2 could be possible if there's no need for MMU and it doesn't rely on x86 specific functions but I'm sure it wouldn't be easy without basically rewriting it

  • @mindblow7617
    @mindblow7617 7 місяців тому +3

    this is awesome, it blows my mind how people like you manage to run an OS in such machines, as a linux fan I'm in love with this

  • @6LordMortus9
    @6LordMortus9 7 місяців тому +3

    That STNG plug was amazing! :)

  • @Mikumikku
    @Mikumikku 7 місяців тому +1

    There’s too many videos about converting a console into another console when in reality they just swap the cases.. like one guy “turned” a wii into a Mac mini by.. you guessed it.. glueing a Mac mini mainboard inside a wii case.. wow! In comparison this video feels like witchcraft

    • @belstar1128
      @belstar1128 7 місяців тому

      i feared this video was going to be like that lol

  • @Gameplay-tg8qe
    @Gameplay-tg8qe 7 місяців тому +1

    la dedicacion de este tipo no tiene sentido, buen video

  • @NeverlandSystemZor
    @NeverlandSystemZor 7 місяців тому

    I mean, you can run a more or less modern OS on a FLOPPY DISK... there's TINY builds that can do things that would make peoples' minds explode knowing how tiny it is.
    this is a great feat. Congrats

  • @trevormurphy7041
    @trevormurphy7041 7 місяців тому +2

    Hands-down the best idea I’ve seen in a very long time I think Nintendo is messing up big time and not hiring people like you best advice I was given think outside the box in this video is a prime example of it

  • @GregStrike
    @GregStrike 7 місяців тому

    Well done man! Nice explanation too!

  • @sinom
    @sinom 7 місяців тому

    It would probably be a good idea to update the readme of the repo

  • @wisteela
    @wisteela 6 місяців тому +1

    Very interesting and impressive.

  • @harry_kr
    @harry_kr 7 місяців тому

    Awesome project and super interesting and concise video!

  • @Woodywoodah
    @Woodywoodah 7 місяців тому +2

    This is incredible, dude! Thank you for sharing such an awesome project!

  • @sdfmnb2314
    @sdfmnb2314 4 дні тому +1

    Linux is the doom of OS

  • @cyby124
    @cyby124 7 місяців тому +1

    BUT! can it run doom?

  • @mystica-subs
    @mystica-subs 7 місяців тому +2

    LOL Timescape, such a good TNG ep

  • @FranklySean
    @FranklySean 7 місяців тому

    That was pretty cool!

  • @Myphton
    @Myphton 7 місяців тому +1

    Nice work!
    My suggestion would be to utilize a Miracle Piano Keyboard cable to interface a QWERTY keyboard. It was used for cartridge, but it takes the regular port of the NES and has a 25-pin male adapter on the end (assuming you want closer to native hardware..). I would start there.

  • @DaVince21
    @DaVince21 10 днів тому +1

    Kdenlive my beloved

  • @electrichead2022
    @electrichead2022 7 місяців тому +1

    But can it run crysis..;)

  • @Mr.1.i
    @Mr.1.i 6 місяців тому +1

    6510 assembly works on c64 and the Nintendo if you format mario for a c64 a 5 line patch and the game loads level by level

  • @lcoscare
    @lcoscare 7 місяців тому

    This is amazing. Thank you for sharing.

  • @MrLittlecat123
    @MrLittlecat123 7 місяців тому +1

    Can it run Crysis? #joke

  • @veselcraft
    @veselcraft 7 місяців тому +2

    is there a way to patch kde2 for LUnix?

    • @SL4RK
      @SL4RK 7 місяців тому

      вот кого точно не ожидал тут увидеть

    • @veselcraft
      @veselcraft 7 місяців тому

      @@SL4RK :D

  • @ThinMethod2758
    @ThinMethod2758 7 місяців тому +1

    But can it run Crysis

  • @soggypeppermint4144
    @soggypeppermint4144 6 місяців тому +1

    what about atari 2000