trunk/src/mess/drivers/pv1000.c
| r19781 | r19782 | |
| 95 | 95 | UINT8 m_pcg_bank; |
| 96 | 96 | UINT8 m_force_pattern; |
| 97 | 97 | UINT8 m_fd_buffer_flag; |
| 98 | UINT8 m_border_col; |
| 98 | 99 | |
| 99 | 100 | required_device<cpu_device> m_maincpu; |
| 100 | 101 | required_device<screen_device> m_screen; |
| r19781 | r19782 | |
| 153 | 154 | /* ---- -xxx unknown, border color? */ |
| 154 | 155 | m_pcg_bank = (data & 0x20) >> 5; |
| 155 | 156 | m_force_pattern = ((data & 0x10) >> 4); /* Dig Dug relies on this */ |
| 157 | m_border_col = data & 7; |
| 156 | 158 | break; |
| 157 | 159 | } |
| 158 | 160 | |
| r19781 | r19782 | |
| 280 | 282 | { |
| 281 | 283 | int x, y; |
| 282 | 284 | |
| 285 | bitmap.fill(m_border_col); // TODO: might be either black or colored by this register |
| 286 | |
| 283 | 287 | for ( y = 0; y < 24; y++ ) |
| 284 | 288 | { |
| 285 | | for ( x = 0; x < 32; x++ ) |
| 289 | for ( x = 2; x < 30; x++ ) // left-right most columns are definitely masked by the border color |
| 286 | 290 | { |
| 287 | 291 | UINT16 tile = m_p_videoram[ y * 32 + x ]; |
| 288 | 292 | |