trunk/src/mame/drivers/aleck64.c
| r243016 | r243017 | |
| 890 | 890 | int pal_offs; |
| 891 | 891 | int pal_shift; |
| 892 | 892 | //UINT16 tile = m_e90_vram[offs] >> 16; |
| 893 | | UINT16 pal = m_e90_vram[offs] & 0x3f; // guess: 0x1000 entries / word / 4bpp = 0x7f, bit 6 seems to have some special meaning tho ... |
| 893 | UINT16 pal = m_e90_vram[offs] & 0xff; // guess: 0x1000 entries / word / 4bpp = 0x7f, divided by two below (TODO: why?) |
| 894 | 894 | INT16 x = m_e90_vram[offs+1] >> 16; |
| 895 | 895 | INT16 y = m_e90_vram[offs+1] & 0xffff; |
| 896 | pal>>=1; |
| 896 | 897 | x>>=1; |
| 897 | 898 | pal_offs = (pal*0x20); |
| 898 | 899 | pal_offs+= 1; // edit this to get the other colors in the range |