Skip to main content

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:

specwhbppsprmapother
coloX-4240240430x39128x128
coloX-4P128128416x32128x 32
coloX-4B454454457x62128x128
coloX-4C480480460x65128x128
coloX-4L480800460x105128x128
coloX-4W8004804100x65128x128
coloX-162402401630x39128x128
coloX-16B4544541657x62128x128
coloX-16C4804801660x65128x128
coloX-16L4808001660x105128x128
coloX-16W80048016100x65128x128
coloX-32B4544543257x62128x128
coloX-32C4804803260x65128x128
coloX-32L4808003260x105128x128
coloX-32W80048032100x65128x128

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)