DOC2COM (Gerald DePyper)

From Just Solve the File Format Problem
Revision as of 18:34, 22 August 2024 by Sembiance (Talk | contribs)

Jump to: navigation, search
File Format
Name DOC2COM (Gerald DePyper)
Ontology
Extension(s) .com
Released 1990

DOC2COM is a DOS utility for creating a COM file that, when executed, displays a text document in a full-screen viewer. It was developed by Gerald (Jerry) DePyper.

When viewing a document, press F1 for help. Sometimes there is a function (Alt-F) to write the text to a file, but it depends on the DOC2COM version, and the options used when creating the file.

Contents

Format details

Starting with v1.3, the embedded text is usually encrypted (obfuscated).

To de-obfuscate, XOR each obfuscated byte with the obfuscated byte following it, or with 0xff for the very last byte.

Identification

(To identify a generated file...)

Version 1990-04-03: The first 16 bytes are:

be 5e 04 b9 18 00 e8 b2 01 e2 fb 3b 36 54 04 72

Version 1990-12-01: The first 16 bytes are:

be 62 04 b9 18 00 e8 b2 01 e2 fb 3b 36 58 04 72

v1.2: The first 16 bytes are:

fc be 50 0b b9 18 00 e8 2f 02 e2 fb 3b 36 46 0b

v1.3+: Files start with the byte pattern:

fc ?? ?? ?? ?? 49 8b 36 ?? ?? 8b fe ac 32 04 aa
e2 fa ac 34 ff aa ...

For v1.3+, the byte at offset 1 is 8b if encrypted, or eb if not encrypted.

Software

Sample files

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox