Readit News logoReadit News
krustowski commented on Pawn is a simple, typeless, 32-bit extension language with a C-like syntax   compuphase.com/pawn/pawn.... · Posted by u/unleaded
nkotov · 2 months ago
Reminds me of the good ol' days of SA:MP.
krustowski · 2 months ago
let's resurrect these days with open.mp!
krustowski commented on Show HN: A DOS-like hobby OS written in Rust and x86 assembly   github.com/krustowski/rou... · Posted by u/krustowski
m00dy · 6 months ago
it needs event queue to support async runtimes.
krustowski · 6 months ago
How about the event loop in its completeness?
krustowski commented on Show HN: A DOS-like hobby OS written in Rust and x86 assembly   github.com/krustowski/rou... · Posted by u/krustowski
90s_dev · 6 months ago
Is this using a custom VGA driver from scratch in Rust??
krustowski · 6 months ago
Sort of, but IMO that module(s) is just a wrapper for video buffer.
krustowski commented on Show HN: A DOS-like hobby OS written in Rust and x86 assembly   github.com/krustowski/rou... · Posted by u/krustowski
jmmv · 6 months ago
Ah yes, the first version does indeed sound DOS-like. The second one diverges quite a bit though.

Fun project indeed.

krustowski · 6 months 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 set, or hardware utilization approach are concerned when compared to MS-DOS.
krustowski commented on Show HN: A DOS-like hobby OS written in Rust and x86 assembly   github.com/krustowski/rou... · Posted by u/krustowski
pndy · 6 months ago
Are you planning adding support for Czech diacritics?
krustowski · 6 months 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.
krustowski commented on Show HN: A DOS-like hobby OS written in Rust and x86 assembly   github.com/krustowski/rou... · Posted by u/krustowski
MoonGhost · 6 months ago
> Rust and x86 assembly

then

> Memory-safe language.

What's the point? Looks like today Rust is like 3D printing was. As if it makes something better. Printing was hyped and advertised by printers sellers and manufacturers. Finally they run out of money.

As for project, it's cool if compatible with old soft. Otherwise suitable mostly for education and masochism. Long way to become practical anyway even if it gets traction.

krustowski · 6 months 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 enhancement of such system furthermore. It lacks the external program execution though yet.
krustowski commented on Show HN: A DOS-like hobby OS written in Rust and x86 assembly   github.com/krustowski/rou... · Posted by u/krustowski
snvzz · 6 months ago
The 16bit one also looks fun[0] and would run on old PCs the new one does not. Have you considered open sourcing that one?

0. https://krusty.space/projects/rourexos/

krustowski · 6 months 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 complex to even compile RoureXOS: it needs Borland TCC and TASM (ca 1989 btw) to properly build a 16bit executable(s). It is feasible to compile it using DOSBox though. Maybe some day I could open source that one repository too.
krustowski commented on Show HN: A DOS-like hobby OS written in Rust and x86 assembly   github.com/krustowski/rou... · Posted by u/krustowski
OhNotAPaper · 6 months ago
Out of curiosity, why x86? Is it the preponderance of resources? The weird instruction format? The complexity of the boot sequence? Are you specifically trying to mimic DOS?

> A support for the ARM architecture (aarch) is coming soon too.

Wow! How do you support a DOS-like OS across multiple architectures when DOS itself is tightly tied to interactions among the program, the system code, and the architecture?

krustowski · 6 months 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 multiple archs could be supported as Rust compiler allows the target arch specification, so one would build a specific target before the build itself.

krustowski commented on Show HN: A DOS-like hobby OS written in Rust and x86 assembly   github.com/krustowski/rou... · Posted by u/krustowski
mixmastamyk · 6 months ago
So MBR partitions? Or no partitions, like from a floppy? Or perhaps it doesn’t know because grub handles that part.
krustowski · 6 months 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.

u/krustowski

KarmaCake day115March 27, 2025View Original