|
| 1 | +// license:BSD-3-Clause |
| 2 | +// copyright-holders: |
| 3 | + |
| 4 | +/* |
| 5 | + Skeleton driver for Inder "Bullion 2" slot machine. |
| 6 | + The hardware for Bullion 3 (undumped) is almost the same, the main difference is that Bullion 2 has three reels, |
| 7 | + and Bullion 3 has four. |
| 8 | +
|
| 9 | + Reels sequence for Bullion 2: |
| 10 | +
|
| 11 | + +--------+--------+--------+ |
| 12 | + | BAR | BELL | GRAPE | <- Default after reset |
| 13 | + +--------+--------+--------+ |
| 14 | + | MELON | CHERRY | PLUM | |
| 15 | + +--------+--------+--------+ |
| 16 | + | GRAPE | CHERRY | MELON | |
| 17 | + +--------+--------+--------+ |
| 18 | + | BELL | BANANA | LEMON | |
| 19 | + +--------+--------+--------+ |
| 20 | + | PLUM | GRAPE | CHERRY | |
| 21 | + +--------+--------+--------+ |
| 22 | + | BANANA | BAR | BELL | |
| 23 | + +--------+--------+--------+ |
| 24 | + | LEMON | LEMON | BAR | |
| 25 | + +--------+--------+--------+ |
| 26 | + | CHERRY | PLUM | BANANA | |
| 27 | + +--------+--------+--------+ |
| 28 | +
|
| 29 | + Dip switches for Bullion 2: |
| 30 | +
|
| 31 | + DIP1 -> |ON |HOPPER| default ON |
| 32 | + DIP2 | |OFF|PULSES| |
| 33 | + DIP3 | |
| 34 | + DIP4 | |ON |DEMO SOUND | default ON |
| 35 | + DIP5 | /->|OFF|NO DEMO SOUND| |
| 36 | + DIP6 --/ |
| 37 | + DIP7 --> |OFF |OFF |ON |ON | default ON |
| 38 | + DIP8 --> |OFF |ON |OFF |ON | default ON |
| 39 | + |LONGER |LONG |SHORT |SHORTER| |
| 40 | + | REELS SPINNING TIME | |
| 41 | +
|
| 42 | + Dip switches 2, 3, 4, 5 unused (default ON). |
| 43 | +
|
| 44 | + Also, you can change the plug on the percentages PCB to change the payments: |
| 45 | + Plug A = 78% |
| 46 | + Plug B = 80% default |
| 47 | + Plug C = 82% |
| 48 | + Plug D = 84% |
| 49 | + |
| 50 | + Complete manual (for both Bullion 2 and Bullion 3) with schematics and dip switches can be downloaded from: |
| 51 | + https://www.recreativas.org/manuales/tragaperras |
| 52 | +*/ |
| 53 | + |
| 54 | +#include "emu.h" |
| 55 | +#include "cpu/z80/z80.h" |
| 56 | +#include "sound/sn76496.h" |
| 57 | +#include "speaker.h" |
| 58 | + |
| 59 | + |
| 60 | +namespace { |
| 61 | + |
| 62 | +class bullion2_state : public driver_device |
| 63 | +{ |
| 64 | +public: |
| 65 | + bullion2_state(const machine_config &mconfig, device_type type, const char *tag) : |
| 66 | + driver_device(mconfig, type, tag), |
| 67 | + m_maincpu(*this, "maincpu"), |
| 68 | + m_sn(*this, "sn76489") |
| 69 | + { } |
| 70 | + |
| 71 | + void bullion2(machine_config &config); |
| 72 | + |
| 73 | +protected: |
| 74 | + virtual void machine_start() override; |
| 75 | + virtual void machine_reset() override; |
| 76 | + |
| 77 | + required_device<cpu_device> m_maincpu; |
| 78 | + required_device<sn76489_device> m_sn; |
| 79 | +}; |
| 80 | + |
| 81 | +void bullion2_state::machine_start() |
| 82 | +{ |
| 83 | +} |
| 84 | + |
| 85 | +void bullion2_state::machine_reset() |
| 86 | +{ |
| 87 | +} |
| 88 | + |
| 89 | +static INPUT_PORTS_START( bullion2 ) |
| 90 | + PORT_START("DSW0") |
| 91 | + PORT_DIPUNKNOWN_DIPLOC(0x01, 0x01, "SW0:1") |
| 92 | + PORT_DIPUNKNOWN_DIPLOC(0x02, 0x02, "SW0:2") |
| 93 | + PORT_DIPUNKNOWN_DIPLOC(0x04, 0x04, "SW0:3") |
| 94 | + PORT_DIPUNKNOWN_DIPLOC(0x08, 0x08, "SW0:4") |
| 95 | + PORT_DIPUNKNOWN_DIPLOC(0x10, 0x10, "SW0:5") |
| 96 | + PORT_DIPUNKNOWN_DIPLOC(0x20, 0x20, "SW0:6") |
| 97 | + PORT_DIPUNKNOWN_DIPLOC(0x40, 0x40, "SW0:7") |
| 98 | + PORT_DIPUNKNOWN_DIPLOC(0x80, 0x80, "SW0:8") |
| 99 | +INPUT_PORTS_END |
| 100 | + |
| 101 | +void bullion2_state::bullion2(machine_config &config) |
| 102 | +{ |
| 103 | + // CPU PCB Inder "60-977" |
| 104 | + |
| 105 | + Z80( config, m_maincpu, 4_MHz_XTAL ); // NEC D780C |
| 106 | + |
| 107 | + // Sound PCB Inder "60-083" |
| 108 | + |
| 109 | + SPEAKER( config, "mono" ).front_center(); |
| 110 | + |
| 111 | + SN76489( config, m_sn, 4_MHz_XTAL ); |
| 112 | + m_sn->add_route( ALL_OUTPUTS, "mono", 1.0 ); |
| 113 | +} |
| 114 | + |
| 115 | +ROM_START( bullion2 ) |
| 116 | + ROM_REGION( 0x3000, "maincpu", 0 ) |
| 117 | + ROM_LOAD( "inder_sa_m-17_bullion_2_rom_0_020584.ci19", 0x0000, 0x1000, CRC(fb13407c) SHA1(16a3cdcbe87f17c4bb6a78a8ac47f58d25a4483f) ) |
| 118 | + ROM_LOAD( "inder_sa_m-17_bullion_2_rom_1_020584.ci20", 0x1000, 0x1000, CRC(4857aa2d) SHA1(4f80fde62ce0d0f85df009ac5c1021263049b95a) ) |
| 119 | + ROM_LOAD( "inder_sa_m-17_bullion_2_rom_2_020584.ci21", 0x2000, 0x1000, CRC(2f607456) SHA1(a52ad5e8aeeb7e67ff07569377f19de46ee185ea) ) |
| 120 | +ROM_END |
| 121 | + |
| 122 | + |
| 123 | +} // anonymous namespace |
| 124 | + |
| 125 | + |
| 126 | +// YEAR NAME PARENT MACHINE INPUT CLASS INIT ROTATION COMPANY FULLNAME FLAGS |
| 127 | +GAME( 1984, bullion2, 0, bullion2, bullion2, bullion2_state, empty_init, ROT0, "Inder", "Bullion 2", MACHINE_IS_SKELETON ) |
0 commit comments