2 * Convert "cell arrange" address to normal address.
5 * This work is licensed under the terms of MAME license.
6 * See COPYING file in the top-level directory.
10 static unsigned int cell_map(int celln)
14 switch ((celln >> 12) & 7) { // 0-0x8000
36 row |= (celln & 0x7800) >> 6;
38 default: // never happens, only here to make compiler happy
43 return (col & 0x3f) + row*64;