Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
UnmappedStack
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
UnmappedStack
1y ago
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 badl
32.
▲
by
UnmappedStack
1y ago
https://www.popularmechanics.com/science/a33957256/this-prog...
33.
▲
by
UnmappedStack
1y ago
Yes, quite happy with real hardware. The kernel isn't exactly straight to Doom, it boots into a shell which you can just run Doom from, but yeah lol.
34.
▲
by
UnmappedStack
1y ago
Given that pregnancy tests can now run Doom, I have to agree with you. It was more of a symbolic thing than a technical difficulty at this point lol.
35.
▲
by
UnmappedStack
1y ago
Well, it can do a little more than run Doom, that's just the latest milestone as to what was ported last. It wasn't a huge effort, maybe took a week or so to get Doom itself running including adding libc requirements for Doom, bu
36.
▲
by
UnmappedStack
1y ago
I use paging for virtual memory, which gives each process it's own address space. I have a round-robin scheduler connected to the PIT driver, so every 10ms the PIT fires an interrupt which triggers the scheduler, which selects the next
37.
▲
by
UnmappedStack
1y ago
Very nice!i
38.
▲
by
UnmappedStack
1y ago
Haha not quite at the point Hurd has gotten. I'd be very happy if I could last that long on one project though, I have a tendency to get bored after a few months sadly.
39.
▲
by
UnmappedStack
1y ago
I could probably do that. The init program, which is a userspace program called by the kernel which spawns everything else, currently enters the shell but it'd be quite simple to make it just boot into Doom immediately. It's still
40.
▲
by
UnmappedStack
1y ago
Well, the LibC is still quite small, and the syscalls aren't really compatible with Linux. A lot of things to port, for example Vim, require system libraries such as ncurses which need syscalls that aren't in the LibC. I don'
41.
▲
by
UnmappedStack
1y ago
Not disappointed at all to answer! Running it on my laptop was literally just formatting a USB with the ISO and booting from the USB. I would recommend checking out https://osdev.wiki to start out if you want to write a kernel,
42.
▲
by
UnmappedStack
1y ago
Yeah definitely an achievement I'm happy with. I've got a bit of refactoring to do, ANSI parsing etc then I'd like to port more - perhaps even Vim (or another portable Vim-like editor called Dim)
43.
▲
Show HN: My from-scratch OS kernel that runs DOOM
(github.com)
320 points
by
UnmappedStack
1y ago
|
81 comments