summaryrefslogtreecommitdiff
path: root/src/hardware_data/graphics/vdp_ym2602_mode0.lua
blob: c07a03cb1a55dc59a98c706c40124cbfc7a8e506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
return {
  screen  = {
    ntsc = {
      width   = 240,
      height  = 192,
      refresh =  59.922743,
      origin  = {
        x = 0,
        y = 0,
      },
    },
    pal  = {
      width   = 240,
      height  = 192,
      refresh =  49.701459,
      origin  = {
        x = 0,
        y = 0,
      },
    },
    pxps = 39424,
    txps =   552,
    plps = false,
  },
  colours = {
    total       = '15+1',
    limit       = false,
    background  = false,
    transparent = 'transparentColour',
  },
  meshes  = false,
  shaders = {
    api          = false,
    version      = false,
    fragment     = false,
    vectex       = false,
    geometry     = false,
    tessellation = false,
  },
  physic  = false,
  sprites = false,
  tiles   = {
    layers = {
      {
        total       = {
          x = 40,
          y = 24,
          960,
        },
        onScreen    = 960,
        limit       = false,
        unique      = true,
        independent = false,
        palettes    = {
          specify = true,
          {
            total = '15+1',
            limit = 2,
            keys  = '1-optional',
            map   = {
              width  = 240,
              height = 192,
              tiles  = false,
              pixels = false,
            },
          },
        },
        mirror      = false,
        transform   = {
          individual = false,
          move       = 'perTileSize',
          rotate     = false,
          scale      = false,
          shear      = false,
          affine     = false,
        },
        sizes       = {
          {
            width  = 6,
            height = 8,
          },
        },
      },
    },
  },
}