;------------------------------------------------------------------------------\r
;*\r
-;* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+;* Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
;* This program and the accompanying materials \r
;* are licensed and made available under the terms and conditions of the BSD License \r
;* which accompanies this distribution. The full text of the license may be found at \r
nop\r
\r
OemId db "INTEL " ; OemId - 8 bytes\r
-; BPB data below will be fixed by tool\r\r
+; BPB data below will be fixed by tool\r
SectorSize dw 0 ; Sector Size - 16 bits\r
SectorsPerCluster db 0 ; Sector Per Cluster - 8 bits\r
ReservedSectors dw 0 ; Reserved Sectors - 16 bits\r
; ****************************************************************************\r
; Start Print\r
; ****************************************************************************\r
- lea si, cs:[StartString]\r
+ mov si, offset StartString\r
call PrintString\r
\r
; ****************************************************************************\r
mov es,ax\r
mov ax, 07c0h\r
mov ds, ax\r
- mov cx, 7\r
+ mov cx, 6\r
mov di, 160\r
rep movsw\r
ret\r
jne FoundEFILDR\r
BadBootSector:\r
DiskError:\r
- lea si, cs:[ErrorString]\r
+ mov si, offset ErrorString\r
call PrintString\r
Halt:\r
jmp Halt\r
\r
StartString:\r
- db 'B', 0ch, 'S', 0ch, 't', 0ch, 'a', 0ch, 'r', 0ch, 't', 0ch, '!', 0ch\r
+ db 'B', 0ch, 'S', 0ch, 't', 0ch, 'a', 0ch, 'r', 0ch, 't', 0ch\r
ErrorString:\r
- db 'B', 0ch, 'E', 0ch, 'r', 0ch, 'r', 0ch, 'o', 0ch, 'r', 0ch, '!', 0ch\r
+ db 'B', 0ch, 'E', 0ch, 'r', 0ch, 'r', 0ch, 'o', 0ch, 'r', 0ch\r
\r
; ****************************************************************************\r
; LBA Offset for BootSector, need patched by tool for HD boot.\r