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

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
CSharpIsGud (207)

@JordanDixon1 C and C++ compile to assembly, which is why you can use them in OS Dev. There are projects like Cosmos which allow you to use C# and some others which let you use languages that don't normally compile to assembly. but all of those projects you will find they compile the language to assembly first