turn off magic debug in mbr/vbr stages
This commit is contained in:
@@ -40,6 +40,8 @@ nop
|
|||||||
%include "partition_table.inc"
|
%include "partition_table.inc"
|
||||||
%include "fat32/fat32_structures.inc"
|
%include "fat32/fat32_structures.inc"
|
||||||
|
|
||||||
|
%undef __STEVIA_DEV_DEBUG
|
||||||
|
|
||||||
ALIGN 4
|
ALIGN 4
|
||||||
init:
|
init:
|
||||||
cli ; We do not want to be interrupted
|
cli ; We do not want to be interrupted
|
||||||
@@ -158,7 +160,6 @@ main:
|
|||||||
mov si, word [bp - 4]
|
mov si, word [bp - 4]
|
||||||
mov dl, byte [bp - 2]
|
mov dl, byte [bp - 2]
|
||||||
mov bx, partition_table
|
mov bx, partition_table
|
||||||
__BOCHS_MAGIC_DEBUG
|
|
||||||
jmp word 0x0000:VBR_ENTRY
|
jmp word 0x0000:VBR_ENTRY
|
||||||
|
|
||||||
; ###############
|
; ###############
|
||||||
|
|||||||
@@ -50,7 +50,9 @@ times 54 db 0x00
|
|||||||
%include "error_codes.inc"
|
%include "error_codes.inc"
|
||||||
%include "partition_table.inc"
|
%include "partition_table.inc"
|
||||||
%include "fat32/fat32_structures.inc"
|
%include "fat32/fat32_structures.inc"
|
||||||
;
|
|
||||||
|
%undef __STEVIA_DEV_DEBUG
|
||||||
|
|
||||||
; dl = boot_drive
|
; dl = boot_drive
|
||||||
; si = part_offset
|
; si = part_offset
|
||||||
; bx = partition_table location from mbr
|
; bx = partition_table location from mbr
|
||||||
|
|||||||
Reference in New Issue
Block a user