TightCoderEx wrote:
zehawk wrote:
I guess people are giving conflicting answers
Keep in mind these are the best responses you can get based on the question.
zehawk wrote:
I want to know a few things. Is it at all possible to render your entire PC unusable by a simple mistake in assembly? And if so, what ways is this done?
A none specific question like that is open to interpretation and I think each respondent has given you some valuable clues.
I understand your dilemma and probably the safest thing to do, is don't until you understand all the implications of what your about to do, no matter the platform, assembly or otherwise. Coding for an older system is sometimes more advantageous than you might think, as it has been mentioned, more documentation is available and it generally gives some insight into how and why something evolved in newer systems.
Oh, definitely. Conflicting answers is not a bad thing, as it's just people's personal preference it seems. Whereas someone above said that making a hard disk unwritable is bad, I just find it more as part of the learning experience. (So long as it isn't my main Windows hard drive, that is xD) I've already rewritten and reformatted my booting USB a dozen times. And the answer I was looking for to my question was what I got. Should I be targetting older hardware? Sure, sure. Should I be using a VM? Sure, sure. Should I be targetting a testbed that isn't my development platform? Sure, sure. But if I hadn't asked such a broad question, then I wouldn't have gotten the amazing answers I DID get, which helped to explain why some of these memory segments should be avoided, or how the BIOS works like it does. (And why rewriting certain segments, even though it may not permanently destroy my system, causes certain behavior. This information was very valuable for the learning process!)
I am going to get a new testbed eventually, and make sure that my os is stable enough before moving it over to my main dev system. Nevertheless, until then, I have realized that using my main system, so long as I adhere to the guidelines in
http://wiki.osdev.org/Memory_Map_%28x86%29, will not cause permanent damage. And even then, if I stray off (and don't mess up fan speed etc.), it still likely won't destroy anything because the BIOS will rewrite the values I messed up on the next reboot. (Again, insightful knowledge!)
So, the kinda non-specific question helped me shape my understanding. (Note, I did read the OSDev wiki article about memory managment prior to even creating an account on here, but the answers provided did clear up many questions I still had.)