Device Specification Description
Device Specification
The device specification is used to define the hardware environment and capabilities in which the application runs. Currently, the following specifications are supported:
spec | w | h | bpp | spr | map | other |
---|---|---|---|---|---|---|
coloX-4 | 240 | 240 | 4 | 30x39 | 128x128 | |
coloX-4P | 128 | 128 | 4 | 16x32 | 128x 32 | |
coloX-4B | 454 | 454 | 4 | 57x62 | 128x128 | |
coloX-4C | 480 | 480 | 4 | 60x65 | 128x128 | |
coloX-4L | 480 | 800 | 4 | 60x105 | 128x128 | |
coloX-4W | 800 | 480 | 4 | 100x65 | 128x128 | |
coloX-16 | 240 | 240 | 16 | 30x39 | 128x128 | |
coloX-16B | 454 | 454 | 16 | 57x62 | 128x128 | |
coloX-16C | 480 | 480 | 16 | 60x65 | 128x128 | |
coloX-16L | 480 | 800 | 16 | 60x105 | 128x128 | |
coloX-16W | 800 | 480 | 16 | 100x65 | 128x128 | |
coloX-32B | 454 | 454 | 32 | 57x62 | 128x128 | |
coloX-32C | 480 | 480 | 32 | 60x65 | 128x128 | |
coloX-32L | 480 | 800 | 32 | 60x105 | 128x128 | |
coloX-32W | 800 | 480 | 32 | 100x65 | 128x128 |
Specific Attributes
The following global variables can be used in lua script code:
__vm_width canvas width, corresponding to the specification w
__vm_height canvas height, corresponding to h of the specification
__vm_bpp the number of pixels in the canvas, corresponding to the bpp of the specification
__vm_speed_lvl device speed level (0-100), the higher the hardware speed, the larger the number, and the drawing/operation complexity can be adjusted according to this data
__vm_scr_width physical screen width
__vm_scr_height physical screen height
__vm_auto_gen_rom whether the development environment
Associated Device
ColoPLAY
- Original resolution 240x240x16bpp round screen, support specifications coloX-4/coloX-4P/coloX-16
- Support sound
- Support buttons, 4 buttons (0-3) + a middle button (4) + knobs (5,6) + rear buttons (7)
NatureX
- Original resolution 454x454x32bpp round screen, support specifications coloX-4/coloX-4P/coloX-4B//coloX-16//coloX-16B/coloX-32B
- Compatible with running specifications coloX-4C/coloX-16C/coloX-32C
- Support sound
- Support buttons, 4 buttons (0-3) + a middle button (4) + knob (5,6)
NatureMiniPro
- Native resolution 480x480x32bpp, support specifications coloX-4P/coloX-4/coloX-16/coloX-4B/coloX-16B/coloX-32B/coloX-4C/coloX-16C/coloX-32C
- Does not support sound (tentative)
- Support touch, support to simulate buttons according to the screen area: 4 buttons (0-3) + a middle button (4) + knob (5,6)
NatureMiniL
- Native resolution 480x800x32bpp/800x480x32bpp (depending on installation configuration), supporting specifications coloX-4L/coloX-16L/coloX-32L or coloX-4W/coloX-16W/coloX-32W
- Compatible with running specifications coloX-4P/coloX-4/coloX-16/coloX-4B/coloX-16B/coloX-32B/coloX-4C/coloX-16C/coloX-32C
- Does not support sound (tentative)
- Support touch, support to simulate buttons according to the screen area: 4 buttons (0-3) + a middle button (4) + knob (5,6)