Previous 199869 Revisions Next

r46593 Tuesday 22nd March, 2016 at 16:16:33 UTC by Vasantha Crabb
Improve DIP switches for kanatuen, kyuhito and idhimitu [Vas Crabb]
[src/mame/drivers]nbmj8688.cpp

trunk/src/mame/drivers/nbmj8688.cpp
r255104r255105
2020- Some games display "GFXROM BANK OVER!!" or "GFXROM ADDRESS OVER!!"
2121  in Debug build.
2222
23- Increasing the game out rate in kanatuen causes it to fail to boot (hangs at
24  black screen).
25
2326- Screen flip is not perfect.
2427
2528- Barline has wrong NMI enable trigger,causing wrong sample pitch (& sometimes
r255104r255105
811814
812815static INPUT_PORTS_START( kanatuen )
813816   PORT_START("DSWA")
814   PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
815   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
816   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
817   PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
818   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
819   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
820   PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
821   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
822   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
823   PORT_DIPNAME( 0x08, 0x08, "Character Display Test" )
817   PORT_DIPNAME( 0x07, 0x07, "Game Out Rate" )             PORT_DIPLOCATION("DSWA:1,2,3")
818   PORT_DIPSETTING(    0x07, "67%" )
819   PORT_DIPSETTING(    0x06, "70%" )
820   PORT_DIPSETTING(    0x05, "73%" )
821   PORT_DIPSETTING(    0x04, "76%" )
822   PORT_DIPSETTING(    0x03, "79%" )
823   PORT_DIPSETTING(    0x02, "82%" )
824   PORT_DIPSETTING(    0x01, "85%" )
825   PORT_DIPSETTING(    0x00, "88%" )
826   PORT_DIPNAME( 0x08, 0x08, "Character Display Test" )    PORT_DIPLOCATION("DSWA:4")
824827   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
825828   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
826   PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
829   PORT_DIPNAME( 0x10, 0x00, "Last Chance" )               PORT_DIPLOCATION("DSWA:5")
827830   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
828831   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
829   PORT_DIPNAME( 0x20, 0x20, "DIPSW 1-6" )
832   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWA:6")
830833   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
831834   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
832   PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
835   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWA:7")
833836   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
834837   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
835   PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
838   PORT_DIPNAME( 0x80, 0x00, "Double Bet" )                PORT_DIPLOCATION("DSWA:8")
836839   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
837840   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
838841
839842   PORT_START("DSWB")
840   PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
841   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
842   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
843   PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
844   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
845   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
846   PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
847   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
848   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
849   PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
850   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
851   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
852   PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
853   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
854   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
855   PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
843   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Coinage ) )          PORT_DIPLOCATION("DSWB:1")
844   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
845   PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
846   PORT_DIPNAME( 0x06, 0x06, "Bet Min" )                   PORT_DIPLOCATION("DSWB:2,3")
847   PORT_DIPSETTING(    0x06, "1" )
848   PORT_DIPSETTING(    0x04, "2" )
849   PORT_DIPSETTING(    0x02, "3" )
850   PORT_DIPSETTING(    0x00, "5" )
851   PORT_DIPNAME( 0x18, 0x18, "Bet Max" )                   PORT_DIPLOCATION("DSWB:4,5")
852   PORT_DIPSETTING(    0x18, "8" )
853   PORT_DIPSETTING(    0x10, "10" )
854   PORT_DIPSETTING(    0x08, "12" )
855   PORT_DIPSETTING(    0x00, "20" )
856   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:6")
856857   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
857858   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
858   PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
859   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:7")
859860   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
860861   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
861   PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
862   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:8")
862863   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
863864   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
864865
865866   PORT_START("SYSTEM")
866867   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
867//  PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
868   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )       //
869   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
870   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
871   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
872   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
868   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
869   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
870   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
871   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
872   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
873873   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
874   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )          // COIN2
874   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )                  // COIN2
875875
876876   PORT_INCLUDE( nbmjcontrols )
877877INPUT_PORTS_END
878878
879879static INPUT_PORTS_START( kyuhito )
880880   PORT_START("DSWA")
881   PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
882   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
883   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
884   PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
885   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
886   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
887   PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
888   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
889   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
890   PORT_DIPNAME( 0x08, 0x08, "Character Display Test" )
881   PORT_DIPNAME( 0x07, 0x07, "Game Out Rate" )             PORT_DIPLOCATION("DSWA:1,2,3")
882   PORT_DIPSETTING(    0x07, "67%" )
883   PORT_DIPSETTING(    0x06, "70%" )
884   PORT_DIPSETTING(    0x05, "73%" )
885   PORT_DIPSETTING(    0x04, "76%" )
886   PORT_DIPSETTING(    0x03, "79%" )
887   PORT_DIPSETTING(    0x02, "82%" )
888   PORT_DIPSETTING(    0x01, "85%" )
889   PORT_DIPSETTING(    0x00, "88%" )
890   PORT_DIPNAME( 0x08, 0x08, "Character Display Test" )    PORT_DIPLOCATION("DSWA:4")
891891   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
892892   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
893   PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
893   PORT_DIPNAME( 0x10, 0x00, "Last Chance" )               PORT_DIPLOCATION("DSWA:5")
894894   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
895895   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
896   PORT_DIPNAME( 0x20, 0x20, "DIPSW 1-6" )
896   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWA:6")
897897   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
898898   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
899   PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
899   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWA:7")
900900   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
901901   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
902   PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
902   PORT_DIPNAME( 0x80, 0x00, "Double Bet" )                PORT_DIPLOCATION("DSWA:8")
903903   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
904904   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
905905
906906   PORT_START("DSWB")
907   PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
908   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
909   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
910   PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
911   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
912   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
913   PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
914   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
915   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
916   PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
917   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
918   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
919   PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
920   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
921   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
922   PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
907   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Coinage ) )          PORT_DIPLOCATION("DSWB:1")
908   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
909   PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
910   PORT_DIPNAME( 0x06, 0x06, "Bet Min" )                   PORT_DIPLOCATION("DSWB:2,3")
911   PORT_DIPSETTING(    0x06, "1" )
912   PORT_DIPSETTING(    0x04, "2" )
913   PORT_DIPSETTING(    0x02, "3" )
914   PORT_DIPSETTING(    0x00, "5" )
915   PORT_DIPNAME( 0x18, 0x18, "Bet Max" )                   PORT_DIPLOCATION("DSWB:4,5")
916   PORT_DIPSETTING(    0x18, "8" )
917   PORT_DIPSETTING(    0x10, "10" )
918   PORT_DIPSETTING(    0x08, "12" )
919   PORT_DIPSETTING(    0x00, "20" )
920   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:6")
923921   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
924922   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
925   PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
923   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:7")
926924   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
927925   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
928   PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
926   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:8")
929927   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
930928   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
931929
932930   PORT_START("SYSTEM")
933931   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
934//  PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
935   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )       //
936   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
937   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
938   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
939   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
932   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
933   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
934   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
935   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
936   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
940937   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
941   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )          // COIN2
938   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )                  // COIN2
942939
943940   PORT_INCLUDE( nbmjcontrols )
944941INPUT_PORTS_END
945942
946943static INPUT_PORTS_START( idhimitu )
947944   PORT_START("DSWA")
948   PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
949   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
950   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
951   PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
952   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
953   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
954   PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
955   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
956   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
957   PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
958   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
959   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
960   PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
961   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
962   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
963   PORT_DIPNAME( 0x20, 0x20, "DIPSW 1-6" )
964   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
965   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
966   PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
945   PORT_DIPNAME( 0x07, 0x07, "Game Out Rate" )             PORT_DIPLOCATION("DSWA:1,2,3")
946   PORT_DIPSETTING(    0x00, "55%" )
947   PORT_DIPSETTING(    0x01, "60%" )
948   PORT_DIPSETTING(    0x02, "65%" )
949   PORT_DIPSETTING(    0x03, "70%" )
950   PORT_DIPSETTING(    0x04, "75%" )
951   PORT_DIPSETTING(    0x05, "80%" )
952   PORT_DIPSETTING(    0x06, "85%" )
953   PORT_DIPSETTING(    0x07, "90%" )
954   PORT_DIPNAME( 0x18, 0x18, DEF_STR( Coinage ) )          PORT_DIPLOCATION("DSWA:4,5")
955   PORT_DIPSETTING(    0x18, DEF_STR( 1C_1C ) )
956   PORT_DIPSETTING(    0x10, DEF_STR( 1C_2C ) )
957   PORT_DIPSETTING(    0x08, DEF_STR( 1C_5C ) )
958   PORT_DIPSETTING(    0x00, "1 Coin / 10 Credits" )
959   PORT_DIPNAME( 0x20, 0x20, "Bet Max" )                   PORT_DIPLOCATION("DSWA:6")
960   PORT_DIPSETTING(    0x00, "1" )
961   PORT_DIPSETTING(    0x20, "20" )
962   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWA:7")
967963   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
968964   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
969   PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
965   PORT_DIPNAME( 0x80, 0x00, "Last Chance" )               PORT_DIPLOCATION("DSWA:8")
970966   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
971967   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
972968
973969   PORT_START("DSWB")
974   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
970   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )      PORT_DIPLOCATION("DSWB:1")
975971   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
976972   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
977   PORT_DIPNAME( 0x02, 0x02, "Character Display Test" )
973   PORT_DIPNAME( 0x02, 0x02, "Character Display Test" )    PORT_DIPLOCATION("DSWB:2")
978974   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
979975   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
980   PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
976   PORT_DIPNAME( 0x04, 0x04, "Double Bet" )                PORT_DIPLOCATION("DSWB:3")
981977   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
982978   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
983   PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
979   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:4")
984980   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
985981   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
986   PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
982   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:5")
987983   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
988984   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
989   PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
985   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:6")
990986   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
991987   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
992   PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
988   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:7")
993989   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
994990   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
995   PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
991   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSWB:8")
996992   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
997993   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
998994
999995   PORT_START("SYSTEM")
1000996   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL ) PORT_CUSTOM_MEMBER(DEVICE_SELF, nbmj8688_state, nb1413m3_busyflag_r, NULL)    // DRAW BUSY
1001//  PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )         //
1002   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )       //
1003   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )       // MEMORY RESET
1004   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 )       // ANALYZER
1005   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                 // TEST
1006   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )          // COIN1
997   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
998   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE3 )               // MEMORY RESET
999   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE   // ANALYZER
1000   PORT_SERVICE( 0x10, IP_ACTIVE_LOW )                         // TEST
1001   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )                  // COIN1
10071002   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_NAME("Credit Clear") PORT_CODE(KEYCODE_4) // CREDIT CLEAR
1008   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )          // COIN2
1003   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )                  // COIN2
10091004
10101005   PORT_INCLUDE( nbmjcontrols )
10111006INPUT_PORTS_END


Previous 199869 Revisions Next


© 1997-2024 The MAME Team