This was originally posted in the tutorials section of the site. It got moved to C++. I think Computer Science is more appropriate for it so it's being moved once again ;)
cscgal
The Queen of DaniWeb
19,422 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
infamous
Junior Poster in Training
77 posts since Mar 2004
Reputation Points: 47
Solved Threads: 2
can you create an os by using visual basic 6...? its all i've got....
I don't think you could do it with VB 6.
I don't think it has the neccesary access to the low-level functions that are required to build an operating system. If it had those, you'd need to compile the code to make it work.
From what I've seen, it's best to do the kernel and base progs in C and ASM, and then to do the base GUI stuff in C++. From there, use whatever else you want to do the rest.
alc6379
Cookie... That's it
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
Hi,
No, cannot use VB, as it is an interpreted language, meaning it needs libraries (Microsoft ones) to link into the program to complete the coding.
You could, using VB6, write a small virtual environment that might have some process control and that sort of thing. Ugly.
Best bet is C or C++. But then, you need to design a file system in order to get that kernel working. It is an undertaking!
Enjoy.
Christian
kc0arf
Posting Virtuoso
1,937 posts since Mar 2004
Reputation Points: 121
Solved Threads: 57
Hi,
No, cannot use VB, as it is an interpreted language, meaning it needs libraries (Microsoft ones) to link into the program to complete the coding.
You could, using VB6, write a small virtual environment that might have some process control and that sort of thing. Ugly.
Which, I'd imagine, you'd have to write in C or asm.
I dunno... that's kind of interesting, if you think about it-- an interpreted OS! Imagine, a system whose entire userland was comprised of interpreted scripts-- say, Python, for instance. The kernel could be a modified interpreter, which provided all of the I/O functions and process control, in addition to interpreting all of the scripts.
...I dunno... Think that'd be as slow as a dog, though?
alc6379
Cookie... That's it
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
Try 'EasyOS' to get started.. it comes with all you need.
However remember that you should try making your own version of DOS before you even think of trying to remake Windows...
Natso
Junior Poster in Training
51 posts since May 2004
Reputation Points: 10
Solved Threads: 1
Natso
Junior Poster in Training
51 posts since May 2004
Reputation Points: 10
Solved Threads: 1
Which, I'd imagine, you'd have to write in C or asm.
I dunno... that's kind of interesting, if you think about it-- an interpreted OS! Imagine, a system whose entire userland was comprised of interpreted scripts-- say, Python, for instance. The kernel could be a modified interpreter, which provided all of the I/O functions and process control, in addition to interpreting all of the scripts.
...I dunno... Think that'd be as slow as a dog, though?
i read in a MSDN blog about a C#.NET based system.
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
i read in a MSDN blog about a C#.NET based system.
Probably similar to Sun's approach wherein they had a small bootloader (written in C, IIRC) which would load the JRE and then treat the JRE as the OS
Infarction
Posting Virtuoso
1,580 posts since May 2006
Reputation Points: 683
Solved Threads: 53