Share your repls and programming experiences

← Back to all posts
VolantOS - An operating system made with Volant (Check the jam section)
h
CSharpIsGud (582)

Okay, so I'm sure you have all seen ReplOS a while back. I decided to give OS Dev another shot, except this time I'm using a jam language (Volant)!
I'm not part of the team of Volant but it seems like a neat low level language.

What this is

This isn't one of those fake operating systems you see that simply chain a bunch of if statements together, this is a real functioning operating system you can compile and run on a physical computer!
I installed QEMU(x86 emulator) on the repl so you can simply press run and see how limited it is right now.

Commentshotnewtop
sugarfi (522)

Always nice to see more OSDev!

AJDevelopment (50)

@CodeSalvageON Yeah I like OS Dev. (proceeds to hide piles of raspberry pies for programming)

dabombdgdzjr (28)

yeah its always interesting! proceeds to hide failed repls @AJDevelopment

dabombdgdzjr (28)

ok @AJDevelopment (akward silence intensifies)

RohilPatel (1179)

Why don't things like this get more attention?

mwilki7 (1104)

@RohilPatel I'm starting to think people are more likely to upvote familiar faces versus impressive repls.

RohilPatel (1179)

This is the second time I've upvoted him; C sharp never directly tells anyone to upvote his post, but I know the difference between quality and not (no offense to you by any means) @mwilki7

CSharpIsGud (582)

@mwilki7 I can barely tolerate reading repl talk just because someone that makes a cycles celebration gets like 40+ upvotes free for doing almost nothing at all.

I spend so much time making decently sized repls and they never get that many upvotes.

Meanwhile everyone else just steady churns out easy and fast projects everyone's already seen before and get tons of upvotes every time.

RohilPatel (1179)

Honestly, at the rate of this post, it might hit trending @CSharpIsGud

fuzzyastrocat (663)

@CSharpIsGud Agreed! Sometimes you see some cool projects where it's apparent lots of work have gone into them (i.e, this, the Sliders game a little while ago) but a lot of the time it's just simple projects made by someone who already has tons of cycles. And because of that, everyone upvotes.

EpicGamer007 (551)

@CSharpIsGud, I don't think you should care about cycles that much though... Also, would you consider me someone who churns cycles?

CSharpIsGud (582)

@AbhayBhat The ReplDB client looks nice. But like when cycle celebrations paired with some art generated by code or something gets more upvotes than something that took an entire day of constant debugging it is hard not to care about cycles.

EpicGamer007 (551)

@CSharpIsGud, i see, i understand, thanks for the feedback!

potatojs (801)

thanks and...you are maybe right i worked on that project for 2 hours..
but that doesn't mean that all of my posts just get 40 upvote just like that
some posts that i spend weeks working on got literally no upvotes but others that i made in hours get a hundred it is just luck you should not be very obsessed by upvotes because by experience you are going to be very demotivated very fast ;)
@CSharpIsGud

CSharpIsGud (582)

@potatojs its fate's choice who gets the 40 upvotes, but someone will 👀

potatojs (801)

lol no it's luck :)
and some cycles @CSharpIsGud

fuzzyastrocat (663)

@potatojs @CSharpIsGud That is true, it seems like you just have to have the right post at the right time (i.e, when lots of people are checking) to get cycles. Once you get on the hot board, it's a snowball effect — getting the cycles puts you on the hot board, which gives you more cycles, which keeps you on the hot board...

potatojs (801)

TRUE but i thing i start understanding how to get a lot of upvotes..

  • fancy titles
  • share it when everyone is not sleeping aka the afternoon
  • and be kind in the comments because sometimes people upvote just because you are nice with them and they can unupvote just because you are not kind with them
    @fuzzyastrocat
fuzzyastrocat (663)

@potatojs Oh no, is that last bullet point directed at me... whoops sorry

potatojs (801)

oh no i not mean any one with the last one lol @fuzzyastrocat

JacksonPhilips (62)

Still boots faster than a Windows.

[deleted]

makes bootable usb stick with ISO

C0BR4 (0)

You, my friend, could be on to something big.

ZDev1 (628)

This is too late, but what language do you use to make an operating system? (Except Volant)

DungeonMaster00 (130)

hint: if you are using ubuntu moving the mouse in the os screen will be much cleaner

i know because i recently made a bootable usb stick

DiveshTheReal (3)

not working stuck at Booting

LoganSpong (45)

For a second I thought you made Volant, and you were self advertising. So glad you didn't.

DynamicSquid (3566)

