trunk/src/mame/drivers/nbmj8891.c
| r19501 | r19502 | |
| 708 | 708 | |
| 709 | 709 | /* This DIPSW is fake. Type A is common, Type B is rare */ |
| 710 | 710 | PORT_START("FONTTYPE") |
| 711 | | PORT_CONFNAME( 0x01, 0x00, "Font Type" ) |
| 712 | | PORT_CONFSETTING( 0x00, "Type-A" ) |
| 713 | | PORT_CONFSETTING( 0x01, "Type-B" ) |
| 714 | | PORT_BIT( 0xfe, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 711 | PORT_CONFNAME( 0x01, 0x00, "Font Type" ) |
| 712 | PORT_CONFSETTING( 0x00, "Type-A" ) |
| 713 | PORT_CONFSETTING( 0x01, "Type-B" ) |
| 714 | PORT_BIT( 0xfe, IP_ACTIVE_HIGH, IPT_UNUSED ) |
| 715 | 715 | |
| 716 | 716 | PORT_INCLUDE( nbmjcontrols ) |
| 717 | 717 | INPUT_PORTS_END |
trunk/src/mame/video/nbmj8891.c
| r19501 | r19502 | |
| 230 | 230 | nbmj8891_gfxdraw(machine()); |
| 231 | 231 | } |
| 232 | 232 | |
| 233 | // m_blitter_direction_x = 0; // for debug |
| 234 | // m_blitter_direction_y = 0; // for debug |
| 235 | m_dispflag = 1; // for debug |
| 236 | |
| 233 | 237 | m_param_cnt++; |
| 234 | 238 | } |
| 235 | 239 | |
| r19501 | r19502 | |
| 373 | 377 | color = GFX[gfxaddr++]; |
| 374 | 378 | |
| 375 | 379 | // for hanamomo font type |
| 376 | | if ((state->ioport("FONTTYPE")->read()) == 0) |
| 380 | if (nb1413m3_type == NB1413M3_HANAMOMO) |
| 377 | 381 | { |
| 378 | | if (nb1413m3_type == NB1413M3_HANAMOMO) |
| 382 | if ((state->ioport("FONTTYPE")->read()) == 0x00) |
| 379 | 383 | { |
| 380 | 384 | if ((gfxaddr >= 0x20000) && (gfxaddr < 0x28000)) |
| 381 | 385 | { |