mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-25 02:09:36 +03:00
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?
|
||||
mov di, preboot_graph-0x10000
|
||||
; check bootloader block
|
||||
cmp [.loader_block-0x10000], 0
|
||||
jz .noloaderblock
|
||||
cmp [.loader_block-0x10000], 1
|
||||
jnz .noloaderblock
|
||||
les bx, [.loader_block-0x10000]
|
||||
cmp byte [es:bx], 1
|
||||
mov si, loader_block_error-0x10000
|
||||
|
Loading…
Reference in New Issue
Block a user