trunk/src/emu/video/huc6272.c
r17462 | r17463 | |
208 | 208 | m_page_setting = data; |
209 | 209 | break; |
210 | 210 | |
| 211 | // |
| 212 | // xxxx ---- ---- ---- BG3 mode setting |
| 213 | // ---- xxxx ---- ---- BG2 mode setting |
| 214 | // ---- ---- xxxx ---- BG1 mode setting |
| 215 | // ---- ---- ---- xxxx BG0 mode setting |
| 216 | // |
| 217 | // 0001 - 4 color palette |
| 218 | // 0010 - 16 color palette |
| 219 | // 0011 - 256 color palette |
| 220 | // 0100 - 64k color |
| 221 | // 0101 - 16M color |
| 222 | // 1001 - 4 color palette block mode |
| 223 | // 1010 - 16 color palette block mode |
| 224 | // 1011 - 256 color palette block mode |
| 225 | // others - unused/invalid |
| 226 | case 0x10: |
| 227 | m_bgmode[0] = data & 0x0f; |
| 228 | m_bgmode[1] = ( data >> 4 ) & 0x0f; |
| 229 | m_bgmode[2] = ( data >> 8 ) & 0x0f; |
| 230 | m_bgmode[3] = ( data >> 12 ) & 0x0f; |
| 231 | break; |
| 232 | |
211 | 233 | case 0x13: |
212 | 234 | m_micro_prg.addr = data & 0xf; |
213 | 235 | break; |