Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
krustowski
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
krustowski
11mo ago
let's resurrect these days with open.mp!
2.
▲
by
krustowski
1y ago
How about the event loop in its completeness?
3.
▲
by
krustowski
1y ago
Sort of, but IMO that module(s) is just a wrapper for video buffer.
4.
▲
by
krustowski
1y ago
You are right, it goes way ahead the first iteration. I call it DOS-like because of its resemblance to the Text mode-only operating systems (and to MS-DOS especially). On the other hand, it shares very little as the architecture, command se
5.
▲
by
krustowski
1y ago
I am not at the moment. The goal is to keep this iteration in English for now. The first iteration was in Czech in the beginning though.
6.
▲
by
krustowski
1y ago
Well, the point is to experiment with Rust no_std+no_main environment while trying to educate myself on how the things work under the hood. The project itself is part "just" a rewritten system (from C to Rust), and part an enhance
7.
▲
by
krustowski
1y ago
NGL, the codebase of the first iteration is pretty much a mess. It had been written in my mid-teenage years, so the C code is not very consistent across the project. There is a filesystem prototype written in Go as well... Also, it is quite
8.
▲
by
krustowski
1y ago
The x86 arch is used because this system iteration derives from the first one, which relies on BIOS interrupts and inline assembly in Turbo C. I am not trying to mimic (MS-)DOS exclusively, but both systems are highly inspired by it. IMO mu
9.
▲
by
krustowski
1y ago
For FAT12, it reads the first sector (0 or bootsector) of the floppy provided to gather information like bytes per sector, reserved sectors count, LBA of the root directory, etc.
10.
▲
by
krustowski
1y ago
Booting from an EFI system partition has not been tested yet. FAT12 is the only filesystem (ok, there is a memdisk implementation, but it won't work now) supported, so GPT is not supported at the moment too (yet). Kinda aiming for FAT3
11.
▲
by
krustowski
1y ago
Afaik there is a 'DIR' command in MS-DOS. Anyway, what would be a better command to list a directory? I could think of 'ls' maybe
12.
▲
by
krustowski
1y ago
What a challenge! Need to implement some interrupts it seems then, to provide an API for filesystem and so... Thank you for such idea
13.
▲
by
krustowski
1y ago
You are right. The first iteration however is 16bit and is very close to MS-DOS in terms of compatibility. Moreover, any OS that can handle simple disk I/O ops could be considered a DOS system too, innit?
14.
▲
Show HN: A DOS-like hobby OS written in Rust and x86 assembly
(github.com)
207 points
by
krustowski
1y ago
|
60 comments
15.
▲
by
krustowski
1y ago
I didn't really think this through like that, good point. Thanks for the link, will consider reposting it later https://github.com/krustowski/rou2rexOS
16.
▲
A second iteration of my DOS-like hobby OS
(blog.vxn.dev)
3 points
by
krustowski
1y ago
|
2 comments