Realia Spacemaker

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Software)
Line 8: Line 8:
  
 
It compresses [[DOS executable (.com)|COM]] files (to COM), and [[MS-DOS EXE|EXE]] files (to EXE or COM).
 
It compresses [[DOS executable (.com)|COM]] files (to COM), and [[MS-DOS EXE|EXE]] files (to EXE or COM).
 +
 +
== Discussion ==
 +
Two versions have been found: 1.03 and 1.06. They create files that are slightly different. All compressed files found in the wild seem to be consistent with having been made by one of these two versions.
 +
 +
For an EXE file to be compressible by Spacemaker, it should have the following properties:
 +
* The header field at offset 12, "max allocation", must be 0xffff.
 +
* The header field at offset 26 must be 0.
 +
* No overlay.
  
 
== Identification ==
 
== Identification ==
(Only versions 1.03 and 1.06 have been evaluated.)
+
For COM format, the first 18 bytes match the pattern:
 +
 
 +
9c 55 56 8c cd 83 c5 10 8d b6 ?? ?? 56 be ?? ??
 +
56 cb
 +
 
 +
In pristine files, this is followed by the ASCII string "{{magic|MEMORY$}}".
 +
 
 +
For EXE format, the same pattern appears at the start of the ''code image'' segment (refer to [[MS-DOS_EXE#Special file positions]]), which is probably always offset 512 in pristine files.
  
Compressed COM files apparently start with bytes {{magic|9c 55 56 8c cd 83 c5}}, and have ASCII "{{magic|MEMORY$}}" at offset 18.
+
It is possible to distinguish between version 1.03 and 1.06.
  
Compressed EXE files apparently have {{magic|9c 55 56 8c cd 83 c5}} at offset 512, and ASCII "{{magic|MEMORY$}}" at offset 530.
+
It is possible to determine the original format, COM or EXE. For instance, if the original format was EXE, there are 9 consecutive 0x90 bytes in the decompressor code. Exception: The "<code>/S</code>" option makes it impossible to tell that the original format was EXE.
  
 
== Software ==
 
== Software ==

Revision as of 16:30, 7 March 2026

File Format
Name Realia Spacemaker
Ontology
Released 1982?

Realia Spacemaker (or just Spacemaker) is an executable compression utility for DOS, developed by Realia. It was possibly the first executable compression utility for DOS to be released.

It compresses COM files (to COM), and EXE files (to EXE or COM).

Contents

Discussion

Two versions have been found: 1.03 and 1.06. They create files that are slightly different. All compressed files found in the wild seem to be consistent with having been made by one of these two versions.

For an EXE file to be compressible by Spacemaker, it should have the following properties:

  • The header field at offset 12, "max allocation", must be 0xffff.
  • The header field at offset 26 must be 0.
  • No overlay.

Identification

For COM format, the first 18 bytes match the pattern:

9c 55 56 8c cd 83 c5 10 8d b6 ?? ?? 56 be ?? ??
56 cb

In pristine files, this is followed by the ASCII string "MEMORY$".

For EXE format, the same pattern appears at the start of the code image segment (refer to MS-DOS_EXE#Special file positions), which is probably always offset 512 in pristine files.

It is possible to distinguish between version 1.03 and 1.06.

It is possible to determine the original format, COM or EXE. For instance, if the original format was EXE, there are 9 consecutive 0x90 bytes in the decompressor code. Exception: The "/S" option makes it impossible to tell that the original format was EXE.

Software

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox