Help! (Didn't know were to put this...)

This is a discussion on Help! (Didn't know were to put this...) within the Windows Programming forums, part of the Platform Specific Boards category; I have a little bootloader thing, and all it does is initialize protected mode, then run "kernel32.bin". It workx great ...

  1. #1
    Registered User minime6696's Avatar
    Join Date
    Aug 2001
    Posts
    267

    Exclamation Help! (Didn't know were to put this...)

    I have a little bootloader thing, and all it does is initialize protected mode, then run "kernel32.bin". It workx great if I just run the loader from command prompt, but I want to know how to write to the bootsector of a floopy (make a bootdisk with my bootloader), without killing the filesystem on the floppy (kernel32.bin = a file?!).

    Can someone help? I've tried disk image writing thingz, but they write the the whole disk, not just bootsector?

    SPH

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    Right, why don't you just put this in the OS-dev board @ flashdaddee? I would answer it here, but it's way off-topic

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    49
    If you have debug you can try :

    C:\WINDOWS\COMMAND\debug.exe mybooter.whatyou want

    and then when debug has loaded it, type

    -w 100 0 0 1

    it will be written to the bootsector of the floopy

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Where do i put this?
    By hero_bash in forum C++ Programming
    Replies: 7
    Last Post: 06-12-2006, 03:21 AM
  2. How to put it into an array
    By HAssan in forum C Programming
    Replies: 2
    Last Post: 10-10-2005, 01:19 PM
  3. Combining user inputs to put into System()
    By TDMedia in forum C++ Programming
    Replies: 6
    Last Post: 09-08-2005, 12:00 AM
  4. cant figure out where to put the loop....
    By seal in forum C Programming
    Replies: 2
    Last Post: 08-30-2005, 10:10 AM
  5. What /what not to put in header files
    By Just in forum C Programming
    Replies: 1
    Last Post: 12-14-2002, 09:45 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21