C++ Boot disk

I

IT Specialist

Any one has any code to create a boot disk in C++ for a pc with no
operating system?
 
J

John Doe

One must write one's own boot sector - then you can use an old dos
real-mode code producing compiler for real-mode code and if you switch
to protected mode you'll need some custom protected mode library or
provide DPMI later on - and be able to use DJGPP-generated code.
 
C

Chris Thomasson

IT Specialist said:
Any one has any code to create a boot disk in C++ for a pc with no
operating system?

Why would you want to use C++ for a bootloader!? I hope you don't expect to
be able to use any standard C calls in there, unless your willing to use the
bootloader to piece together an environment that can implement a little
custom C library you write for your OS...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,148
Latest member
ElizbethDa
Top