DM-System2 Compression Tools
This page was last modified 16:44, 3 December 2016 by Mars2000you.

Contents

Compression tools for BPE format

There are three tools to compress data to BPE format. Please use the one that suits you best.

  1. The command EBPE.EXE (version 0.43) for MS-DOS.
  2. The command EBPE.COM (version 0.30) for MSX-DOS and CP/M.
  3. The command EBPEMSX.COM (version 0.95) for MSX-DOS.

All are included in archive DS2UTL-3.LZH.

EBPE.COM

EBPE.COM usage:

A>EBPE [.<ext>][-|/<opt>] <source filename>

<ext> is output extension name, generally BPE but for DM-System2, see about ID below.

<opt> can be:
-h : Help message.
-b# : Changes blocksize dictionary. (replace # by a value until 8192 if MSX)
-i# : Sets an ID to BPE data. (replace # by a hexadecimal value)
-m : Does not put MSX header in compressed file.
-m- : Puts MSX header as BSAVE in compressed file. (default)

Note: Because EBPE.COM is very slow, I recommend EBPEMSX.COM.

EBPEMSX.COM

EBPEMSX.COM usage:

A>EBPEMSX <source filename> [[device:]<ext>] [<opt>]

<ext> is output extension name, generally BPE but for DM-System2, see about ID below.

<opt> can be:
/H  : Help message.
/B# : Changes blocksize dictionary. (replace # by a value between 1 and 12288)
/I# : Sets an ID to BPE data. (replace # by a hexadecimal value on two digit 00~FF)
/M  : Puts MSX header as BSAVE in compressed file.
/M- : Does not put MSX header in compressed file. (default)

IDs and data types

DM-System2 uses the ID to recognize the data type. The recognized IDs are:

  • 0 for any data in RAM.
  • 1 for BGM data. (.MGS, .BGM)
  • 2 for Sound Effect data. (.SE)
  • 3 for RAM binary data. (.OBJ, .BIN)
  • 4 for Palette table compatible DM-Palete (.PLn, .BPn)
  • 5 for VDP macro.
  • 8 for VRAM binary data. (.SCn, .SRn)
  • 9 for COPY data. (.PIn, .GLn)
  • 10 for PCM data. (.PCM .PCP)