OS on OS

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
ZOSdever
Member
Member
Posts: 79
Joined: Thu Mar 31, 2005 12:00 am
Contact:

OS on OS

Post by ZOSdever »

Im fairly good at a proggramming lang. called visual basic. I know it needs to run off windiws but could there be any why to make it so that a coulcompress or take a part out of windos to run an os written in vb?
User avatar
gaf
Member
Member
Posts: 349
Joined: Thu Oct 21, 2004 11:00 pm
Location: Munich, Germany

Re: OS on OS

Post by gaf »

Hello
I doubt that it can be done and, even if it was possible, it wouldn't be worth all the trouble. Why don't you just learn C ? If you already have some experience programming in VB, it shouldn't be that hard and, since C was developed for the sole purpose of writing an OS (unix), it'd be a much better choice.

regards,
gaf
Legend
Member
Member
Posts: 195
Joined: Tue Nov 02, 2004 12:00 am
Contact:

Re: OS on OS

Post by Legend »

Or you might search for a basic dialect that needs less "runtime support" (aka windows)
*post*
ZOSdever
Member
Member
Posts: 79
Joined: Thu Mar 31, 2005 12:00 am
Contact:

Re: OS on OS

Post by ZOSdever »

gaf,Im learning C but i like vb. Im also learning pascal and asm. I like pascal best for it is easy to use.
Kimm
Member
Member
Posts: 50
Joined: Wed Nov 03, 2004 12:00 am
Location: Sweden

Re: OS on OS

Post by Kimm »

writing an OS in VB can be describled in one word: Impossible!

first off: it allways requires the Microsft Visual Basic runtimes

secund: no mather how you do it; you "OS" will allways only be a program using system calls in windows

third: This has been tried before, every single time it has been chased of as an idiotic project since its realy nothing more then a shell
User avatar
carbonBased
Member
Member
Posts: 389
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

Re: OS on OS

Post by carbonBased »

It's not necessarily impossible...

But it would involve rewritting the Basic language and extending it in order to be useful as an OSDev language. This work would, most likely, be done in C and, had you actually done so, you would've basically already written a kernel in C already, with a basic interpretter on top of it, so what's the point?

Btw, while we're on the topic, there are visual-basic like languages on several platforms, not just windows. And, thanks to Mono, there's also a VisualBasic.Net (byte code) compiler for Linux.

--Jeff
Kimm
Member
Member
Posts: 50
Joined: Wed Nov 03, 2004 12:00 am
Location: Sweden

Re: OS on OS

Post by Kimm »

well, that ofcourse, if you write a compiler for Basic that makes flat binaries then you can write an OS in it but thats just unnessesary...

And realy? a VB.Net compiler for linux?
There's another tool called Gambas for linux that is very much like VB
ZOSdever
Member
Member
Posts: 79
Joined: Thu Mar 31, 2005 12:00 am
Contact:

Re: OS on OS

Post by ZOSdever »

Ok so it is basicly impossible
User avatar
bubach
Member
Member
Posts: 1224
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re: OS on OS

Post by bubach »

ZOSdever: Why don't you start doing some experiments with the sourcecode provided in http://osdever.net/ 's tutorials?
I learned asm while building my OS..
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Kimm
Member
Member
Posts: 50
Joined: Wed Nov 03, 2004 12:00 am
Location: Sweden

Re: OS on OS

Post by Kimm »

dont feel bad about it though, I did some research about writing OS's in VB back what I was using it aswell, but now I'm a complete Linux user whith no contact with MS what so ever (that is, at home.... bloody school) so my main and basicly only language in use atm is C++, for GUI's I use Glade that generate GTK source code for my projects (ofcourse not OS projects), simple :)
ZOSdever
Member
Member
Posts: 79
Joined: Thu Mar 31, 2005 12:00 am
Contact:

Re: OS on OS

Post by ZOSdever »

QUESTION.you use linux, right?yes ok.I use windows. I tried to install suse linux but it needed reneu.msi or somting like that. do you know what it is and how to fix it.
ZOSdever
Member
Member
Posts: 79
Joined: Thu Mar 31, 2005 12:00 am
Contact:

Re: OS on OS

Post by ZOSdever »

And ZOS is now asm only no pascal,c or anything just asm. To be specific nasm. I tried fasm but all the tutorials and junk is for nasm so im using nasm or yasm. I like yasm. but fasm is so simple(the layout). So should i use fasm,yasm(likely),or nasm?
Kimm
Member
Member
Posts: 50
Joined: Wed Nov 03, 2004 12:00 am
Location: Sweden

Re: OS on OS

Post by Kimm »

no idea.

As when it comes to the Linux question... is that an error inside linux or windows? as far as I know *.msi files stand for: MicroSoft Installer and the day I see microsoft making those for linux is the day I die ;)

I dont realy have any experiance with SuSE but if you want a good easy to use Linux distro I'd suggest Ubuntu!since its based on Debian it has apt-get and almost any software in its repositories (this means... if your missing a library... or perhaps an IDE like anjuta, you type: apt-get install anjuta, the program then downloads and installs the program), it also comes with firefox by default, and, this is the juicy part ;) they ship CD's for free, free of charge they even pay for shipping!! I just got my CD's like three days ago, it includes a LiveCD that, if you put it in the CD-Rom drive whilst in windows will launch a program with the windows version of free Open Source, great software that comes with the Dist.

It also has the best community I have ever seen!!

If you dont like GNOME I suggest you download (or order...) Kubuntu with is basicly the same just with KDE and its made by the same team ofcourse!

I'm currently using Ubuntu and its great, its the best Dist I have ever used, the packaging system is just marvelous and the program called "alien" allows you to convert *.rpm and *.tgz packages to *.deb packages so you can install them on your system.

www.ubuntuguide.org is also the best user guide in history!! It makes installing a jre easy as pie :P

if you use MSN you can add me, I'm online most of the time and I'd be able to help you with any problems you may face after installing your new OS :) (if you get problems with screen res. I can help with that to ;)
ZOSdever
Member
Member
Posts: 79
Joined: Thu Mar 31, 2005 12:00 am
Contact:

Re: OS on OS

Post by ZOSdever »

Thanks!!! Im going to try it. The only thing is im putting it on a computer without a internet conection
Kimm
Member
Member
Posts: 50
Joined: Wed Nov 03, 2004 12:00 am
Location: Sweden

Re: OS on OS

Post by Kimm »

no no no, dont do that, then the system cant install properly...
The CD only installs a base system it then requires an Internet connection to download and install additional up-to-date software and almost all applications, so, you need an internet connection!
Post Reply