~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/mame/drivers/nbmj8891.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
- Telmajan cannot set to JAMMA type. I don't know why.
24
24
 
25
 
- Controls in gionbana: 1~8 is assigned to A~H, "Yes" is LShift, "No" is Z.
26
 
 
27
 
- Controls in maiko,hanaoji,hnxmasev and hnageman: 1~8 is assigned to A~H, "Yes" is M, "No" is N.
28
 
 
29
25
- Real machine has ROMs for protection, but I don't know how to access the ROM,
30
26
  so I'm doing something that works but is probably wrong.
31
27
  The interesting thing about that ROM is that it comes from other, older games,
713
709
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
714
710
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
715
711
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
716
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
712
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
717
713
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
718
714
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
719
715
 
780
776
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
781
777
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
782
778
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )                      // COIN2
783
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
779
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
784
780
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
785
781
 
786
782
        PORT_INCLUDE( nbmjcontrols )
845
841
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
846
842
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
847
843
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
848
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
844
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
849
845
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
850
846
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
851
847
 
911
907
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
912
908
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
913
909
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
914
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
910
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
915
911
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
916
912
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
917
913
 
997
993
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
998
994
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
999
995
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1000
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
996
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1001
997
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1002
998
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
1003
999
 
1082
1078
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
1083
1079
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1084
1080
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1085
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1081
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1086
1082
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1087
1083
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
1088
1084
 
1089
 
        PORT_INCLUDE( nbmjcontrols )
 
1085
        PORT_INCLUDE( nbhf1_ctrl )
1090
1086
INPUT_PORTS_END
1091
1087
 
1092
1088
static INPUT_PORTS_START( mgion )
1148
1144
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
1149
1145
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1150
1146
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1151
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1147
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1152
1148
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1153
1149
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
1154
1150
 
1155
 
        PORT_INCLUDE( nbmjcontrols )
 
1151
        PORT_INCLUDE( nbhf1_ctrl )
1156
1152
INPUT_PORTS_END
1157
1153
 
1158
1154
static INPUT_PORTS_START( omotesnd )
1215
1211
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1216
1212
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1217
1213
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1218
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1214
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1219
1215
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
1220
1216
 
1221
 
        PORT_INCLUDE( nbmjcontrols )
 
1217
        PORT_INCLUDE( nbhf1_ctrl )
1222
1218
INPUT_PORTS_END
1223
1219
 
1224
1220
static INPUT_PORTS_START( abunai )
1279
1275
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
1280
1276
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1281
1277
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1282
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1278
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1283
1279
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1284
1280
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
1285
1281
 
1286
 
        PORT_INCLUDE( nbmjcontrols )
 
1282
        PORT_INCLUDE( nbhf1_ctrl )
1287
1283
INPUT_PORTS_END
1288
1284
 
1289
1285
static INPUT_PORTS_START( mgmen89 )
1345
1341
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
1346
1342
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1347
1343
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1348
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1344
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1349
1345
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1350
1346
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
1351
1347
 
1414
1410
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
1415
1411
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1416
1412
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1417
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1413
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1418
1414
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1419
1415
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
1420
1416
 
1479
1475
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1480
1476
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1481
1477
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )                      // COIN2
1482
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1478
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1483
1479
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1484
1480
 
1485
1481
        PORT_INCLUDE( nbmjcontrols )
1544
1540
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
1545
1541
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1546
1542
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1547
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1543
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1548
1544
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1549
1545
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
1550
1546
 
1611
1607
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1612
1608
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1613
1609
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )                      // COIN2
1614
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1610
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1615
1611
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1616
1612
 
1617
1613
        PORT_INCLUDE( nbmjcontrols )
1675
1671
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1676
1672
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1677
1673
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )                      // COIN2
1678
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1674
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1679
1675
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1680
1676
 
1681
1677
        PORT_INCLUDE( nbmjcontrols )
1740
1736
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
1741
1737
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1742
1738
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1743
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1739
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1744
1740
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1745
1741
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
1746
1742
 
