Some info

May 16, 2012 at 7:23 PM

Hi, I made an OS and I want from the OS to give some info about the computer.

Like processor info (ID, manufacturer and etc..) and so the other things in the  computer, like RAM and etc....


I'm wondering if I can check from my OS is there is a hard disk connected to it or now, Just want to check if it's connected.

Thanks for any help.

May 17, 2012 at 2:52 PM

In order to get the processor info, you'll need to know at least a little assembly, look into the cpuid instruction. The other things have various methods to access them, some use IO ports, some use memory Read/Writes (hate the things that use that mechanism), some even use MSR's (Model Specific Registers), so you'd have to probe for each type of device indivually.