BASIC OS

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
Post Reply

Good Idea?

Yes
12
31%
no
27
69%
 
Total votes: 39

frocreator
Posts: 1
Joined: Sat Mar 08, 2008 11:25 am

BASIC OS

Post by frocreator »

:D 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?
SpooK
Member
Member
Posts: 260
Joined: Sun Jun 18, 2006 7:21 pm

Post by SpooK »

I think someone is already trying to do so with FreeBASIC, you may want to look for that/those project(s) and help out with them.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

What do you want your OS to run in realmode or pmode ?, i think your best do the basic parts, say in asm (some parts you will need to anyway) and than maybe writing a basic interpeter, built in to the shell.
User avatar
xyjamepa
Member
Member
Posts: 397
Joined: Fri Sep 29, 2006 8:59 am

Post by xyjamepa »

Good luck... :wink:
The man who follows the crowd will usually get no further than the crowd.
The man who walks alone is likely to find himself in places
no one has ever been before.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

It is, like Widows, over the DOS system.
I wouldn't really call a replacement shell for DOS a true OS, but yes, its possible. Assuming QuickBasic, it'll be slow as hell too :(

But tell us more, we don't all have an extra inner eye and a crystal ball to look for answers :wink:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: BASIC OS

Post by Solar »

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.
Every good solution is obvious once you've found it.
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

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.
Post Reply