Skip to content

convert-bitmaps

Specification File

The specification file uses YAML syntax.

Global Directives

bitmaps
List of bitmap definitions describing the images to convert. (required)
runlength-encode yes|no
Wether to runlength encode components (default: yes)
section name
Section to place created objects in. (default: data)
screen_width number
Specify the default width of the screen. (default: none)

Bitmap Directives

components
Map of component definitions describing each component.
file name
name of image file (required)
name name
Name prefix for default name of component objects.
layout layout

Layout to convert to. (required)

c64-hires
Commodore 64 hires bitmap:
screen screen
c64-multicolor
Commodore 64 multicolor bitmap:
screen screen
color color ram
background background color
zx-spectrum
ZX Spectrum bitmap:
attributes attributes
runlength-encode yes|no
Wether to runlength encode components (default: global runlength-encode)
section name
Section to place object into. (default: global section)
unused-colors colors
(default: none)

Component Directives

alignment number
align object to number. (default: none)
name name
name of created object (default: bitmap-name_component-name)
object-type type

type of object to create. (default: symbol)

constant
constant definition
symbol
data symbol
omit
don't create any object.
runlength-encode yes|no
Wether to runlength encode components (default: bitmap runlength-encode)
section name
section to put object into. (default: bitmap section)