I am making an OS that is written in BASIC. I know it is crazy, but I already started. I am wondering if anyone could help with anything like saving stuff/ loading stuff. I have my first part of the OS built but I haven't got the technical parts yet. It is, like Widows, over the DOS system. If you have any help, please post.
Good Idea?
BASIC OS
Re: BASIC OS
The mainstream languages for writing an OS are ASM, C, and C++ to some extent. This has several reasons I won't go into here.
Attempting to write an OS in some other language is usually attempted for one of two reasons:
1) Because author is intimidated by ASM / C / C++ and wants to do it in a "simpler" language. Dumb idea, because chosing a "simpler" language doesn't make OS development simpler, to the contrary. The simplest language to write an OS in is C, period.
2) Because author is proficient in several languages, has some knowledge on the requirements of a freestanding environment, and sees an architectural advantage in chosing a different language. Might work for you.
Please do not be offended when, looking at your post, I place you in category 1), which is why I voted "no". I might be wrong, and in any case I wish you much fun working on your project.
Attempting to write an OS in some other language is usually attempted for one of two reasons:
1) Because author is intimidated by ASM / C / C++ and wants to do it in a "simpler" language. Dumb idea, because chosing a "simpler" language doesn't make OS development simpler, to the contrary. The simplest language to write an OS in is C, period.
2) Because author is proficient in several languages, has some knowledge on the requirements of a freestanding environment, and sees an architectural advantage in chosing a different language. Might work for you.
Please do not be offended when, looking at your post, I place you in category 1), which is why I voted "no". I might be wrong, and in any case I wish you much fun working on your project.
Every good solution is obvious once you've found it.
When i started coding a OS i was into pascal , i thought anything C can do, pascal can do, i wanted to prove to the world that pascal was as good as C.
One of the ways of doing this was to code a pascal OS, but it turned out 90% inline asm, so in the end i thought i might as well go 100% asm, which i did.
So i would add a third reason to solar's list:
3. Because your pig headed and want to prove it can be done, and in most case's it as not been done for a reason.
One of the ways of doing this was to code a pascal OS, but it turned out 90% inline asm, so in the end i thought i might as well go 100% asm, which i did.
So i would add a third reason to solar's list:
3. Because your pig headed and want to prove it can be done, and in most case's it as not been done for a reason.