MSX AGE / Dot Designer's Club - File Format Reference

SCREEN 5, 7, 8, 10, and 12 file types.

MSX2 SCREEN 5 mode

Dot Designer's Club centers around MSX2 SCREEN 5: a 256x212 bitmap mode using 4 bits per pixel (4bpp), so each byte stores two pixels. The palette has 16 entries, and each entry is adjustable in RGB9 (3 bits for red, green, and blue; each channel range is 0..7).
SCREEN 5 uses the MSX2 sprite system in sprite mode 2, where two sprites can be combined to produce 3 colors per row by using an OR algorithm.

Common SCREEN 5 VRAM addresses:
  • Pixel data: 0x0000..0x69FF (27136 bytes)
  • Animation metadata: anchored at 0x6A00 in GE5/SC5 (up to 520 bytes in this app: magic + count + 64×8-byte frames; MSX BASIC ignores it)
  • Sprite color data: 0x7400..0x75FF (1024 bytes)
  • Sprite attributes: 0x7600..0x767F (128 bytes)
  • Palette mirror: 0x7680..0x769F (32 bytes, 16 colors)
  • Sprite pattern data: 0x7800..0x7FFF (3840 bytes)
  • Open / unused: 0x76A0..0x77FF (352 bytes)
32KB VRAM address map
0x7800..0x7FFF Sprite pattern data
0x7600..0x76FF Sprite attributes Palette mirror
0x7400..0x75FF Sprite color data
0x6A00..0x6C07 Animation metadata (GE5/SC5, ≤520 B in web app)
0x0000..0x69FF Pixel data

Files can be stored in two formats in MSX BASIC:

.GE5

Load: Yes | Save: Yes | Export: No

This is the default file format used by AGE.COM and contains all data needed to restore image, palette, and animation frames. In MSX BASIC, animation frames are ignored.

Binary structure:

In MSX BASIC, image and palette can be loaded with:

10 SCREEN 5: BLOAD "NAME.GE5",S: COLOR=RESTORE
20 A$=INPUT$(1)

.SC5

Load: Yes | Save: Yes | Export: No

SC5 is an MSX-BIN VRAM dump for SCREEN 5. In this app, SC5 load expects start address 0x0000. End address up to 0x69FF means pixel data only; end address at or beyond 0x769F means pixel data plus palette.

The start and end addresses map directly to VRAM ranges (for example pixel body 0x0000..0x69FF and palette 0x7680..0x769F), so the address range defines which VRAM sections are present. For palette-only files, use .CO5.

During Web Save, the app asks whether to include palette data in SC5 or save palette data as a separate .CO5 file. During Mem Save, palette data is always included in SC5.

10 SCREEN 5: BLOAD "NAME.SC5",S
20 A$=INPUT$(1)

.CO5

Load: Yes | Save: Yes (export) | Export: No

CO5 is a palette-only MSX-BIN dump (0x7680..0x769F, 32 bytes). Use it when SC5 Web Save is configured to store palette data separately from pixel data.

10 SCREEN 5: BLOAD "NAME.CO5",S: COLOR=RESTORE
20 A$=INPUT$(1)

.MAK

Load: No | Save: No | Export: Yes (Disk Make, SCREEN 5)

MAK exports both palette banks as Z80 assembly source (DEFB tables) for use in MSX development workflows. Generated from the Disk panel Make button.

.DAT

Load: Yes | Save: Yes | Export: No

DAT is a 128x128 image chunk with optional palette and animation metadata (SPE5/AGE). In this tool, animation data is not used or saved. A .DAT file whose header dimensions are not 128x128 but are within the drawing area (<=256x212) is loaded as an ST5 raw chunk (same header and nibble payload, no palette).

Data layout is width word (0x0080), height word (0x0080), 4bpp pixel image data, optional 32-byte palette block, and fixed no-animation bytes. When loading, interactive placement applies: move the preview rect, Enter to confirm, Esc or right-click to cancel, Space to clear the canvas and center the rect. Saving DAT uses a fixed 128×128 source and allows a palette inclusion choice.

DAT files are compatible with the MSX BASIC COPY command. The palette data is not read by MSX BASIC.

10 SCREEN 5: COPY "NAME.DAT" TO (0,0)
  20 A$=INPUT$(1)

.CMP

Load: Yes | Save: Yes | Export: No

CMP is a compressed image format (image-only, no palette). Use CMP when you want smaller image files.

CMP does not use the MSX-BIN header; it starts with width-in-bytes, height, and a control byte, followed by a custom compressed stream. In this app, CMP load/save uses the same interactive rectangle placement flow as other chunk formats. To use this format on the MSX you need a decompression routine.

.ST5

Load: Yes | Save: Yes | Export: No

ST5 is the raw (uncompressed) chunk counterpart to DAT/CMP: chunk pixel data with interactive placement in this app. Legacy SPE5 .DAT files with variable dimensions (up to 256x212) are imported through the ST5 path. Use ST5 when you want direct MSX BASIC compatibility with the COPY command.

Layout: width word, height word, then raw nibble stream. Nibbles are continuous across rows, so odd pixel widths are supported. Loading ST5 enters chunk placement mode; exporting ST5 uses two-point source selection in the loupe workflow.

10 SCREEN 5: COPY "NAME.ST5" TO (0,0)
20 A$=INPUT$(1)

.PNG

Load: Yes | Save: Yes | Export: No

PNG is non-native to MSX and is used for exchange with modern tools. Use PNG when you need round-trips with external editors, not when you need direct MSX binary load behavior.

Import supports 256x192, 256x212, and cropped workflows from 320x240, with palette quantization to the 16-color MSX model. Export writes standard PNG from the current image on the drawing canvas at supported scales.

