Looking for a strategy on my next project...
Posted: Mon Oct 31, 2011 12:36 pm
Hello, and this is my first post here, a pleasure to have entered the community...
I am still plotting out a small virtual machine that I've loosely been fumbling with the past three or four weeks, it is mostly in C++ (coded for Visual Studio). While no where near finished, I've been reconsidering where I want to go with this project, and have a few questions I would like to ask.
Before I do however, some background might be appropriate, there are a few facts that might change the outcome to my questions. I have not really done much in the way of assembly since the days of 8- and 16-bit machines, I expect a lot has changed, and as I understand it, making a boot-loader almost entirely requires things to be written in assembly. To further make my life difficult, I really want to work with long mode, since my machine has 24 GiB.
My goal, is to eventually get this virtual machine into a kind of toy operating system, which I can boot off of my USB, eventually I will want network, disk access, and optionally screen/keyboard as the main components. I'm not really making this program for distribution, more for my own personal fun.
My questions: Does evading an operating system increase performance of the assembly, is it fast than MSIL, or even nux*?
What are your opinions on shifting this project to a bootable OS? I got the time, patience, and determination(well - questionably the determination), should I even be considering this, as an educational process? or should I just put up with the pro's and con's of other OSes?
I'd be very happy to learn long mode assembly, how much of protected mode is required learning for this?
Any further things you would like to add?
As a side-note, I looked at some of the code required to boot into long-mode, I double checked it, and tried it on two machines, both computers simply just kept reseting on boot, is there any obvious reason for this?
I am still plotting out a small virtual machine that I've loosely been fumbling with the past three or four weeks, it is mostly in C++ (coded for Visual Studio). While no where near finished, I've been reconsidering where I want to go with this project, and have a few questions I would like to ask.
Before I do however, some background might be appropriate, there are a few facts that might change the outcome to my questions. I have not really done much in the way of assembly since the days of 8- and 16-bit machines, I expect a lot has changed, and as I understand it, making a boot-loader almost entirely requires things to be written in assembly. To further make my life difficult, I really want to work with long mode, since my machine has 24 GiB.
My goal, is to eventually get this virtual machine into a kind of toy operating system, which I can boot off of my USB, eventually I will want network, disk access, and optionally screen/keyboard as the main components. I'm not really making this program for distribution, more for my own personal fun.
My questions: Does evading an operating system increase performance of the assembly, is it fast than MSIL, or even nux*?
What are your opinions on shifting this project to a bootable OS? I got the time, patience, and determination(well - questionably the determination), should I even be considering this, as an educational process? or should I just put up with the pro's and con's of other OSes?
I'd be very happy to learn long mode assembly, how much of protected mode is required learning for this?
Any further things you would like to add?
As a side-note, I looked at some of the code required to boot into long-mode, I double checked it, and tried it on two machines, both computers simply just kept reseting on boot, is there any obvious reason for this?