extended_primary_loader: Fix handling of 'resolution' option.

git-svn-id: svn://kolibrios.org@8175 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Ivan Baravy 2020-11-11 22:27:30 +00:00
parent f5228c717f
commit 5b65357242
2 changed files with 3 additions and 1 deletions

View File

@ -481,8 +481,10 @@ end if
jne .next jne .next
cmp bx, word [es:si+2] cmp bx, word [es:si+2]
jne .next jne .next
jcxz @f
cmp cx, word [es:si+8] cmp cx, word [es:si+8]
jne .next jne .next
@@:
xor ax, ax xor ax, ax
ret ret
.next: .next:

View File

@ -4,7 +4,7 @@
timeout=5 timeout=5
; width*height ; width*height
resolution=1024*768 ;resolution=1024*768
; where to load ramdisk from ; where to load ramdisk from
; 2 - /hd0/1/kolibri.img ; 2 - /hd0/1/kolibri.img