1806
1802
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
1807
1803
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1808
1804
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1809
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1805
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1810
1806
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1811
1807
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
1812
1808
 
1876
1872
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1877
1873
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1878
1874
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1879
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1875
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1880
1876
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )                      // COIN2
1881
1877
 
1882
1878
        PORT_INCLUDE( nbmjcontrols )
1940
1936
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
1941
1937
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
1942
1938
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
1943
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
1939
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1944
1940
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
1945
1941
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
1946
1942
 
2020
2016
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
2021
2017
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
2022
2018
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
2023
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
2019
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2024
2020
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
2025
2021
INPUT_PORTS_END
2026
2022
 
2082
2078
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
2083
2079
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
2084
2080
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
2085
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
2081
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2086
2082
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
2087
2083
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
2088
2084
 
2147
2143
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )           // MEMORY RESET
2148
2144
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
2149
2145
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
2150
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
2146
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2151
2147
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
2152
2148
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
2153
2149
 
2217
2213
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )                     //
2218
2214
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
2219
2215
 
2220
 
        PORT_INCLUDE( nbmjcontrols )
 
2216
        PORT_INCLUDE( nbhf2_ctrl )
2221
2217
 
2222
2218
        PORT_START("PORT0-2")
2223
2219
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )                     //
2226
2222
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
2227
2223
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )                     //
2228
2224
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )                     //
2229
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
2225
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2230
2226
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )                     //
2231
2227
INPUT_PORTS_END
2232
2228
 
2293
2289
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
2294
2290
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
2295
2291
 
2296
 
        PORT_INCLUDE( nbmjcontrols )
 
2292
        PORT_INCLUDE( nbhf2_ctrl )
2297
2293
 
2298
2294
        PORT_START("PORT0-2")
2299
2295
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
2302
2298
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
2303
2299
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
2304
2300
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
2305
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
2301
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2306
2302
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
2307
2303
INPUT_PORTS_END
2308
2304
 
2369
2365
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )                     //
2370
2366
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )           // SERVICE
2371
2367
 
2372
 
        PORT_INCLUDE( nbmjcontrols )
 
2368
        PORT_INCLUDE( nbhf2_ctrl )
2373
2369
 
2374
2370
        PORT_START("PORT0-2")
2375
2371
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )                     //
2378
2374
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
2379
2375
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )                     //
2380
2376
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )                     //
2381
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
2377
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2382
2378
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )                     //
2383
2379
INPUT_PORTS_END
2384
2380
 
2544
2540
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )           // ANALYZER
2545
2541
        PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                                     // TEST
2546
2542
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                      // COIN1
2547
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )                     // CREDIT CLEAR
 
2543
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
2548
2544
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )                      // COIN2
2549
2545
 
2550
2546
        PORT_INCLUDE( nbmjcontrols )
2792
2788
        /* basic machine hardware */
2793
2789
        MDRV_IMPORT_FROM(maiko)
2794
2790
        MDRV_CPU_MODIFY("maincpu")
2795
 
        MDRV_CPU_PROGRAM_MAP(maiko_map)
 
2791
        MDRV_CPU_PROGRAM_MAP(mmaiko_map)
2796
2792
 
2797
2793
        MDRV_NVRAM_HANDLER(nb1413m3)
2798
2794
MACHINE_DRIVER_END
3879
3875
        DISK_IMAGE_READONLY( "hnageman", 0, NO_DUMP )
3880
3876
ROM_END
3881
3877
 
3882
 
 
3883
 
 
3884
 
 
3885
3878
//     YEAR,     NAME,   PARENT,  MACHINE,    INPUT,     INIT, MONITOR,COMPANY,FULLNAME,FLAGS)
3886
3879
GAME( 1988, msjiken,   0,        msjiken,  msjiken,  msjiken,  ROT270, "Nichibutsu", "Mahjong Satsujin Jiken (Japan 881017)", 0 )
3887
3880
GAME( 1988, hanamomo,  0,        hanamomo, hanamomo, hanamomo, ROT0,   "Nichibutsu", "Mahjong Hana no Momoko gumi (Japan 881201)", 0 )