/
unianapc.cpp
106 lines (77 loc) · 3.45 KB
/
unianapc.cpp
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
// license:BSD-3-Clause
// copyright-holders:
/*
Uniana PC hardware (shared by other Korean companies)
TODO:
- both dhunting and hogwild dumps looks bad, it gets recognized by shutms11 in BIOS but throws "Missing Operating System" on boot. hogwild will also lots of write errors in winimage,
eventually causing a crash in the program.
Intel Celeron CPU, 1.70GHz
MSI MS-6566E VER: 2 motherboard
Samsung 256MB DDR PC2100 CL2.5 RAM
Inside TNC 128MB(?) VGA Graphics Video Card E-G012-01-1247 <- seems to be a Korean OEM for nVidia GeForce2 MX400 (NV11) -AS
Dynamic 4281 Rev. A sound card by Jin Information Technology with Crystal CS4281 sound chip
DM Storage DM2560V00 IDE flash storage device
IO board
Game Box's Dream Hunting has the same hardware minus the sound card.
It also sports a gun IO board. Two version exist (CGA and VGA). Currently only VGA is dumped.
Other games believed to run on this hardware (* denotes a copy is in MAME friendly hands):
Frenzy Express (Uniana, 2001) *
S.A.P.T. (Uniana, 2004)
Possibly on other hardware (Crystal System ?)
Dojeon! OX Survival (Uniana, 2002)
Dojeon! OX Survival Plus (Uniana, 2002)
*/
#include "emu.h"
#include "cpu/i386/i386.h"
#include "machine/pci.h"
namespace {
class unianapc_state : public driver_device
{
public:
unianapc_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
{ }
void unianapc(machine_config &config);
private:
required_device<cpu_device> m_maincpu;
void unianapc_map(address_map &map);
};
void unianapc_state::unianapc_map(address_map &map)
{
}
static INPUT_PORTS_START( unianapc )
INPUT_PORTS_END
void unianapc_state::unianapc(machine_config &config)
{
/* basic machine hardware */
PENTIUM3(config, m_maincpu, 100'000'000); // actually a Celeron at 1.70 GHz
m_maincpu->set_addrmap(AS_PROGRAM, &unianapc_state::unianapc_map);
m_maincpu->set_disable();
PCI_ROOT(config, "pci", 0);
// ...
}
/***************************************************************************
Game drivers
***************************************************************************/
ROM_START( dhunting )
ROM_REGION32_LE( 0x20000, "bios", 0)
ROM_LOAD("mbbios", 0x10000, 0x10000, NO_DUMP )
ROM_REGION( 0x10000, "vbios", 0 ) // video card BIOS
ROM_LOAD( "videobios", 0x000000, 0x00d000, NO_DUMP )
ROM_REGION( 0x2000, "gunio", 0 ) // IO card (VGA version)
ROM_LOAD( "u2.at89c52", 0x0000, 0x2000, CRC(afb0e1c7) SHA1(2f621be62f935eafa9ff3c14de2096119132a973) )
DISK_REGION( "ide:0:hdd" ) // DM Storage DM2560V00 IDE flash storage
DISK_IMAGE( "dream hunting", 0, BAD_DUMP SHA1(3515c0617c52c7e8b7e5dba8de22e363cce00e10) )
ROM_END
ROM_START( hogwild )
ROM_REGION32_LE( 0x20000, "bios", 0)
ROM_LOAD("mbbios", 0x10000, 0x10000, NO_DUMP )
ROM_REGION( 0x10000, "vbios", 0 ) // video card BIOS
ROM_LOAD( "videobios", 0x000000, 0x00d000, NO_DUMP )
DISK_REGION( "ide:0:hdd" ) // DM Storage DM2560V00 IDE flash storage
DISK_IMAGE( "hog wild", 0, BAD_DUMP SHA1(f05b7f64830d995db2e2a2f7f95ae0100de5dab1) )
ROM_END
} // anonymous namespace
GAME( 2002, dhunting, 0, unianapc, unianapc, unianapc_state, empty_init, ROT0, "Game Box Entertainment", "Dream Hunting (US)", MACHINE_IS_SKELETON ) // Ver 1007?
GAME( 2003, hogwild, 0, unianapc, unianapc, unianapc_state, empty_init, ROT0, "Uniana", "Hog Wild (US)", MACHINE_IS_SKELETON ) // Ver.00.26.b?