OS on OS
OS on OS
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?
Re: OS on OS
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
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
Re: OS on OS
Or you might search for a basic dialect that needs less "runtime support" (aka windows)
*post*
Re: OS on OS
gaf,Im learning C but i like vb. Im also learning pascal and asm. I like pascal best for it is easy to use.
Re: OS on OS
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
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
- carbonBased
- Member

- Posts: 389
- Joined: Sat Nov 20, 2004 12:00 am
- Location: Wellesley, Ontario, Canada
- Contact:
Re: OS on OS
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
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
Re: OS on OS
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
And realy? a VB.Net compiler for linux?
There's another tool called Gambas for linux that is very much like VB
Re: OS on OS
Ok so it is basicly impossible
Re: OS on OS
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..
I learned asm while building my OS..
Re: OS on OS
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 
Re: OS on OS
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.
Re: OS on OS
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?
Re: OS on OS
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
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 
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
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
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
Re: OS on OS
Thanks!!! Im going to try it. The only thing is im putting it on a computer without a internet conection
Re: OS on OS
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!
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!



