trunk/src/mame/drivers/namcos23.c
| r18737 | r18738 | |
| 1890 | 1890 | READ16_MEMBER(namcos23_state::s23_c422_r) |
| 1891 | 1891 | { |
| 1892 | 1892 | c422_t &c422 = m_c422; |
| 1893 | |
| 1893 | 1894 | return c422.regs[offset]; |
| 1894 | 1895 | } |
| 1895 | 1896 | |
| 1896 | 1897 | WRITE16_MEMBER(namcos23_state::s23_c422_w) |
| 1897 | 1898 | { |
| 1898 | 1899 | c422_t &c422 = m_c422; |
| 1900 | |
| 1899 | 1901 | switch (offset) |
| 1900 | 1902 | { |
| 1901 | 1903 | case 1: |
| r18737 | r18738 | |
| 2171 | 2173 | |
| 2172 | 2174 | logerror("render model %x %swith matrix %x and vector %x\n", p[0], use_scaling ? "scaled " : "", p[1], p[2]); |
| 2173 | 2175 | |
| 2174 | | // Temporary gross hack for timecrs2 |
| 2175 | | if(p[0] == 0xd96) |
| 2176 | | return; |
| 2177 | | |
| 2178 | 2176 | if(render.count[render.cur] >= RENDER_MAX_ENTRIES) |
| 2179 | 2177 | { |
| 2180 | 2178 | logerror("WARNING: render buffer full\n"); |
| r18737 | r18738 | |
| 2582 | 2580 | |
| 2583 | 2581 | AM_RANGE(0x0f000000, 0x0f000003) AM_READ(s23_unk_status_r) |
| 2584 | 2582 | |
| 2585 | | AM_RANGE(0x0f200000, 0x0f203fff) AM_RAM // C422 RAM (where are the C422 regs?) |
| 2583 | AM_RANGE(0x0f200000, 0x0f203fff) AM_RAM // C422 RAM |
| 2584 | AM_RANGE(0x0f300000, 0x0f30000f) AM_READWRITE16(s23_c422_r, s23_c422_w, 0xffffffff) // C422 registers |
| 2586 | 2585 | |
| 2587 | 2586 | AM_RANGE(0x0fc00000, 0x0fffffff) AM_WRITENOP AM_ROM AM_REGION("user1", 0) |
| 2588 | 2587 | ADDRESS_MAP_END |