1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
// license:BSD-3-Clause
// copyright-holders:David Haywood
/***************************************************************************
Pot of Gold (c)200? U. S. Games
it appears this is just the name of a series of machines with different
software themes?
board has the following etched
US GAMES
MADE IN USA
P/N: 34010 REV C-1
potgoldu: not sure this is a good dump.. one rom is much bigger than the others
and doesn't seem to pair with the ROM I'd expect it to pair with...
I'm just tagging the whole thing as BAD_DUMP for now.
***************************************************************************/
#include "emu.h"
#include "cpu/tms34010/tms34010.h"
#include "cpu/m6805/m68hc05.h"
#include "screen.h"
class potgold_state : public driver_device
{
public:
potgold_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
void potgold(machine_config &config);
void potgold580(machine_config &config);
private:
virtual void machine_reset() override;
virtual void video_start() override;
TMS340X0_SCANLINE_RGB32_CB_MEMBER(scanline_update);
void potgold_map(address_map &map);
required_device<tms34010_device> m_maincpu;
};
void potgold_state::video_start()
{
}
TMS340X0_SCANLINE_RGB32_CB_MEMBER(potgold_state::scanline_update)
{
}
void potgold_state::machine_reset()
{
}
void potgold_state::potgold_map(address_map &map)
{
map(0x08000000, 0x080bffff).ram();
map(0xff000000, 0xffffffff).rom().region("user1", 0);
}
static INPUT_PORTS_START( potgold )
INPUT_PORTS_END
void potgold_state::potgold(machine_config &config)
{
/* basic machine hardware */
TMS34010(config, m_maincpu, 40_MHz_XTAL);
m_maincpu->set_addrmap(AS_PROGRAM, &potgold_state::potgold_map);
m_maincpu->set_halt_on_reset(false);
m_maincpu->set_pixel_clock(22.1184_MHz_XTAL / 22);
m_maincpu->set_pixels_per_clock(1);
m_maincpu->set_scanline_rgb32_callback(FUNC(potgold_state::scanline_update));
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
screen.set_raw(22.1184_MHz_XTAL / 2, 444, 0, 320, 233, 0, 200);
screen.set_screen_update("maincpu", FUNC(tms34010_device::tms340x0_rgb32));
/* sound hardware */
//YM2413(config, "ymsnd", 3.579545_MHz_XTAL);
}
void potgold_state::potgold580(machine_config &config)
{
potgold(config);
//YMF721S(config.replace(), "ymsnd", 33.8688_MHz_XTAL);
M68HC705J1A(config, "mcu", 4_MHz_XTAL);
}
ROM_START( potgoldu )
ROM_REGION16_LE( 0x400000, "user1", 0 ) /* 34010 code */
// these two are definitely a pair
ROM_LOAD16_BYTE( "400x.u5", 0x180000, 0x20000, BAD_DUMP CRC(4949300b) SHA1(edf5e3de8561258ceb8fc0ab0291859d2cf7c21b) )
ROM_LOAD16_BYTE( "400x.u9", 0x180001, 0x20000, BAD_DUMP CRC(80e1ab14) SHA1(36595446d73dc5bf5c7f47b9385e5fdc84cce195) )
// these two.. don't match up
ROM_LOAD16_BYTE( "400x.u4", 0x180000, 0x20000, BAD_DUMP CRC(66d6697c) SHA1(6e1072cce70b56b8bf186cbb0f3dcc970ef6ca39) ) // the end of this seems to fit in as you'd expect, before u3
ROM_LOAD16_BYTE( "400x.u8", 0x180001, 0x80000, BAD_DUMP CRC(0496bc92) SHA1(ae80b3de856ae60de29e2d7e05c6ed5fb37232a9) ) // the start of this resembles u9.. the rest doesn't seem to match up with anything? there are odd bytes of text strings etc.
// these two are definitely a pair
ROM_LOAD16_BYTE( "400x.u3", 0x1c0000, 0x20000, BAD_DUMP CRC(c0894db0) SHA1(d68321949250bfe0f14bd5ef8d115ba4b3786b8b) )
ROM_LOAD16_BYTE( "400x.u7", 0x1c0001, 0x20000, BAD_DUMP CRC(0953ecf7) SHA1(91cbe5d9aff171902dc3eb43a308a7a833c8fb71) )
// no MCU for this hardware revision
ROM_END
ROM_START( potgoldu580 ) // TMS34010FNL-40 + MC68H705 + YMF704C + ADV476KP35 RAMDAC + SC28L198A1A UART + EPM7192SQC160-10 CPLD
ROM_REGION16_LE( 0x400000, "user1", 0 ) /* 34010 code */
ROM_LOAD16_BYTE( "pog_580f.u4", 0x100000, 0x80000, CRC(087704d2) SHA1(915c0c57d014d04d5016099915b754e7592cbb0d) )
ROM_LOAD16_BYTE( "pog_580f.u7", 0x100001, 0x80000, CRC(4b76499b) SHA1(3d377107a201607d63f802f54771ae562b60ae27) )
ROM_LOAD16_BYTE( "pog_580f.u5", 0x000000, 0x80000, CRC(64c3b488) SHA1(30564feee544f7b4d1d48c68dbfcd6ae0ae1b220) )
ROM_LOAD16_BYTE( "pog_580f.u8", 0x000001, 0x80000, CRC(cca108a4) SHA1(edd46df79bd8835ca61b5d48277de4a70a83e2a0) )
// Dumper's note: "Security" chip needed to run the game. However from what I can tell the chip only collates the bins, dumps them to ram, and keeps settings.
ROM_REGION( 0x800, "mcu", 0 )
ROM_LOAD( "potgoldu_mc68hc705j1acp.bin", 0x000, 0x800, CRC(4130e596) SHA1(cd7e80a371abd4208a64c537fc84f1525be9203c) ) // 'Ver 1.00a' (assumed to be for this set)
ROM_END
GAME( 200?, potgoldu, 0, potgold, potgold, potgold_state, empty_init, ROT0, "U.S. Games Inc.", "Pot O' Gold (U.S. Games, v400x?)", MACHINE_IS_SKELETON )
GAME( 2001, potgoldu580, potgoldu, potgold580, potgold, potgold_state, empty_init, ROT0, "U.S. Games Inc.", "Pot O' Gold (U.S. Games, v580F)", MACHINE_IS_SKELETON )
|