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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top