C++ Boot disk

Discussion in 'C++' started by IT Specialist, Mar 2, 2007.

  1. Any one has any code to create a boot disk in C++ for a pc with no
    operating system?
    IT Specialist, Mar 2, 2007
    #1
    1. Advertising

  2. IT Specialist

    John Doe Guest

    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.
    John Doe, Mar 2, 2007
    #2
    1. Advertising

  3. "IT Specialist" <> wrote in message
    news:...
    > 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...
    Chris Thomasson, Mar 2, 2007
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jas Shultz
    Replies:
    0
    Views:
    937
    Jas Shultz
    Dec 3, 2003
  2. ABC
    Replies:
    0
    Views:
    421
  3. Ken Kast

    Boot Drive

    Ken Kast, Apr 18, 2004, in forum: Java
    Replies:
    8
    Views:
    503
    =?UTF-8?B?IkRhcmlvIChkcmlua2luZyBjb++sgGVlIGluIHRo
    Apr 20, 2004
  4. Replies:
    5
    Views:
    527
    Roedy Green
    Oct 25, 2005
  5. Replies:
    12
    Views:
    510
    santosh
    Nov 15, 2006
Loading...

Share This Page