diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2009-05-25 14:56:11 -0700 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-25 14:56:11 -0700 |
| commit | 66faa55d9decdea13f3be830e9999c23574a34c5 (patch) | |
| tree | a8afb9a3d6fd8c46890f9a128bf4cddc3c91d139 /doc/comboot.txt | |
| parent | 4a211f679cd19207085b2e53c1c6572a47226fc1 (diff) | |
| download | syslinux-66faa55d9decdea13f3be830e9999c23574a34c5.tar.gz | |
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/comboot.txt')
| -rw-r--r-- | doc/comboot.txt | 4 |
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). |
