Exporting
The File menu writes a document out in the forms the hardware loads. Each command asks where to save the file. A command the document has no such form for is unavailable.
| Command | Available for | Default name |
|---|---|---|
| Export PNG… | every document | Artwork |
| Export Screen (.scr)… | a 256 × 192 ULA or Hi-Colour document | Screen |
| Export Tiles (.til)… | a 4-bit tiles document | Tiles |
| Export Sprite Patterns (.spr)… | a 4-bit or 8-bit sprites document | Sprites |
Screens, tiles and sprite patterns are written from the current asset’s current frame.
PNG
Export PNG… writes the document as a Block’Ed PNG: the same file as the document, with the extension .png. Other programs show the artwork; Block’Ed opens it as a document. The format is specified on File Formats.
Screen
Export Screen (.scr)… writes the screen in the layout the display reads from memory. With ULA+, the 64 registers follow the attributes, one byte each.
| Mode | Bitmap | Attributes | File | With ULA+ |
|---|---|---|---|---|
| ULA | 6144 bytes, in display order | 768 bytes, one per 8 × 8 cell, row by row | 6912 bytes | 6976 bytes |
| Hi-Colour | 6144 bytes, in display order | 6144 bytes, one per 8 × 1 strip, in display order | 12288 bytes | 12352 bytes |
If a ULA document has its top-left pixel set and no ULA+, its screen file is 6912 bytes and the first byte is $80. A ULA or Hi-Colour canvas of any other size has no screen file.
Tiles
Export Tiles (.til)… writes every whole 8 × 8 tile, left to right and then top to bottom. Each tile is 32 bytes: eight rows of four bytes, two pixels to a byte with the left pixel in the upper four bits. Palette offsets are not written.
If a tiles document is 16 × 8, the file is 64 bytes: two tiles.
Sprite patterns
Export Sprite Patterns (.spr)… writes every whole 16 × 16 pattern, left to right and then top to bottom. A 4-bit sprite document writes 128 bytes a pattern, packed as tiles are. An 8-bit sprite document writes 256 bytes a pattern, one byte a pixel. Palette offsets are not written.
If a 4-bit sprite document is 32 × 16, the file is 256 bytes: two patterns.
Palettes
Palettes are exported from the Palettes panel; see Colours and Palettes.
← User Guide · Next: Apple Pencil and Mac Input »