Hi! Quick question... Can I download and run this on my computer? I'm on Windows 10.

CSharpIsGud (582)

@DynamicSquid I think bochs has a windows download, vmware might work

DungeonMaster00 (130)

i really need to make one of these someday

CoolGuy27 (27)

Hey this looks awesome, and I can't understand half the code but just wanted to let you know, I got this error

len4 (1)

I am back and I have started to work on my own OS. I used your repl OS as a template and I am making good work on the python inteprator too. For your repl os template, how would I be able to run other C files? I want to make it so you can type in the shell: RUN myprog.c; Thank you if you can help.

CSharpIsGud (582)

@len4 If you mean in the OS itself, unless you feel like writing your own C compiler or even a C interpreter you wont be able to do that. The closest you can get is calling a function when its used with certain hardwired parameters.

len4 (1)

@CSharpIsGud ok. Then how will I be able to run another compiled file. For example in kernal the user will do something and because of that action it will run another compiled script(kernal1)

CSharpIsGud (582)

@len4 Compile it as a flat binary and find some way of loading it into memory, or give it their own unique main functions and compile it with the kernel

HarperframeInc (344)

Hey here's a new challenge for you- make the CPython interpreter into an OS

CSharpIsGud (582)

Should I even try to get python running on one of these?

fuzzyastrocat (663)

@CSharpIsGud It would be pretty hard, but it would be really cool! Even if it's just a sort of proto-python, it would still be worth it in my opinion.

len4 (1)

Can you get an OS to run python. That would be a life saver if someone figured that out. My language runs of python

CSharpIsGud (582)

@len4 Python has no way of addressing memory on its own, and it's interpreted.

len4 (1)

@CSharpIsGud I know that. I was just wondering if someone could put C on the O.S. and then put python on top of that because python was made on C. I would do it myself but it has been so long since I worked with assembly.

CSharpIsGud (582)

@len4 You would have to write a whole new interpreter that used 0 standard libraries.

herbertju (3)

This is CRAZY! Absolutely amazing.

MocaCDeveloper (313)

You think we could work together and make one in C?
I have attempted before but gave up, I would love to try it again!!

MocaCDeveloper (313)

@CSharpIsGud Correction, it doesn't have to be in C, it can be in a language you're comfortable with as well!
And just let me know when you want to start, I am real interested into this type of stuff and I am pretty much available all week, so just let me know when you're ready and I'll be ready to learn/do some OSDev!

CSharpIsGud (582)

@targetfanttthat I'm ready whenever you're ready, I don't really have anything else to do rn

MocaCDeveloper (313)

@CSharpIsGud Oh alrighty then. Lets do it right now then..quick question, what language are we doing it in?

MocaCDeveloper (313)

@CSharpIsGud I write C 99% of the time, but I came to you so whatever you prefer!

MocaCDeveloper (313)

@CSharpIsGud Alrighty just invite me to the project. And are you familiar with C?

CreateAWebsite (4)

@CSharpIsGud how long did it take you to code this?

CSharpIsGud (582)

@CreateAWebsite A day, most of it was spent debugging.

CreateAWebsite (4)

Me who cant even type that fast in a day, much less understand what im doing:

CSharpIsGud (582)

@CreateAWebsite Most of the time was spent figuring out why it wasn't working.

The most I've done in a day is probably this at 1,466 lines https://repl.it/talk/share/A-semi-functional-Lua-Interpreter/25522
I should maybe rewrite it to remove bugs and maybe make it usable for something like web dev?

CodeLongAndPros (1359)

Alas, I only have one upvote to give you.

PlaySoccer (34)

I couldn't check this out because it took to long to load

CSharpIsGud (582)

@PlaySoccer Of course it takes a long time to start compared to other repls, its an operating system

Wilke000 (485)

Sweet! this is awesome!

Highwayman (1358)

This looks sick I hadn’t seen Volant before this so that was also a nice surprise.

Codemonkey51 (865)

I have 1 question what file (and line) is where you print the hello world (just want to expirement a bit kthx)

DynamicSquid (3566)

That's crazy ok. Well done! What are the basic steps of making a OS?

CSharpIsGud (582)

@DynamicSquid

  • Install nasm
  • Install an emulator
  • Code
  • Make bash script to compile it
CSharpIsGud (582)

@DynamicSquid Or bochs, bochs is recommended as qemu doesn't have good debugging capabilities. I couldn't get bochs running on repl.it so if you are making an OS you want to download it and compile on your own machine with bochs installed. If you don't you will never get anything working if you run into a problem.