[syslinux] [PATCH] Make comments describe COM32R images
Paul Bolle
pebolle at tiscali.nl
Wed Jan 19 02:12:13 PST 2011
Signed-off-by: Paul Bolle <pebolle at tiscali.nl>
---
Untested, actually.
core/com32.inc | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/core/com32.inc b/core/com32.inc
index 111590c..bde83d1 100644
--- a/core/com32.inc
+++ b/core/com32.inc
@@ -14,19 +14,19 @@
;;
;; com32.inc
;;
-;; Common code for running a COM32 image
+;; Common code for running a COM32R image
;;
extern pm_api_vector
;
-; Load a COM32 image. A COM32 image is the 32-bit analogue to a DOS
-; .com file. A COM32 image is loaded at address 0x101000, with %esp
+; Load a COM32R image. A COM32R image is a raw binary file containing
+; 32-bit code. A COM32R image is loaded at a 4K aligned address, with %esp
; set to the high end of usable memory.
;
-; A COM32 image should begin with the magic bytes:
-; B8 FF 4C CD 21, which is "mov eax,0x21cd4cff" in 32-bit mode and
-; "mov ax,0x4cff; int 0x21" in 16-bit mode. This will abort the
+; A COM32R image should begin with the magic bytes:
+; B8 FE 4C CD 21, which is "mov eax,0x21cd4cfe" in 32-bit mode and
+; "mov ax,0x4cfe; int 0x21" in 16-bit mode. This will abort the
; program with an error if run in 16-bit mode.
;
com32_entry equ free_high_memory
--
1.7.3.4
More information about the Syslinux
mailing list