MSX2 SCREEN 7 mode

SCREEN 7 profile in this project uses a 512x212 4bpp thin-pixel drawing surface while keeping the same on-screen UI footprint as SCREEN 5.

SCREEN 7 file I/O is intentionally restricted to SC7 and ST7 only. SCREEN 5-family formats (GE5, SC5, CO5, DAT, CMP, ST5) and PNG are not supported in this profile.

.SC7

Load: Yes | Save: Yes | Export: No

SC7 is the project-defined full-canvas SCREEN 7 format. Layout: SC7\0 magic, little-endian width/height (512x212), 16-color palette (32 bytes), then packed 4bpp row-major pixels.

.ST7

Load: Yes | Save: Yes | Export: No

ST7 is the project-defined chunk format for SCREEN 7. Layout: little-endian width/height words, then packed 4bpp row-major nibble stream. Loading ST7 uses placement preview; saving ST7 uses rectangle selection.

MSX2 SCREEN 8 mode

The SCREEN 8 uses a 256x212 bitmap mode with 8 bits per pixel. Each pixel is stored in one byte as a color index in the fixed RGB332 palette (3 bits red, 3 bits green, 2 bits blue).

Common SCREEN 8 VRAM addresses:
  • Pixel data: 0x0000..0xD3FF (54272 bytes)
  • Open / unused: 0xD400..0xFFFF (11264 bytes)
64KB VRAM address map
0xD400..0xFFFF Open / unused
0x0000..0xD3FF Pixel data (256x212, 1 byte per pixel)

.SC8 / .PIC

Load: Yes | Save: Yes | Export: No

SC8/PIC is the full-screen VRAM dump for SCREEN 8. It stores the entire 256x212 SCREEN 8 image in RGB332 index bytes.

Binary structure:

10 SCREEN 8: BLOAD "NAME.SC8",S
20 A$=INPUT$(1)

.ST8

Load: Yes | Save: Yes | Export: No

ST8 is the chunk counterpart for SCREEN 8: raw RGB332 index bytes with interactive placement.

Layout: width word, height word (little-endian), then raw pixel bytes (1 byte per pixel). Loading ST8 enters chunk placement mode; saving ST8 uses two-point source selection.

10 SCREEN 8: COPY "NAME.ST8" TO (0,0)
20 A$=INPUT$(1)

.PNG

Load: Yes | Save: Yes | Export: No

You can save SCREEN 8 images to PNG for modern workflows. On load, the app does a best-effort import: it resizes oversized images to fit the 256x212 drawing area and converts pixels to SCREEN 8 RGB332 indices.

If the loaded image already matches 256x212, it is imported as full-screen data. Otherwise it is imported as a chunk that can be placed on the canvas.

MSX2 SCREEN 10 mode (YJK + YAE)

The SCREEN 10 profile uses a 256×212 drawing surface with YJK+YAE encoding: one byte per pixel on disk, with 4×1 pixel groups sharing chroma (J/K) bytes. The editor keeps an RGB555 working buffer for round-trip fidelity and maps to the fixed SCREEN 8 palette for preview.

App route: /app/?mode=screen10. Developer reference: YJK/YAE modes.

.S10

Load: Yes | Save: Yes | Export: No

S10 is the full-frame SCREEN 10 binary. Layout: 7-byte MSX-BIN header (start 0x0000, end 0xD3FF), then 54272 bytes of YJK+YAE pixel data (256×212).

10 SCREEN 10: BLOAD "NAME.S10",S
20 A$=INPUT$(1)

MSX2 SCREEN 12 mode (YJK)

The SCREEN 12 profile uses the same 256×212 frame size with YJK encoding without the YAE palette attribute byte per group. The .SCC extension is an alias for the same format.

App route: /app/?mode=screen12.

.S12 / .SCC

Load: Yes | Save: Yes | Export: No

S12/SCC uses the same 7-byte MSX-BIN header as S10, followed by YJK pixel data. Import accepts truncated pixel streams (missing bytes padded with 0x00).

10 SCREEN 12: BLOAD "NAME.S12",S
20 A$=INPUT$(1)

Developer references

Byte-level layouts and codec notes for contributors (Markdown, view in browser or editor):

Other file types

The following types are export-oriented helpers from the tile workflow. Thes files are VRAM dumps and should be loaded with the BLOAD "NAME.EXT",S command in MSX BASIC.

.SC2

Load: Yes (SCREEN 2 profile) | Save: Yes (SCREEN 2 profile) | Export: Yes

SC2 stores MSX SCREEN 2 pattern, name, and color tables for a 256x192 tile region (768 tiles of 8x8). In the SCREEN 2 app profile, save via Disk as .SC2 when validation passes (Web SAVE is greyed if any tile row uses more than two colors). Load .SC2 via Web LOAD or drag-and-drop on the SCREEN 2 app profile.

The generated MSX-BIN data covers 0x0000..0x37FF and includes pattern, name, and color tables derived from a 256x192 tile region.

.SPR

Load: No | Save: No | Export: Yes

SPR export writes sprite pattern data for MSX sprite-oriented workflows. Use SPR when extracting sprite assets from prepared regions.

This app supports mode-dependent layouts (including mode 1 and mode 2 organization) from the Tile Export flow. The mode 2 export path aligns with SCREEN 5-era sprite handling and can include palette data where the layout expects it.

.FNT

Load: No | Save: No | Export: Yes

FNT export produces 8x8 font/tile bitmap data for character-based workflows. Use it when turning tile art into font-style byte streams.

Each tile row is emitted as an MSB-left bit pattern byte, and the file is wrapped as MSX binary output.