From 01dc2ad8336cc9dbd76f1e74cd4fec2e45334797 Mon Sep 17 00:00:00 2001 From: Gert Hulselmans Date: Thu, 1 Jul 2010 17:57:44 +0200 Subject: ifplop.c32: Detect if PLoP USB/CD INT13h hook is enabled/disabled 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 Signed-off-by: H. Peter Anvin --- com32/modules/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'com32/modules/Makefile') diff --git a/com32/modules/Makefile b/com32/modules/Makefile index 79018df9..f42ce963 100644 --- a/com32/modules/Makefile +++ b/com32/modules/Makefile @@ -22,7 +22,7 @@ MODULES = chain.c32 config.c32 ethersel.c32 dmitest.c32 cpuidtest.c32 \ disk.c32 pcitest.c32 elf.c32 linux.c32 reboot.c32 pmload.c32 \ meminfo.c32 sdi.c32 sanboot.c32 ifcpu64.c32 vesainfo.c32 \ kbdmap.c32 cmd.c32 vpdtest.c32 host.c32 ls.c32 gpxecmd.c32 \ - ifcpu.c32 cpuid.c32 cat.c32 pwd.c32 + ifcpu.c32 cpuid.c32 cat.c32 pwd.c32 ifplop.c32 TESTFILES = -- cgit v1.2.1