trunk/src/mame/video/hng64.c
| r245367 | r245368 | |
| 1020 | 1020 | UINT32 animbits; |
| 1021 | 1021 | UINT16 tileflags[4]; |
| 1022 | 1022 | |
| 1023 | | #if 0 |
| 1023 | #if 1 |
| 1024 | 1024 | // press in sams64_2 attract mode for a nice debug screen from the game |
| 1025 | 1025 | // not sure how functional it is, and it doesn't appear to test everything (rowscroll modes etc.) |
| 1026 | 1026 | // but it could be useful |
| 1027 | 1027 | if ( machine().input().code_pressed_once(KEYCODE_L) ) |
| 1028 | 1028 | { |
| 1029 | 1029 | address_space &space = m_maincpu->space(AS_PROGRAM); |
| 1030 | | space.write_byte(0x2f27c8, 0x2); |
| 1030 | |
| 1031 | if (!strcmp(machine().system().name, "sams64_2")) |
| 1032 | { |
| 1033 | space.write_byte(0x2f27c8, 0x2); |
| 1034 | } |
| 1035 | else if (!strcmp(machine().system().name, "roadedge")) // hack to get test mode (useful for sound test) |
| 1036 | { |
| 1037 | space.write_byte(0xcfb53, 0x1); |
| 1038 | } |
| 1039 | else if (!strcmp(machine().system().name, "xrally")) // hack to get test mode (useful for sound test) |
| 1040 | { |
| 1041 | space.write_byte(0xa2363, 0x1); |
| 1042 | } |
| 1043 | |
| 1031 | 1044 | } |
| 1032 | 1045 | #endif |
| 1033 | 1046 | |
| 1047 | |
| 1048 | |
| 1049 | |
| 1050 | |
| 1034 | 1051 | bitmap.fill(hng64_tcram[0x50/4] & 0x10000 ? m_palette->black_pen() : m_palette->pen(0), cliprect); //FIXME: Is the register correct? check with HW tests |
| 1035 | 1052 | screen.priority().fill(0x00, cliprect); |
| 1036 | 1053 | |