Japanese
Back

Figure 4.5 Cell data structure based on character color number, Part 1

For 4 bits/dot (32 bytes/cell)

 Bit15       12 11       8 7        4 3        0 
    ┌──────────┬──────────┬──────────┬──────────┐
+00H│Data for  │Data for  │Data for  │Data for  │
    │dot 0-0   │dot 0-1   │dot 0-2   │dot 0-3   │
    ├──────────┼──────────┼──────────┼──────────┤
+02H│Data for  │Data for  │Data for  │Data for  │
    │dot 0-4   │dot 0-5   │dot 0-6   │dot 0-7   │
    ├──────────┼──────────┼──────────┼──────────┤
  : │    :     │    :     │    :     │    :     │
  : │    :          :          :          :     │
  : │    :          :          :          :     │
  : │    :     │    :     │    :     │    :     │
    ├──────────┼──────────┼──────────┼──────────┤
+1EH│Data for  │Data for  │Data for  │Data for  │
    │dot 7-4   │dot 7-5   │dot 7-6   │dot 7-7   │
    └──────────┴──────────┴──────────┴──────────┘
  Bit 0 1   2 3   4 5   6 7      
    ┏━━┯━━┳━━┯━━┳━━┯━━┳━━┯━━┓    
Dot0┃ +00 ┃ +01 ┃ +02 ┃ +03 ┃    
    ┠──┼──╂──┼──╂──┼──╂──┼──┨    
   1┃ +04 ┃ +05 ┃ +06 ┃ +07 ┃    
    ┣━━┿━━╋━━┿━━╋━━┿━━╋━━┿━━┫    
   2┃ +08 ┃ +09 ┃ +0A ┃ +0B ┃    
    ┠──┼──╂──┼──╂──┼──╂──┼──┨    
   3┃ +0C ┃ +0D ┃ +0E ┃ +0F ┃    
    ┣━━┿━━╋━━┿━━╋━━┿━━╋━━┿━━┫Cell
   4┃ +10 ┃ +11 ┃ +12 ┃ +13 ┃    
    ┠──┼──╂──┼──╂──┼──╂──┼──┨    
   5┃ +14 ┃ +15 ┃ +16 ┃ +17 ┃    
    ┣━━┿━━╋━━┿━━╋━━┿━━╋━━┿━━┫    
   6┃ +18 ┃ +19 ┃ +1A ┃ +1B ┃    
    ┠──┼──╂──┼──╂──┼──╂──┼──┨    
   7┃ +1C ┃ +1D ┃ +1E ┃ +1F ┃    
    ┗━━━━━┻━━━━━┻━━━━━┻━━━━━┛    
[Note 1]
The upper left corner of the cell is dot 0-0, and from there to the right are dots 0-1, dot 0-2, dot 0-3, etc.
[Note 2]
The numbers in the cells are the VRAM addresses (hexadecimal) of each dot (2 dots) data, based on the VRAM address of dots 0-0 and dots 0-1 data.

return


Copyright SEGA ENTERPRISES, LTD., 1997