;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;                                                                    ;;
;;  BootUSB                                                           ;;
;;                                                                    ;;
;;  Bootsector compatible with USB Drives designed for Menuet OS      ;;
;;                                                                    ;;
;;  Version 0.1  07 June 2007                                         ;;
;;                                                                    ;;
;;  This bootsector was designed for use with MenuetOS it was also    ;;
;;  designed to be compatible with Fat16 formatted USB memory sticks. ;;
;;  The copyright statement is                                        ;;
;;                                                                    ;;
;;          GNU GENERAL PUBLIC LICENSE                                ;;
;;             Version 2, June 1991                                   ;;
;;                                                                    ;;
;;  remaining parts Copyright 2007 Jason Delozier,                    ;;
;;   jason@delozier.org                                               ;;
;;                                                                    ;;
;;  See file COPYING for details                                      ;;
;;                                                                    ;;
;;  Todo:                                                             ;;
;;    Use bios call to copy memory instead of using Unreal mode.      ;;
;;                                                                    ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

To install the bootsector to your Fat16 formatted drive first open the Bootsector.bin file in a hex editor.
Select and copy all hex data starting at offset 0x3E and continuing to the end of file 
(Starting with value 0xFAFC).  Next open your disk drive in the hex editor and highlight the 
same amount of data at the same starting address then paste the previous copied data into it then
save the changes.  The bootsector is now installed to your drive, Next you need to copy the Kernel.MNT
and the Kolibri.img files to the root directory of the drive.  Dont forget to make sure the first 3 bytes are
also copied from the BootUSB.bin to your drive.

The current official release of MenuetOS does not support booting into a previous loaded image therefore
this bootsector is not 100% compatible with the official release of MenuetOS.