forked from KolibriOS/kolibrios
Bootcode: fixed check on loader block correctness
git-svn-id: svn://kolibrios.org@140 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d3ae4b4e07
commit
bb515acb25
@ -448,8 +448,8 @@ cfgmanager:
|
|||||||
; d) preboot_device = from what boot?
|
; d) preboot_device = from what boot?
|
||||||
mov di, preboot_graph-0x10000
|
mov di, preboot_graph-0x10000
|
||||||
; check bootloader block
|
; check bootloader block
|
||||||
cmp [.loader_block-0x10000], 0
|
cmp [.loader_block-0x10000], 1
|
||||||
jz .noloaderblock
|
jnz .noloaderblock
|
||||||
les bx, [.loader_block-0x10000]
|
les bx, [.loader_block-0x10000]
|
||||||
cmp byte [es:bx], 1
|
cmp byte [es:bx], 1
|
||||||
mov si, loader_block_error-0x10000
|
mov si, loader_block_error-0x10000
|
||||||
|
Loading…
Reference in New Issue
Block a user