The boot.asm program was designed and written to be an easier method of using and installing the popular loader.asmcode. It is a simple program which gets linked with the loader object module to become a DOS executable file that installs the loader on either the A: or B: floppy disk drive.
The purpose of this program is to allow a programmer to quickly create a bootable floppy disk which boots to his or her own code.
When you have built and installed the code, you will have created an executable file boot.exe (from boot.asm) which installs the boot loader on a floppy disk. Using this, you will create a floppy disk which contains a bootloader (loader.asm) and an operating system stub (beroset.asm) which you may then replace with your own code.
This code is designed for use with Borland's TASM only. When I built this code, I used
If you're using the Makefile, the build process is extremely simple. Just type "make install" and everything will automatically build and install, as long as you have boot.asm, loader.asm and beroset.asm all in the same subdirectory.
If you're not using make, you can simply run loaderkit.bat which will automatically build everything for you. Before you run the batch file, you should be sure you read it and understand what it's doing. It will overwrite the boot sector on your floppy disk without prompting, so please be sure that's what you want!
The boot.asm code is very simple, so I won't describe it here, but the interesting parts of the loader and operating system stub are described on this page.
Last modified: Fri Mar 9 17:25:13 2007