[syslinux] [PATCH] ifplop.c32: Detect if PLoP USB/CD INT13h hook is enabled/disabled
H. Peter Anvin
hpa at zytor.com
Thu Jul 1 12:48:25 PDT 2010
On 07/01/2010 10:11 AM, Gert Hulselmans wrote:
> New module which detects if the PLoP Boot Loader already has booted a
> CDROM or USB drive by checking for the presence of the PLoP INT13h hook.
>
> The following assembly code (NASM) can detect the PLoP INT13h hook:
>
> mov eax,'PoLP' ; Reverse of 'PLoP'
> mov ebp,'DKHC' ; Reverse of 'CHKD'
> int 13h
> cmp eax,' sey' ; Reverse of 'yes '
> jz plop_INT13h_active
>
> Signed-off-by: Gert Hulselmans <gerth at zytor.com>
> Signed-off-by: Shao Miller <shao.miller at yrdsb.edu.on.ca>
You should only include Shao's Signed-off-by: if this patch has actually
travelled via Shao, and the order is supposed to reflect the path the
patch travelled with the oldest signoff on top.
-hpa
More information about the Syslinux
mailing list