Live data from Hacker News

Show HN: My from-scratch OS kernel that runs DOOM

github.com

41–50 of 90 posts

Re: Show HN: My from-scratch OS kernel that runs DOOM

#42

Earlier quoted context omitted.

They can't, actually.

https://www.popularmechanics.com/science/a33957256/this-prog...

It runs on the screen of a pregnancy test, Doom is actually executed on an Arm Cortex M0+ based Adafruit Trinket.

Re: Show HN: My from-scratch OS kernel that runs DOOM

#44
Great work, I would love to have the skills to do something like this, but I can see you had to read lots of specifications to achieve this and thats my weakest point.

One silly question you may know: Imagine you wanted to use GPU acceleration, even in the smallest form. How hard would it be to build a driver for the GPU? Do you think there is good documentation about it?

Re: Show HN: My from-scratch OS kernel that runs DOOM

#45
post #42

Earlier quoted context omitted.

https://www.popularmechanics.com/science/a33957256/this-prog...

It runs on the screen of a pregnancy test, Doom is actually executed on an Arm Cortex M0+ based Adafruit Trinket.

You’re right. In fact it’s not even the screen - they replaced that too.

Re: Show HN: My from-scratch OS kernel that runs DOOM

#46

Earlier quoted context omitted.

I searched YouTube for actual evidence of Hurd booting to a desktop and only found two videos of Hurd freezing during boot, and a third video of RMS explaining to a very confused convention attendee that he's "never installed GNU slash lynn-ox" because he could just ask someone else to do it. No videos of Hurd running Doom either, but anyone is welcome to create one and share.

The programming interface that Hurd provide is similar to that of any modern operating system. So, it can run pretty much any program that runs on Linux or BSD, but you have to port it. Doom is no exception. If you cannot find a video of Doom running on Hurd on YouTube, it doesn't mean that Hurd can't run Doom. Hurd is sure not a successful project, but it is a capable operating system. Linux comes with a lot of devi…

If it can run nginx and node.js on a VPS it could be a nice alternative to Linux.

Re: Show HN: My from-scratch OS kernel that runs DOOM

#47
post #44

Great work, I would love to have the skills to do something like this, but I can see you had to read lots of specifications to achieve this and thats my weakest point. One silly question you may know: Imagine you wanted to use GPU acceleration, even in the smallest form. How hard would it be to build a driver for the GPU? Do you think there is good documentation about it?

Umm that's probably the extreme end of OSDev which I likely wouldn't be able to do, at least not for a driver you can buy. Qemu's emulated GPU is documented decently and could be possible, but things like nvidia GPUs are badly documented (and until recently, the docs were fully closed source) - even Linux has issues with this (and I actually see a few other hobby OS devs who just use Linux's GPU drivers in the end). There aren't a lot of things I've marked as near impossible but writing a genuinely decent GPU driver for a common GPU isn't really something I imagine I'll ever be able to do sadly.

Re: Show HN: My from-scratch OS kernel that runs DOOM

#48
post #46

Earlier quoted context omitted.

The programming interface that Hurd provide is similar to that of any modern operating system. So, it can run pretty much any program that runs on Linux or BSD, but you have to port it. Doom is no exception. If you cannot find a video of Doom running on Hurd on YouTube, it doesn't mean that Hurd can't run Doom. Hurd is sure not a successful project, but it is a capable operating system. Linux comes with a lot of devi…

If it can run nginx and node.js on a VPS it could be a nice alternative to Linux.

The current Debian/Hurd port of nginx is outdated, but runs fine.

There's been a few problems with nodejs, as libfuse compatibility isn't the latest yet. Some libraries work fine. Some explode. So you'll have to compile it yourself.

Python and Go, however, should run out of the box just fine.

Post reply on HN