Репозитории ALT
S: | 4.04-alt19 |
D: | 3.61-alt1 |
5.1: | 3.63-alt4 |
4.1: | 3.36-alt2 |
4.0: | 3.36-alt2 |
3.0: | 2.11-alt1 |
Группа :: Система/Ядро и оборудование
Пакет: syslinux
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: syslinux-4.04-localboot.diff
Скачать
Скачать
diff --git a/core/localboot.inc b/core/localboot.inc
index 1fe3102..30f34fc 100644
--- a/core/localboot.inc
+++ b/core/localboot.inc
@@ -33,6 +33,15 @@ local_boot:
cmp ax,-1
je .int18
+ cmp ax,-2
+ jne .load
+
+ mov al,[DriveNumber]
+ cmp al,80h
+ mov al,80h
+ jnz .load
+ inc ax
+.load:
; Load boot sector from the specified BIOS device and jump to it.
mov dl,al
xor dh,dh