trunk/src/emu/video/huc6261.c
r17412 | r17413 | |
285 | 285 | // ----x----------- Enable Huc6272 BG1: 0 - disabled, 1 - enabled |
286 | 286 | // -----x---------- Enable HuC6272 BG0: 0 - disabled, 1 - enabled |
287 | 287 | // ------x--------- Enable HuC6270 SPR: 0 - disabled, 1 - enabled |
288 | | // -------x-------- Enable HuC6270 BG: 0 - disabled, 1 - enabled |
| 288 | // -------x-------- Enable HuC6270 BG: 0 - disabled, 1 - enabled |
289 | 289 | // --------x------- Number of SPR colors?: 0 - 16, 1 - 256 |
290 | 290 | // ---------x------ Number of BG colors?: 0 - 16, 1 - 256 |
291 | 291 | // ------------x--- Dot clock: 0 - 5MHz, 1 - 7MHz |
trunk/src/mess/drivers/pcfx.c
r17412 | r17413 | |
4 | 4 | |
5 | 5 | Driver file to handle emulation of the NEC PC-FX. |
6 | 6 | |
7 | | - BIOS error codes (guesses): |
8 | | - Blue screen = MCU pad communication error |
9 | | - Cyan screen = SCSI communication error (current one) |
10 | | |
11 | 7 | ***************************************************************************/ |
12 | 8 | |
13 | 9 | |
r17412 | r17413 | |
22 | 18 | { |
23 | 19 | UINT8 ctrl[2]; |
24 | 20 | UINT8 status[2]; |
25 | | UINT16 latch[2]; |
| 21 | UINT32 latch[2]; |
26 | 22 | }; |
27 | 23 | |
28 | 24 | class pcfx_state : public driver_device |
r17412 | r17413 | |
233 | 229 | // ----------xxx--- Priority level interrupt 14 |
234 | 230 | // -------------xxx Priority level interrupt 15 |
235 | 231 | case 0x80/4: |
236 | | m_irq_priority[4] = ( data >> 0 ) & 0x07; |
237 | | m_irq_priority[5] = ( data >> 3 ) & 0x07; |
238 | | m_irq_priority[6] = ( data >> 6 ) & 0x07; |
239 | | m_irq_priority[7] = ( data >> 9 ) & 0x07; |
| 232 | m_irq_priority[7] = ( data >> 0 ) & 0x07; |
| 233 | m_irq_priority[6] = ( data >> 3 ) & 0x07; |
| 234 | m_irq_priority[5] = ( data >> 6 ) & 0x07; |
| 235 | m_irq_priority[4] = ( data >> 9 ) & 0x07; |
240 | 236 | check_irqs(); |
241 | 237 | break; |
242 | 238 | |
r17412 | r17413 | |
246 | 242 | // ----------xxx--- Priority level interrupt 10 |
247 | 243 | // -------------xxx Priority level interrupt 11 |
248 | 244 | case 0xC0/4: |
249 | | m_irq_priority[0] = ( data >> 0 ) & 0x07; |
250 | | m_irq_priority[1] = ( data >> 3 ) & 0x07; |
251 | | m_irq_priority[2] = ( data >> 6 ) & 0x07; |
252 | | m_irq_priority[3] = ( data >> 9 ) & 0x07; |
| 245 | m_irq_priority[3] = ( data >> 0 ) & 0x07; |
| 246 | m_irq_priority[2] = ( data >> 3 ) & 0x07; |
| 247 | m_irq_priority[1] = ( data >> 6 ) & 0x07; |
| 248 | m_irq_priority[0] = ( data >> 9 ) & 0x07; |
253 | 249 | check_irqs(); |
254 | 250 | break; |
255 | 251 | } |