
	 Steel Cap Boot
	-==============-
	
	A file system independent, dual use Master Boot Record/Boot sector. 
	Uses the partition table when booting as a MBR without a valid boot
	loader sector. Allocates space for a BIOS Parameter Block, supports 
	FAT12/16/32 and NT BPB. Includes support for 48 bit partition tables 
	(uses C/H/S data area).

 License:	
-========-

	Released as Public Domain Software.

	No Warranties expressed or implied.
	
 Changes:
-========-	

	v0.0.1		2010-05-27
	First release

	v0.0.2		2010-06-13
	Renamed boot.inc to scboot.inc.
	Loads a 32KiB boot loader at 0x000:1000.
	The top of stack is now set at 0x0000:1000.
	Now varifies boot signature at extreadseg:extreadoff.

 File List:
-==========-

	boot.inc	An asm include file
	bootsect.ld	The boot sector linker script
	loader.ld	The boot loader linker script
	makefile	The makefile
	readme.txt	This read me text
	scboot.s	The Steel Cap Boot source code
	scbtest.s	The test file source code

 Instructions:
-=============-

	 Compile (linux):
	-================-
	
	Run 'make' from the command line and the following 4 files will be
	built:
	
	bootsect	The compiled boot sector
	loader		The compiled boot loader
	fd0.img		A 1.44MB floppy disk image
	hd0.img		A 20MB hard disk image
	
	 Custom Compile:
	-===============-
	
	scboot.s:
	
	Set extreadoff, extreadseg, extreadcnt and loadsect to the values
	needed for your disk image.

	Set the BPB sectsz, blksectcnt, trksectcnt, headcnt and volsectcnt to
	the values needed for the size of your disk image.
	
	loader.ld:
	
	Set BASE to the same extreadoff value in scboot.s.
	
	makefile:
	
	Set the sector seek values for the boot sector (usually 0), the boot 
	loader and the disk size.

	 Installing to Disk:
	-===================-

	Write to the first sector of a disk/partition as a Boot Sector. Include
	the boot loader sector, sector read count and load address.
	
		or
		
	Write to the first sector of a disk with partition data as a Master Boot
	Record. Include the partition table. Optionally include the boot loader
	sector, sector read count and load address.
	
	 Disk Install Requirements:
	-==========================-

	The device must include a valid boot loader sector when not being used
	as a MBR.
	
	The BPB must include valid values for headcnt, sectsz and trksectcnt
	for C/H/S BIOS disk reads.

