Previous 199869 Revisions Next

r36279 Friday 6th March, 2015 at 01:38:11 UTC by Vasantha Crabb
Crazy Bonus WIP [Amanda King, Vas Crabb]:
* Fix input mapping - all inputs and DIPs work in switch test
* Fix AY8910 mapping, data read and write are at different addresses
* Document all DIPs shown in settings screen
* Document coin value, coin limit and credit limit DIPs (determined with debugger)
* Document DIPs with easily visible effect on game
* Fix input naming
* Still many unknown DIPs require investigation

New games added or promoted from NOT_WORKING status
---------------------------------------------------
Crazy Bonus 2002 [Amanda King, Vas Crabb]
[src/mame/drivers]goldstar.c

trunk/src/mame/drivers/goldstar.c
r244790r244791
642642ADDRESS_MAP_END
643643
644644
645static ADDRESS_MAP_START( pkrmast_portmap, AS_IO, 8, goldstar_state )
646   ADDRESS_MAP_GLOBAL_MASK(0xff)
647
648   AM_RANGE(0x04, 0x04) AM_DEVREAD("aysnd", ay8910_device, data_r)
649   AM_RANGE(0x08, 0x08) AM_DEVWRITE("aysnd", ay8910_device, data_w)
650   AM_RANGE(0x0c, 0x0c) AM_DEVWRITE("aysnd", ay8910_device, address_w)
651
652   AM_RANGE(0x10, 0x10) AM_READ_PORT("IN0")
653   AM_RANGE(0x11, 0x11) AM_READ_PORT("IN1")
654   AM_RANGE(0x12, 0x12) AM_READ_PORT("IN2")
655
656   AM_RANGE(0x20, 0x20) AM_READ_PORT("DSW3-0")
657   AM_RANGE(0x21, 0x21) AM_READ_PORT("DSW3-1")
658
659   AM_RANGE(0x25, 0x25) AM_READ_PORT("DSW1")
660   AM_RANGE(0x26, 0x26) AM_READ_PORT("DSW2")
661ADDRESS_MAP_END
662
663
645664static ADDRESS_MAP_START( cmast91_portmap, AS_IO, 8, goldstar_state )
646665   ADDRESS_MAP_GLOBAL_MASK(0xff)
647666   AM_RANGE(0x00, 0x03) AM_DEVREADWRITE("ppi8255_0", i8255_device, read, write)    /* Input Ports */
r244790r244791
63646383INPUT_PORTS_END
63656384
63666385
6367static INPUT_PORTS_START( crazybon )    // to analyze...
6386static INPUT_PORTS_START( crazybon )
63686387   PORT_START("IN0")
6369   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_1) PORT_NAME("IN0-1")
6370   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_2) PORT_NAME("IN0-2")
6371   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_3) PORT_NAME("IN0-3: BIG")
6372   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4) PORT_NAME("IN0-4: DOUBLE UP")
6373   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_5) PORT_NAME("IN0-5: TAKE")
6374   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_6) PORT_NAME("IN0-6: BET")
6375   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_7) PORT_NAME("IN0-7: SMALL")
6376   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_8) PORT_NAME("IN0-8: START")
6388   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
6389   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
6390   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_GAMBLE_HIGH )    PORT_NAME("Big")
6391   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_GAMBLE_D_UP )
6392   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_SLOT_STOP_ALL )  PORT_NAME("Stop All / Take Score")
6393   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
6394   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_LOW )     PORT_NAME("Small / Info")
6395   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )         PORT_NAME("Start")
63776396
63786397   PORT_START("IN1")
6379   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Q) PORT_NAME("IN1-1")
6380   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_W) PORT_NAME("IN1-2")
6381   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_E) PORT_NAME("IN1-3")
6382   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_R) PORT_NAME("IN1-4")
6383   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_T) PORT_NAME("IN1-5: COIN A")
6384   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Y) PORT_NAME("IN1-6: COIN B")
6385   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_U) PORT_NAME("IN1-7: NOTE IN")
6386   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_I) PORT_NAME("IN1-8: COIN C")
6398   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
6399   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
6400   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
6401   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
6402   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_IMPULSE(2) PORT_NAME("Coin B")
6403   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN3 ) PORT_IMPULSE(2) PORT_NAME("Coin C")
6404   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_KEYIN )
6405   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 ) PORT_IMPULSE(2) PORT_NAME("Coin A")
63876406
63886407   PORT_START("IN2")
6389   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_A) PORT_NAME("IN2-1")
6390   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_S) PORT_NAME("IN2-2")
6391   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_D) PORT_NAME("IN2-3")
6392   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F) PORT_NAME("IN2-4")
6393   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_G) PORT_NAME("IN2-5: KEYOUT")
6394   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_H) PORT_NAME("IN2-6: HOPPER LIMITED PAYOUT")
6395   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_F2) PORT_NAME("IN2-7: TEST MODE") PORT_TOGGLE
6396   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_K) PORT_NAME("IN2-8: STATISTICS")
6408   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
6409   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
6410   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
6411   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
6412   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_GAMBLE_KEYOUT ) PORT_NAME("Key Out / Attendant")
6413   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
6414   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_SERVICE ) PORT_NAME("Settings")
6415   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_BOOK ) PORT_NAME("Stats")
63976416
6398   PORT_START("IN3")
6399   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_Z) PORT_NAME("IN3-1")
6400   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_X) PORT_NAME("IN3-2")
6401   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_C) PORT_NAME("IN3-3")
6402   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_V) PORT_NAME("IN3-4")
6403   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_B) PORT_NAME("IN3-5")
6404   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_N) PORT_NAME("IN3-6")
6405   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_M) PORT_NAME("IN3-7")
6406   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_L) PORT_NAME("IN3-8")
6407
6408   PORT_START("IN4")
6409   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("IN4-1")
6410   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("IN4-2")
6411   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("IN4-3")
6412   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("IN4-4")
6413   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_5_PAD) PORT_NAME("IN4-5")
6414   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_6_PAD) PORT_NAME("IN4-6")
6415   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_7_PAD) PORT_NAME("IN4-7")
6416   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_OTHER ) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("IN4-8")
6417
64186417   PORT_START("DSW1")
6419   PORT_DIPNAME( 0x01, 0x01, "DSW1" )                  PORT_DIPLOCATION("SW1:1")
6418   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW1:1")
64206419   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
64216420   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6422   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:2")
6421   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW1:2")
64236422   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
64246423   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6425   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:3")
6424   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW1:3")
64266425   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
64276426   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6428   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:4")
6427   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW1:4")
64296428   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
64306429   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6431   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:5")
6432   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
6433   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6434   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:6")
6430   PORT_DIPNAME( 0x10, 0x00, "Double Up Game Pay Rate" )   PORT_DIPLOCATION("DSW1:5")      /* OK */
6431   PORT_DIPSETTING(    0x10, "80%" )
6432   PORT_DIPSETTING(    0x00, "90%" )
6433   PORT_DIPNAME( 0x20, 0x00, "Double Up Game" )            PORT_DIPLOCATION("DSW1:6")      /* OK */
64356434   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
64366435   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6437   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:7")
6438   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
6439   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6440   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW1:8")
6441   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
6442   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6436   PORT_DIPNAME( 0xc0, 0x00, "Max Bet" )                   PORT_DIPLOCATION("DSW1:7,8")    /* OK */
6437   PORT_DIPSETTING(    0xc0, "16" )
6438   PORT_DIPSETTING(    0x80, "32" )
6439   PORT_DIPSETTING(    0x40, "64" )
6440   PORT_DIPSETTING(    0x00, "96" )
64436441
64446442   PORT_START("DSW2")
6445   PORT_DIPNAME( 0x01, 0x01, "DSW2" )                  PORT_DIPLOCATION("SW2:1")
6446   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
6447   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6448   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:2")
6449   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
6450   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6451   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:3")
6452   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
6453   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6454   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:4")
6443   PORT_DIPNAME( 0x07, 0x00, "Main Game Pay Rate" )        PORT_DIPLOCATION("DSW2:1,2,3")  /* OK */
6444   PORT_DIPSETTING(    0x00, "55%" )
6445   PORT_DIPSETTING(    0x01, "60%" )
6446   PORT_DIPSETTING(    0x02, "65%" )
6447   PORT_DIPSETTING(    0x03, "70%" )
6448   PORT_DIPSETTING(    0x04, "75%" )
6449   PORT_DIPSETTING(    0x05, "80%" )
6450   PORT_DIPSETTING(    0x06, "85%" )
6451   PORT_DIPSETTING(    0x07, "90%" )
6452   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW2:4")
64556453   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
64566454   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6457   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:5")
6455   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW2:5")
64586456   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
64596457   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6460   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:6")
6458   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW2:6")
64616459   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
64626460   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6463   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:7")
6461   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW2:7")
64646462   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
64656463   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6466   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW2:8")
6464   PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW2:8")
64676465   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
64686466   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
64696467
6470   PORT_START("DSW3")
6471   PORT_DIPNAME( 0x01, 0x01, "DSW3" )                  PORT_DIPLOCATION("SW3:1")
6468   PORT_START("DSW3-0")
6469   PORT_DIPNAME( 0x03, 0x03, "Key In Rate" )               PORT_DIPLOCATION("DSW3:1,2")    /* OK */
6470   PORT_DIPSETTING(    0x03, "1 Coin/10 Credits" )
6471   PORT_DIPSETTING(    0x02, "1 Coin/50 Credits" )
6472   PORT_DIPSETTING(    0x01, "1 Coin/100 Credits" )
6473   PORT_DIPSETTING(    0x00, "1 Coin/500 Credits" )
6474   PORT_DIPNAME( 0x0c, 0x0c, "Coin A Rate" )               PORT_DIPLOCATION("DSW3:3,4")    /* OK */
6475   PORT_DIPSETTING(    0x0c, DEF_STR( 1C_1C ) )
6476   PORT_DIPSETTING(    0x08, DEF_STR( 1C_5C ) )
6477   PORT_DIPSETTING(    0x04, "1 Coin/10 Credits" )
6478   PORT_DIPSETTING(    0x00, "1 Coin/50 Credits" )
6479
6480   PORT_START("DSW3-1")
6481   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW3:5")
64726482   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
64736483   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6474   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW3:2")
6484   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW3:6")
64756485   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
64766486   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6477   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW3:3")
6487   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW3:7")
64786488   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
64796489   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6480   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW3:4")
6490   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW3:8")
64816491   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
64826492   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6483   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW3:5")
6484   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
6485   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6486   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW3:6")
6487   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
6488   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6489   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW3:7")
6490   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
6491   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6492   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW3:8")
6493   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
6494   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
64956493
64966494   PORT_START("DSW4")
6497   PORT_DIPNAME( 0x01, 0x01, "DSW4" )                  PORT_DIPLOCATION("SW4:1")
6498   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
6499   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6500   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW4:2")
6501   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
6502   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6503   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW4:3")
6504   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
6505   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6506   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW4:4")
6495   PORT_DIPNAME( 0x07, 0x07, "Credit Limit" )              PORT_DIPLOCATION("DSW4:1,2,3")  /* OK */
6496   PORT_DIPSETTING(    0x07, "5,000" )
6497   PORT_DIPSETTING(    0x06, "10,000" )
6498   PORT_DIPSETTING(    0x05, "20,000" )
6499   PORT_DIPSETTING(    0x04, "30,000" )
6500   PORT_DIPSETTING(    0x03, "40,000" )
6501   PORT_DIPSETTING(    0x02, "50,000" )
6502   PORT_DIPSETTING(    0x01, "100,000" )
6503   PORT_DIPSETTING(    0x00, "Unlimited" )
6504   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW4:4")
65076505   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
65086506   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6509   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW4:5")
6507   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW4:5")
65106508   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
65116509   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6512   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW4:6")
6513   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
6514   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6515   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW4:7")
6516   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
6517   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6518   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW4:8")
6510   PORT_DIPNAME( 0x20, 0x20, "Bonus Min Bet" )             PORT_DIPLOCATION("DSW4:6")      /* OK */
6511   PORT_DIPSETTING(    0x20, "16" )
6512   PORT_DIPSETTING(    0x00, "32" )
6513   PORT_DIPNAME( 0x40, 0x40, "C.M. Reel Speed" )           PORT_DIPLOCATION("DSW4:7")      /* OK */
6514   PORT_DIPSETTING(    0x40, DEF_STR( Low ) )
6515   PORT_DIPSETTING(    0x00, DEF_STR( High ) )
6516   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW4:8")
65196517   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
65206518   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
65216519
65226520   PORT_START("DSW5")
6523   PORT_DIPNAME( 0x01, 0x01, "DSW5" )                  PORT_DIPLOCATION("SW5:1")
6521   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW5:1")
65246522   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
65256523   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6526   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW5:2")
6527   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
6528   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6529   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW5:3")
6530   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
6531   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6532   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW5:4")
6524   PORT_DIPNAME( 0x06, 0x06, "Coin In Limit" )             PORT_DIPLOCATION("DSW5:2,3")    /* OK */
6525   PORT_DIPSETTING(    0x06, "1,500" )
6526   PORT_DIPSETTING(    0x04, "5,500" )
6527   PORT_DIPSETTING(    0x02, "10,500" )
6528   PORT_DIPSETTING(    0x00, "20,500" )
6529   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW5:4")
65336530   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
65346531   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6535   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW5:5")
6532   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW5:5")
65366533   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
65376534   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6538   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW5:6")
6539   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
6540   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6541   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW5:7")
6542   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
6543   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6544   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW5:8")
6535   PORT_DIPNAME( 0x60, 0x60, "Game Min Bet" )              PORT_DIPLOCATION("DSW5:6,7")    /* OK */
6536   PORT_DIPSETTING(    0x60, "1" )
6537   PORT_DIPSETTING(    0x40, "8" )
6538   PORT_DIPSETTING(    0x20, "16" )
6539   PORT_DIPSETTING(    0x00, "32" )
6540   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )          PORT_DIPLOCATION("DSW5:8")
65456541   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
65466542   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6547
6548   PORT_START("DSW6")
6549   PORT_DIPNAME( 0x01, 0x01, "DSW6" )                  PORT_DIPLOCATION("SW6:1")
6550   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
6551   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6552   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW6:2")
6553   PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
6554   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6555   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW6:3")
6556   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
6557   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6558   PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW6:4")
6559   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
6560   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6561   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW6:5")
6562   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
6563   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6564   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW6:6")
6565   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
6566   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6567   PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW6:7")
6568   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
6569   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
6570   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )      PORT_DIPLOCATION("SW6:8")
6571   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
6572   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
65736543INPUT_PORTS_END
65746544
65756545static INPUT_PORTS_START( cmpacman )
r244790r244791
87118681   /* basic machine hardware */
87128682   MCFG_CPU_ADD("maincpu", Z80, CPU_CLOCK)
87138683   MCFG_CPU_PROGRAM_MAP(cm_map)
8714   MCFG_CPU_IO_MAP(cm_portmap)
8684   MCFG_CPU_IO_MAP(pkrmast_portmap)
87158685   MCFG_CPU_VBLANK_INT_DRIVER("screen", goldstar_state,  irq0_line_hold)
87168686
8717   MCFG_DEVICE_ADD("ppi8255_0", I8255A, 0)
8718   MCFG_I8255_IN_PORTA_CB(IOPORT("IN0"))
8719   MCFG_I8255_IN_PORTB_CB(IOPORT("IN1"))
8720   MCFG_I8255_IN_PORTC_CB(IOPORT("IN2"))
8721
8722   MCFG_DEVICE_ADD("ppi8255_1", I8255A, 0)
8723   MCFG_I8255_IN_PORTA_CB(IOPORT("DSW1"))
8724   MCFG_I8255_IN_PORTB_CB(IOPORT("DSW2"))
8725   MCFG_I8255_IN_PORTC_CB(IOPORT("DSW3"))
8726
87278687   /* video hardware */
87288688   MCFG_SCREEN_ADD("screen", RASTER)
87298689   MCFG_SCREEN_REFRESH_RATE(60)
r244790r244791
87358695
87368696   MCFG_GFXDECODE_ADD("gfxdecode", "palette", pkrmast)
87378697   MCFG_PALETTE_ADD("palette", 256)
8738   MCFG_PALETTE_INIT_OWNER(goldstar_state,cm)
8698   MCFG_PALETTE_INIT_OWNER(goldstar_state, cm)
87398699   MCFG_NVRAM_ADD_1FILL("nvram")
87408700
8741   MCFG_VIDEO_START_OVERRIDE(goldstar_state,cherrym)
8701   MCFG_VIDEO_START_OVERRIDE(goldstar_state, cherrym)
87428702
87438703   /* sound hardware */
87448704   MCFG_SPEAKER_STANDARD_MONO("mono")
r244790r244791
1406114021GAME(  2001, super9,    goldstar, super9,   goldstar, goldstar_state, super9,    ROT0, "Playmark",          "Super Nove (Playmark)",                       GAME_NOT_WORKING )   // need to decode gfx and see the program loops/reset...
1406214022GAME(  2001, wcherry,   0,        wcherry,  chrygld,  goldstar_state, wcherry,   ROT0, "bootleg",           "Win Cherry (ver 0.16 - 19990219)",            GAME_NOT_WORKING )
1406314023GAME(  199?, star100,   0,        star100,  star100,  driver_device,  0,         ROT0, "Sang Ho",           "Ming Xing 100 (Star 100)",                    GAME_IMPERFECT_COLORS )
14064GAME(  1997, crazybon,  0,        pkrmast,  crazybon, goldstar_state, cmv4,      ROT0, "bootleg (ED93)",    "Crazy Bonus 2002",                            GAME_NOT_WORKING )
14024GAME(  1997, crazybon,  0,        pkrmast,  crazybon, goldstar_state, cmv4,      ROT0, "bootleg (Crazy Co.)", "Crazy Bonus 2002",                          GAME_IMPERFECT_COLORS )
1406514025
1406614026
1406714027// are these really dyna, or bootlegs?


Previous 199869 Revisions Next


© 1997-2024 The MAME Team