aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--comboot.doc2
-rw-r--r--menu/syslinux.c4
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)