BASICmaster wrote:In your own words, could you please explain what an operating system is?
operating system (OS) is software manages computer hardware and software and provides services for computer. operating system is a component of the system in a system.
BASICmaster wrote:What is it you actually want to do, and why?
i want create visual basic operating system because i do
shrug Fair enough. A lot of us here are of the 'climb the mountain because it is there' school, so you are hardly alone in that. Still, it doesn't hurt to ask, and getting a better idea of your goals does make it easier for us to answer your questions in a meaningful way.
The Visual Basic .NET part may be a bit of a problem, but given that there are others working in C#, DarkBASIC, and even some weird new dialect of Lisp thingy
, this isn't entirely unprecedented. It will make things harder, as you will need to do a lot of work (e.g., writing your own native
VB.Net compiler and/or
CLR interpreter for at least part of the system code) that wouldn't be necessary in (for example) C, assembly, D, or Ada, but not impossibly harder. I'm not sure if you really have a good idea of how much work you are looking at, though.
BASICmaster wrote:What is your motivation to write an operating system, and what do you intend it for?
i want create operating system in spare time like playing fifa
Hmmn, this could be a good thing or a bad thing. While most people here are working on their OS in their spare time, too casual an attitude may lead to frustration as you get deeper into the project. Only time will tell, I guess.
BASICmaster wrote:What programming languages do you know, and what experience do you have in programming?
i know visual basic 2015 visual basic 2012 visual basic 2010 and visual basic 2008 i do this in my spare time
As has already been said, the language is Visual Basic.NET; the specific dated versions of Visual Studio (2008, 2010, 2012, 2015) are just new versions of the compiler and Integrated Development Environment (IDE), not separate languages, though the newer compilers generally add to the language and the .Net Framework libraries.
In any case, you will definitely need to learn both Assembly and C before proceeding (note that this is
not the same thing as C++ or C#); being able to read C (which is used for most of the OS code examples available) should be sufficient, but you will need to write a significant amount of assembly code for OS work (about 5% of the kernel code, at minimum).
BASICmaster wrote:what is assembler language and how can i use this with visual basic 2015 can you please tell me the steps to do this.
Assembly language is a human-readable analog for the machine code (the instructions in binary executable format) of the computer. It is converted to machine code by a program called an assembler; historically, assemblers were the predecessors of high-level language compilers, and many compilers actually produce assembly language and then pipe the result to an assembler in order to produce an executable program. Is is more work writing assembly code, but there are some things in an operating system (task switching, memory management, some kinds of hardware access) which can only be done in assembly. There are several
assemblers for x86 processors (the CPU type used in most PCs, including pretty much all desktop Windows systems), with Microsoft Macro Assembler (
MASM) being the one which would probably work most readily with Visual Studio.
However, Visual Basic.NET programs don't actually produce machine code; they compile to an interpretable pseudo-machine bytecode, called IL, instead. The .NET Common Language Runtime (CLR) interprets the IL code, though it is often recompiles part or all of it to machine code right before running it instead (called Just In Time compiling). The fact that the Visual Basic.Net compiler doesn't produce native code (i.e., the actual x86 machine code) is one of the reasons why VB.Net is problematic when used for OS dev.