• 13
• 27
• 9
• 9
• 20

# is celeron in the x86 family?

This topic is 3966 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi, I want to make an OS but the only extra comp that I have besides this one (which I don't want to mess up if the bootloader fails or something) is an old celeron machine. I was wondering if I could write assembly code for x86, and use it with a celeron chip. Thnks.

##### Share on other sites
Type "celeron" into google and be enlightened [smile]

##### Share on other sites
If you have to post here to find the answer to that question then I think writing your own OS may be a bit ambitious.

##### Share on other sites
Quote:
 Original post by mattnewportIf you have to post here to find the answer to that question then I think writing your own OS may be a bit ambitious.

lol sorry, yr rite i should have googled first, im just used to getting a straight answer from Game dev, btw writing the OS is totaly ambitious for me :)

##### Share on other sites
Frankly, I wouldn't even bother writing the OS for a real PC. It is so much easier to simply write and test your OS for a virtualized PC first, and then bother with the real hardware once you get it working on the virtual hardware. Far fewer headaches this way.

##### Share on other sites
Quote:
 Original post by MastabaFrankly, I wouldn't even bother writing the OS for a real PC. It is so much easier to simply write and test your OS for a virtualized PC first, and then bother with the real hardware once you get it working on the virtual hardware. Far fewer headaches this way.

Actually I might consider that, so something like Virtual PC 2007 from MS will do fine?

##### Share on other sites
Quote:
Original post by VanillaSnake21
Quote:
 Original post by MastabaFrankly, I wouldn't even bother writing the OS for a real PC. It is so much easier to simply write and test your OS for a virtualized PC first, and then bother with the real hardware once you get it working on the virtual hardware. Far fewer headaches this way.

Actually I might consider that, so something like Virtual PC 2007 from MS will do fine?

It will; however, I'd suggest you look into Bochs. It's an alright emulator -- it's a little slow, but it's also open source (which is genuinely useful; it's the one open source program where I've actually modified the source -- to give more information about the state in the debugging mode, and to give more useful information on panics) and can be compiled as a debugger. In general though, all emulators differ from each other and from real machines. It's a good idea to test on a variety of real systems, in addition to a variety of emulators. Just be prepared to spend days trying to get your code to work in all your test environments.

##### Share on other sites
Quote:
 Original post by VanillaSnake21Hi, I want to make an OS but the only extra comp that I have besides this one (which I don't want to mess up if the bootloader fails or something) is an old celeron machine. I was wondering if I could write assembly code for x86, and use it with a celeron chip. Thnks.

Yep, it's like a handicapped little brother of the x86.

##### Share on other sites
since were on the topic of OS dev i might as well ask the question here instead of starting a new thread..
How can I call a kernel from the bootloader, the strange thing is, theres plenty of tutorials on how to make a boot loader, and how to make kernels but none show how to actually load one from another, any extra tutorial sources are welcome, (I get most of the info from osdever.net). Thanks.

##### Share on other sites
Quote:
 How can I call a kernel from the bootloader, the strange thing is, theres plenty of tutorials on how to make a boot loader, and how to make kernels but none show how to actually load one from another, any extra tutorial sources are welcome, (I get most of the info from osdever.net). Thanks.

[BITS 32]; set up stack...; pmode jump to kerneljmp 08h:01000h