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

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
Highwayman (962)

@sugarfi not necessarily...

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!

sugarfi (243)

@Highwayman good, looks like i still have time to finish my latest os...

Highwayman (962)

@sugarfi actually it looks like you’ll have forever...

Im not going to be improving this any more due to its inability to enter user mode.

Hope you get yours working I’m sure it’ll be awesome :)

CSharpIsGud (202)

@sugarfi Good luck with user mode, but don't just rush past gdt and forget about it as soon as you get segmentation working. do it right or you wont be able to finish it

sugarfi (243)

@CSharpIsGud I know. I just now got syscalls working, and I am going to set up a shell and then user mode.

CSharpIsGud (202)

@sugarfi user mode first, shells do not run in kernel space.