diff options
author | hpa <hpa> | 2004-12-19 07:30:31 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-12-19 07:30:31 +0000 |
commit | caad4780fae735399a779c86dc383a42aaad61ac (patch) | |
tree | a9071fe03ff2245e2e90e395b29566d49577768a | |
parent | ad10c6bb4ed8830cd0071fda0ee037cf600a7f49 (diff) | |
download | syslinux-caad4780fae735399a779c86dc383a42aaad61ac.tar.gz |
Make compressed vkernels actually work.
-rw-r--r-- | ui.inc | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -229,18 +229,25 @@ clin_opt_ok: ; vk_check: xor si,si ; Beginning of vk_seg - push word vk_seg - pop ds .scan: cmp si,[VKernelBytes] jae .not_vk + + push ds + push word vk_seg + pop ds + mov di,VKernelBuf call rllunpack + pop ds ; SI updated on return + sub di,cx ; Return to beginning of buf push si + mov si,KernelName mov cx,FILENAME_MAX es repe cmpsb + pop si je .found jmp .scan @@ -281,8 +288,6 @@ vk_check: %endif .not_vk: - push cs - pop ds ; ; Not a "virtual kernel" - check that's OK and construct the command line |