CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010
    Posts
    1

    [ask] bootloader on flashdisk

    did someone ever tried to code first stage bootloader that bootable on flashdisk with FAT32 format? Thanks

  2. #2
    Join Date
    Jul 2007
    Location
    somwhere nearby
    Posts
    150

    Re: [ask] bootloader on flashdisk

    i've done it for fat12.
    basically the principles are the same,
    all you need to do is writting a fat32 driver and read the bootloader using that.for this you'll need to know the fat32 structure .(you can use google for this)
    or you can also do the simplest possible method for the first stage bootloader .and that is hardcode the bootloader , i mean just place your first bl in a specific sector ( for example sector number 120) ,and read that sector and load its contents to the ram and then you are done .(though using this method you will face some hassles ).
    i would prefer the first solution though .
    hope this helps.
    Last edited by Master.; December 20th, 2010 at 05:01 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured