diff options
author | hpa <hpa> | 2004-02-03 06:14:15 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-02-03 06:14:15 +0000 |
commit | 5bb3f6793a4ea4ca9d209d88e4777974ec1ce70f (patch) | |
tree | 7f372dd8f51dffc1baa65083b011c70a00e44837 | |
parent | 61d637fbe93c248e3eecf3332a45abc5e21d091b (diff) | |
download | syslinux-5bb3f6793a4ea4ca9d209d88e4777974ec1ce70f.tar.gz |
Correctly specify how to detect syslinux
-rw-r--r-- | comboot.doc | 2 | ||||
-rw-r--r-- | menu/syslinux.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/comboot.doc b/comboot.doc index e9327f56..48e7f8f3 100644 --- a/comboot.doc +++ b/comboot.doc @@ -195,7 +195,7 @@ INT 21h AH=30h Check DOS Version hypothetical "DOS 0.0", but the high parts of EAX-EBX-ECX-EDX spell "SYSLINUX": - EAX=53590000h EBX=534C0000h ECX=494E0000h EDX=55580000h + EAX=59530000h EBX=4C530000h ECX=4E490000h EDX=58550000h This function can thus be used to distinguish running on SYSLINUX from running on DOS. diff --git a/menu/syslinux.c b/menu/syslinux.c index ebb72b5b..801e314a 100644 --- a/menu/syslinux.c +++ b/menu/syslinux.c @@ -23,8 +23,8 @@ static inline int asm_issyslinux(void) asm("int $0x21" : "+a" (eax), "+b" (ebx), "+c" (ecx), "+d" (edx)); - return (eax == 0x53590000) && (ebx == 0x534c0000) && - (ecx == 0x494e0000) && (edx == 0x55580000); + return (eax == 0x59530000) && (ebx == 0x4c530000) && + (ecx == 0x4e490000) && (edx == 0x58550000); } int issyslinux(void) |