path: root/doc
diff options
authorH. Peter Anvin <hpa@zytor.com>2009-05-25 14:56:11 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-25 14:56:11 -0700
commit66faa55d9decdea13f3be830e9999c23574a34c5 (patch)
treea8afb9a3d6fd8c46890f9a128bf4cddc3c91d139 /doc
parent4a211f679cd19207085b2e53c1c6572a47226fc1 (diff)
com32r: verify the COM32R magic number
Since we might be having COM32 and COM32R in the same filesystem, do check for the appropriate COM32R magic before doing anything else. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc')
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/comboot.txt b/doc/comboot.txt
index 1b087a16..101b173a 100644
--- a/doc/comboot.txt
+++ b/doc/comboot.txt
@@ -61,8 +61,8 @@ be possible to create a COM32 execution engine that would run under
something like Linux DOSEMU, it is recommended that the code does not
assume CPL 0 unless absolutely necessary.
-It is highly recommended that every COM32R program begins with the byte
-sequence B8 FE 4C CD 21 (mov eax,21cd4cfeh) as a magic number.
+A COM32R program must start with the byte sequence B8 FE 4C CD 21 (mov
+eax,21cd4cfeh) as a magic number.
The COM32R format replaces the earlier COM32 format, which was linked
to a fixed address (0x101000).