[Previous] - [Main menu] - [Next]
Build 0001

Master Boot Sector

Omega Discformat


Purpose

This code is loaded by the BIOS from either harddrive or floppy. This code must load the bootmanager code with the parameters at the end of the sector.


Assemble Code (NASM style)

;*****************************
;*  Omega Master Boot Sector *
;*  (C) 1999   LKT Software  *
;*****************************
;* Written  : 24/01-1999     *
;* Build nr : 0001
;*****************************

Start:
;-------insert code here --------

MBSData:
	DB	000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h  ; Starting LBA address of bootmanager
	DB	000h, 000h                                                  ; Number of sectors used by the bootmanager
	DB	000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h, 000h  ; Starting LBA address of Partition Data area
	DB	000h, 000h                                                  ; Number of sectors used the Partition Data area
	DB	014h, 002h, 000h, 000h                                      ; Signature - 14020000h