ReplOS - A *REAL* Operating System on repl.it!
h
CSharpIsGud (257)

With pure C and Assembly. This is very quirky, I had to change a lot of stuff moving it onto replit.

Due to the way I did gdt setup and other things I couldn't actually get paging or switching to user mode to work. I still made what was essentially a "user program" but it cant even be loaded on replit!

Im not going to be improving this any more due to its inability to enter user mode. After I failed paging I intended to just use segmentation but without being able to enter user mode users could just change their own segments to anything they wanted. The only way to implement user programs now is some kind of interpreter embedded into the kernel.

You are viewing a single comment. View All
SixBeeps (1451)

Ooo, fancy. I like the idea of a windowed terminal.
Though, I wouldn't call this a real OS because that would imply that it is a bootable image on the computer, not just some overlay program.

CSharpIsGud (257)

@SixBeeps This is a real bootable OS, QEMU is an emulator. No implying necessary because it IS a bootable image on a computer.

SixBeeps (1451)

@CSharpIsGud Oh, my bad. I thought QEMU was just some sort of console application. Good work with this!

Foster_Bryant (97)

@CSharpIsGud How would I go about making an OS that has a UI and stuff and not just a kernel?

CSharpIsGud (257)

@Foster_Bryant https://wiki.osdev.org/Drawing_In_Protected_Mode https://wiki.osdev.org/VGA_Resources
But this is something reserved for after you already have stuff like paging, user mode and interrupts.

Foster_Bryant (97)

@CSharpIsGud thx, any sources for were you learned OS development? I have an assembly book but idk where to start on os development