trunk/src/mame/drivers/kenseim.c
| r30894 | r30895 | |
| 1 | 1 | /* Kensei Mogura |
| 2 | | aka Street Fighter II Whac-a-mole game */ |
| 2 | aka Street Fighter II Whack-a-mole game */ |
| 3 | 3 | |
| 4 | 4 | /* |
| 5 | 5 | this game uses a CPS1 board as the 'Video board' |
| r30894 | r30895 | |
| 38 | 38 | | MB89363B pin) | |
| 39 | 39 | | TMPZ84C011-8 TLP521-4 | |
| 40 | 40 | | 16.00Mhz (rotated 180 C | |
| 41 | | | degress) N | |
| 41 | | degrees) N | |
| 42 | 42 | | 4 | |
| 43 | 43 | | (4 | |
| 44 | 44 | | pin) | |
| r30894 | r30895 | |
| 333 | 333 | |
| 334 | 334 | WRITE8_MEMBER(kenseim_state::i8255_porta_w) // maybe molesa output? (6-bits?) |
| 335 | 335 | { |
| 336 | | if (data&0xc0) printf("%s i8255 write %02x to port A (mole output 1?)\n", machine().describe_context(), data); |
| 336 | //if (data&0xc0) printf("%s i8255 write %02x to port A (mole output 1?)\n", machine().describe_context(), data); |
| 337 | 337 | |
| 338 | 338 | |
| 339 | 339 | for (int i = 0; i < 6; i++) |
| r30894 | r30895 | |
| 352 | 352 | |
| 353 | 353 | WRITE8_MEMBER(kenseim_state::i8255_portb_w) // maybe molesb output? (6-bits?) |
| 354 | 354 | { |
| 355 | | if (data&0xc0) printf("%s i8255 write %02x to port B (mole output 2?)\n", machine().describe_context(), data); |
| 355 | //if (data&0xc0) printf("%s i8255 write %02x to port B (mole output 2?)\n", machine().describe_context(), data); |
| 356 | 356 | |
| 357 | 357 | for (int i = 0; i < 6; i++) |
| 358 | 358 | { |
| r30894 | r30895 | |
| 371 | 371 | WRITE8_MEMBER(kenseim_state::i8255_portf_w) |
| 372 | 372 | { |
| 373 | 373 | // typically written when the 'moles' output is, maybe the 2 strobes? |
| 374 | | printf("%s i8255 write %02x to port F (strobe?)\n", machine().describe_context(), data); |
| 374 | //printf("%s i8255 write %02x to port F (strobe?)\n", machine().describe_context(), data); |
| 375 | 375 | } |
| 376 | 376 | |
| 377 | 377 | |