Share your repls and programming experiences

← Back to all posts
The best operating system on replit!
h
CSharpIsGud

I haven't posted in a while so here's a post.
This time I have paging working well and can read from storage to load programs and files.

I still need to work on a full graphics driver and getting to user mode as well as maybe implementing an actual filesystem format but it's getting there.

Oh yeah and I need to start fixing all those warnings...

(To make bochs start running it, type cont and then c, bochs complains because it can't find a sound device)

What should my next post be?
I was working on a terminal RPG game for a while until I started this.
I also made significant progress on my py to C++ compiler
The thought of making a real OS in py crossed my mind even with how cringe it will be.

Voters
HiImAPerson
LicKzDaGreaT
HENRYMARTIN4
ANDREWVOSS
Kuronicle
darkdarcool
roylatgnail
QuestionableNS
asyncvoid
TurtleAndrew
Comments
hotnewtop
Warhawk947

this is better than 90+% of whats on replit right now sheesh

PixiGem

THIS IS CRAZY! omg nice work! how long did it take u to do make this?

CSharpIsGud

@PixiGem 3 to 4 days most of which were spent fixing things that refused to work or reading what to do next

Yoplayer1py

@CSharpIsGud is it supposed to show nothing?

CSharpIsGud

@Yoplayer1py press c and then enter

Yoplayer1py

@CSharpIsGud got it gg didn'y read reademe lol

HENRYMARTIN4

@CSharpIsGud I would love to see an os written in python! I'm working on exactly that: a python to assembly compiler!

RaidTheWeb

@HENRYMARTIN4 this sounds like a great idea and I hope it works out so the community can use your amazing tool. :D

HENRYMARTIN4

@RaidTheWeb Oh! Thanks! I made a github, but the repo is empty right now. I'll be updating it in a few mins. https://github.com/HENRYMARTIN5/Py2Assembler

LeGamer4

gg just gg

angrydoge

poggers.

StringentDev

Nice. Can I help you with this. It is something im actually geniunely interested in. And im perfectly fine with learning C.

I can actually tell you some hardware details on the workings behind VGA (Video Graphics Adapter) so you can create a fully working UI like most distributions. Albeit we need a fully working kernel first.

TonyWu4

the poggest of the pog programs in repl

HaseefMinhas

bIg ShaQ

HaseefMinhas

smoke trees

HaseefMinhas

big man

ANDREWVOSS

Just out of curiosity, how could I create/add more programs for this OS?

ArmorCodedItLol

POG

RaidTheWeb

hello again :)

lolcrafter

wow

JacobMcPherson1

your posts are always so cool

[deleted]

Good job.

mollthecoder

Cool but backspace isn't implemented.

RaidTheWeb

@mollthecoder Back space is generally hard to implement, from personal experience it took me about a week. I'm sure @CSharpIsGud can achieve this relatively easy if they put their mind to it.

haotinghuang

?

staticvoidliam7

bro this is sick

HrushalNikhare

POG?

ta12replit

@HrushalNikhare *YUMPAPAUARARI

Jessica0519

This makes no sense! What? Blank? Hope you check for some bugs.

CSharpIsGud

@Jessica0519 Read the readme

rishibdev

wow

QuickV

POG

just...

POG

17lwinn

If python could be ported to the OS, then that would be great! Might take a lot of space however :/

https://wiki.osdev.org/Porting_Python

RaidTheWeb

@17lwinn Space is quite likely not the problem here, instead it's a matter of a full libc/libstdc++, a well suited POSIX userspace enviroment, and a cross compiler with a custom sysroot.

17lwinn

@RaidTheWeb True, but if you think of a python installation plus all that in repl. You'll soon run out- it can probably be done locally but even then its a pain

RaidTheWeb

@17lwinn fair enough, usually python isn't too big but a standard repl is pretty low end.

arjun418

Howd you make this? Was it hard?

NextLevel3

it must be trending keep it up
[ redacted by moderators for advertising ]

angrydoge
FlaminHotValdez

DAYUM

EpicGamer007

Amazing as always :)

notTussiez

Wow!
Can this be run on a desktop?

RaidTheWeb

@notTussiez yes. it in fact can, just grab an emulator likes Bochs (in use in this project) and obtain the image file for the OS presented in this post. Then you may run it locally. If you meant "can it be run on real hardware" that is hard to answer for sure as hardware can vary immensely.

notTussiez

@RaidTheWeb Hmm, was thinking about physical hardware.

notTussiez

@RaidTheWeb Would require drivers, tho

RaidTheWeb

@notTussiez yes, but the drivers actually have to be built in to the OS, and the OS supports most of the things required anyways.

RahulChoubey1

like the os, but hard to use ngl

(also, can you teach me how!?)

RaidTheWeb

@RahulChoubey1 The process for OSDev is pretty complicated, but if you really insist and are willing to spend hours tweaking various pieces of code just to do a simple task, here are some resources!

Hope these can help you out ;)

PixiGem

and yes, why don't you build any node projects?
~ That would be awesome! or maybe try out the unity game engine! unity uses C# to make games, you can also export it onto the web so that everyone can play your games! and ofc ur name spells out C# ~
don't ask me why I put '~'.
it makes the sentence more polite

CSharpIsGud

@PixiGem node is good for servers and discord bots and that close to the limit of things you would practically want to do with it.
I can't model or animate anything so there isn't any point for me to use any game engine.

PixiGem

@CSharpIsGud bruh. you can use the unity asset store~
unity asset store contains all the assets for a good game! GG
it has animations and models! just import em and start coding~
some assets are free while others are paid

CSharpIsGud

@PixiGem Using some predefined model and animation restricts you in what you can make.

StringentDev

@CSharpIsGud I agree with you on node but it can do desktop apps as well. im building a pl with it and i will bundle it to the web too.