mirror of
https://github.com/holub/mame
synced 2025-04-16 05:24:54 +03:00
move this (nw)
This commit is contained in:
parent
f214430794
commit
78b3dc8ef2
@ -4431,7 +4431,6 @@ files {
|
||||
MAME_DIR .. "src/mame/drivers/poker72.cpp",
|
||||
MAME_DIR .. "src/mame/drivers/potgoldu.cpp",
|
||||
MAME_DIR .. "src/mame/drivers/proconn.cpp",
|
||||
MAME_DIR .. "src/mame/drivers/psattack.cpp",
|
||||
MAME_DIR .. "src/mame/drivers/pse.cpp",
|
||||
MAME_DIR .. "src/mame/drivers/quizo.cpp",
|
||||
MAME_DIR .. "src/mame/drivers/quizpun2.cpp",
|
||||
|
@ -116,6 +116,71 @@ Notes:
|
||||
3x Intel E28F128J3A 128MBit surface mounted FlashROMs (TSOP56, labelled 'BREZZASOFT BCSV0004Fxx', xx=01, 02, 03)
|
||||
Note: there are 8 spaces total for FlashROMs. Only U1, U2 & U3 are populated in this cart.
|
||||
|
||||
|
||||
|
||||
P's Attack (c) 2004 Uniana Co., Ltd
|
||||
|
||||
+----------1||||---1|||||--1|||||---------------------------+
|
||||
|VOL TICKET GUN_1P GUN_2P +---------|
|
||||
| | |
|
||||
+-+ | 256MB |
|
||||
| CC-DAC | Compact |
|
||||
+-+ EMUL* | Flash |
|
||||
| | |
|
||||
|J +---+ +---------|
|
||||
|A | | |
|
||||
|M | R | 25.1750MHz +--------------+|
|
||||
|M | A | | 42Pin* ||
|
||||
|A | M | +--------------+|
|
||||
| | | +--------------+|
|
||||
|C +---+ +------------+ | SYS ||
|
||||
|O | | +--------------+|
|
||||
|N +---+ | | |
|
||||
|N | | |VRenderZERO+| |
|
||||
|E SERVICE | R | | MagicEyes | +-------+ 62256* |
|
||||
|C | A | | | | RAM | |
|
||||
|T TEST | M | | | +-------+ 62256* |
|
||||
|O | | +------------+ |
|
||||
|R RESET +---+ |
|
||||
| 14.31818MHz |
|
||||
+-+ |
|
||||
| EEPROM |
|
||||
+-+ GAL DSW |
|
||||
| |
|
||||
| VGA PIC BAT3.6V* |
|
||||
+-----------------------------------------------------------+
|
||||
|
||||
* denotes unpopulated device
|
||||
|
||||
RAM are Samsung K4S641632H-TC75
|
||||
VGA is a standard PC 15 pin VGA connection
|
||||
DSW is 2 switch dipswitch (switches 3-8 are unpopulated)
|
||||
PIC is a Microchip PIC16C711-041/P (silkscreened on the PCB as COSTOM)
|
||||
SYS is a ST M27C160 EPROM (silkscreened on the PCB as SYSTEM_ROM_32M)
|
||||
GAL is a GAL16V8B (not dumped)
|
||||
EMUL is an unpopulated 8 pin connector
|
||||
EEPROM is a 93C86 16K 5.0v Serial EEPROM (2048x8-bit or 1024x16-bit)
|
||||
CC-DAC is a TDA1311A Stereo Continuous Calibration DAC
|
||||
|
||||
TICKET is a 5 pin connector:
|
||||
|
||||
1| +12v
|
||||
2| IN
|
||||
3| OUT
|
||||
4| GND
|
||||
5| LED
|
||||
|
||||
GUN_xP are 6 pin gun connectors (pins 1-4 match the UNICO sytle guns):
|
||||
|
||||
1| GND
|
||||
2| SW
|
||||
3| +5v
|
||||
4| SENS
|
||||
5| SOL
|
||||
6| GND
|
||||
|
||||
|
||||
|
||||
*/
|
||||
|
||||
#include "emu.h"
|
||||
@ -199,6 +264,7 @@ public:
|
||||
DECLARE_DRIVER_INIT(crysking);
|
||||
DECLARE_DRIVER_INIT(evosocc);
|
||||
DECLARE_DRIVER_INIT(donghaer);
|
||||
DECLARE_DRIVER_INIT(psattack);
|
||||
|
||||
DECLARE_READ32_MEMBER(trivrus_input_r);
|
||||
DECLARE_WRITE32_MEMBER(trivrus_input_w);
|
||||
@ -1193,6 +1259,23 @@ ROM_START( trivrus )
|
||||
ROM_REGION( 0x1000000, "user2", ROMREGION_ERASEFF ) // Unmapped flash
|
||||
ROM_END
|
||||
|
||||
ROM_START( psattack )
|
||||
ROM_REGION( 0x200000, "maincpu", 0 )
|
||||
ROM_LOAD("5.sys", 0x000000, 0x200000, CRC(f09878e4) SHA1(25b8dbac47d3911615c8874746e420ece13e7181) )
|
||||
|
||||
ROM_REGION( 0x4010, "pic16c711", 0 )
|
||||
ROM_LOAD("16c711.pic", 0x0000, 0x137b, CRC(617d8292) SHA1(d32d6054ce9db2e31efaf41015afcc78ed32f6aa) ) // raw dump
|
||||
ROM_LOAD("16c711.bin", 0x0000, 0x4010, CRC(b316693f) SHA1(eba1f75043bd415268eedfdb95c475e73c14ff86) ) // converted to binary
|
||||
|
||||
DISK_REGION( "cfcard" )
|
||||
DISK_IMAGE_READONLY( "psattack", 0, SHA1(e99cd0dafc33ec13bf56061f81dc7c0a181594ee) )
|
||||
|
||||
// keep driver happy
|
||||
ROM_REGION32_LE( 0x3000000, "user1", 0 )
|
||||
ROM_REGION( 0x1000000, "user2", ROMREGION_ERASEFF )
|
||||
ROM_END
|
||||
|
||||
|
||||
|
||||
DRIVER_INIT_MEMBER(crystal_state,crysking)
|
||||
{
|
||||
@ -1311,6 +1394,10 @@ DRIVER_INIT_MEMBER(crystal_state, donghaer)
|
||||
Rom[WORD_XOR_LE(0x19C72 / 2)] = 0x9001; // PUSH %R0
|
||||
}
|
||||
|
||||
DRIVER_INIT_MEMBER(crystal_state,psattack)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
GAME( 2001, crysbios, 0, crystal, crystal, driver_device, 0, ROT0, "BrezzaSoft", "Crystal System BIOS", MACHINE_IS_BIOS_ROOT )
|
||||
GAME( 2001, crysking, crysbios, crystal, crystal, crystal_state, crysking, ROT0, "BrezzaSoft", "The Crystal of Kings", 0 )
|
||||
@ -1319,3 +1406,6 @@ GAME( 2003, topbladv, crysbios, crystal, crystal, crystal_state, topbladv, ROT
|
||||
GAME( 2001, officeye, 0, crystal, officeye,crystal_state, officeye, ROT0, "Danbi", "Office Yeo In Cheon Ha (version 1.2)", MACHINE_NOT_WORKING ) // still has some instability issues
|
||||
GAME( 2001, donghaer, 0, crystal, crystal, crystal_state, donghaer, ROT0, "Danbi", "Donggul Donggul Haerong", MACHINE_NOT_WORKING )
|
||||
GAME( 2009, trivrus, 0, trivrus, trivrus, driver_device, 0, ROT0, "AGT", "Trivia R Us (v1.07)", 0 )
|
||||
// has a CF card instead of flash roms
|
||||
GAME( 2004, psattack, 0, crystal, crystal, crystal_state, psattack, ROT0, "Uniana", "P's Attack", MACHINE_IS_SKELETON )
|
||||
|
||||
|
@ -1,219 +0,0 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:David Haywood
|
||||
/*
|
||||
P's Attack
|
||||
using VRender0 System on a Chip
|
||||
|
||||
This is basically the same hardware as Crystal System, but with a CF card for the game
|
||||
|
||||
Skeleton driver only
|
||||
|
||||
|
||||
P's Attack (c) 2004 Uniana Co., Ltd
|
||||
|
||||
+----------1||||---1|||||--1|||||---------------------------+
|
||||
|VOL TICKET GUN_1P GUN_2P +---------|
|
||||
| | |
|
||||
+-+ | 256MB |
|
||||
| CC-DAC | Compact |
|
||||
+-+ EMUL* | Flash |
|
||||
| | |
|
||||
|J +---+ +---------|
|
||||
|A | | |
|
||||
|M | R | 25.1750MHz +--------------+|
|
||||
|M | A | | 42Pin* ||
|
||||
|A | M | +--------------+|
|
||||
| | | +--------------+|
|
||||
|C +---+ +------------+ | SYS ||
|
||||
|O | | +--------------+|
|
||||
|N +---+ | | |
|
||||
|N | | |VRenderZERO+| |
|
||||
|E SERVICE | R | | MagicEyes | +-------+ 62256* |
|
||||
|C | A | | | | RAM | |
|
||||
|T TEST | M | | | +-------+ 62256* |
|
||||
|O | | +------------+ |
|
||||
|R RESET +---+ |
|
||||
| 14.31818MHz |
|
||||
+-+ |
|
||||
| EEPROM |
|
||||
+-+ GAL DSW |
|
||||
| |
|
||||
| VGA PIC BAT3.6V* |
|
||||
+-----------------------------------------------------------+
|
||||
|
||||
* denotes unpopulated device
|
||||
|
||||
RAM are Samsung K4S641632H-TC75
|
||||
VGA is a standard PC 15 pin VGA connection
|
||||
DSW is 2 switch dipswitch (switches 3-8 are unpopulated)
|
||||
PIC is a Microchip PIC16C711-041/P (silkscreened on the PCB as COSTOM)
|
||||
SYS is a ST M27C160 EPROM (silkscreened on the PCB as SYSTEM_ROM_32M)
|
||||
GAL is a GAL16V8B (not dumped)
|
||||
EMUL is an unpopulated 8 pin connector
|
||||
EEPROM is a 93C86 16K 5.0v Serial EEPROM (2048x8-bit or 1024x16-bit)
|
||||
CC-DAC is a TDA1311A Stereo Continuous Calibration DAC
|
||||
|
||||
TICKET is a 5 pin connector:
|
||||
|
||||
1| +12v
|
||||
2| IN
|
||||
3| OUT
|
||||
4| GND
|
||||
5| LED
|
||||
|
||||
GUN_xP are 6 pin gun connectors (pins 1-4 match the UNICO sytle guns):
|
||||
|
||||
1| GND
|
||||
2| SW
|
||||
3| +5v
|
||||
4| SENS
|
||||
5| SOL
|
||||
6| GND
|
||||
|
||||
|
||||
*/
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/se3208/se3208.h"
|
||||
#include "video/vrender0.h"
|
||||
#include "machine/ds1302.h"
|
||||
#include "sound/vrender0.h"
|
||||
#include "machine/nvram.h"
|
||||
|
||||
|
||||
class psattack_state : public driver_device
|
||||
{
|
||||
public:
|
||||
psattack_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu") { }
|
||||
|
||||
DECLARE_READ32_MEMBER(psattack_unk_r);
|
||||
DECLARE_DRIVER_INIT(psattack);
|
||||
virtual void machine_start();
|
||||
virtual void machine_reset();
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_psattack(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
void screen_eof_psattack(screen_device &screen, bool state);
|
||||
INTERRUPT_GEN_MEMBER(psattack_interrupt);
|
||||
required_device<cpu_device> m_maincpu;
|
||||
};
|
||||
|
||||
|
||||
READ32_MEMBER(psattack_state::psattack_unk_r)
|
||||
{
|
||||
return 0xffffffff;
|
||||
}
|
||||
|
||||
static ADDRESS_MAP_START( psattack_mem, AS_PROGRAM, 32, psattack_state )
|
||||
AM_RANGE(0x00000000, 0x001fffff) AM_ROM
|
||||
AM_RANGE(0x01402204, 0x01402207) AM_READ(psattack_unk_r)
|
||||
AM_RANGE(0x01402804, 0x01402807) AM_READ(psattack_unk_r)
|
||||
|
||||
|
||||
AM_RANGE(0x02000000, 0x027fffff) AM_RAM
|
||||
ADDRESS_MAP_END
|
||||
|
||||
|
||||
void psattack_state::machine_start()
|
||||
{
|
||||
}
|
||||
|
||||
void psattack_state::machine_reset()
|
||||
{
|
||||
}
|
||||
|
||||
void psattack_state::video_start()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
UINT32 psattack_state::screen_update_psattack(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void psattack_state::screen_eof_psattack(screen_device &screen, bool state)
|
||||
{
|
||||
}
|
||||
|
||||
INTERRUPT_GEN_MEMBER(psattack_state::psattack_interrupt)
|
||||
{
|
||||
}
|
||||
|
||||
static INPUT_PORTS_START(psattack)
|
||||
PORT_START("Unknown")
|
||||
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
|
||||
PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static MACHINE_CONFIG_START( psattack, psattack_state )
|
||||
MCFG_CPU_ADD("maincpu", SE3208, 43000000)
|
||||
MCFG_CPU_PROGRAM_MAP(psattack_mem)
|
||||
MCFG_CPU_VBLANK_INT_DRIVER("screen", psattack_state, psattack_interrupt)
|
||||
|
||||
|
||||
//MCFG_NVRAM_ADD_0FILL("nvram")
|
||||
|
||||
MCFG_SCREEN_ADD("screen", RASTER)
|
||||
MCFG_SCREEN_REFRESH_RATE(60)
|
||||
MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
|
||||
MCFG_SCREEN_SIZE(320, 240)
|
||||
MCFG_SCREEN_VISIBLE_AREA(0, 319, 0, 239)
|
||||
MCFG_SCREEN_UPDATE_DRIVER(psattack_state, screen_update_psattack)
|
||||
MCFG_SCREEN_VBLANK_DRIVER(psattack_state, screen_eof_psattack)
|
||||
MCFG_SCREEN_PALETTE("palette")
|
||||
|
||||
|
||||
MCFG_PALETTE_ADD_RRRRRGGGGGGBBBBB("palette")
|
||||
|
||||
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
|
||||
|
||||
MCFG_SOUND_ADD("vrender", VRENDER0, 0)
|
||||
MCFG_VR0_REGBASE(0x04800000)
|
||||
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
|
||||
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
ROM_START( psattack )
|
||||
ROM_REGION( 0x200000, "maincpu", 0 )
|
||||
ROM_LOAD("5.sys", 0x000000, 0x200000, CRC(f09878e4) SHA1(25b8dbac47d3911615c8874746e420ece13e7181) )
|
||||
|
||||
ROM_REGION( 0x4010, "pic16c711", 0 )
|
||||
ROM_LOAD("16c711.pic", 0x0000, 0x137b, CRC(617d8292) SHA1(d32d6054ce9db2e31efaf41015afcc78ed32f6aa) ) // raw dump
|
||||
ROM_LOAD("16c711.bin", 0x0000, 0x4010, CRC(b316693f) SHA1(eba1f75043bd415268eedfdb95c475e73c14ff86) ) // converted to binary
|
||||
|
||||
DISK_REGION( "cfcard" )
|
||||
DISK_IMAGE_READONLY( "psattack", 0, SHA1(e99cd0dafc33ec13bf56061f81dc7c0a181594ee) )
|
||||
ROM_END
|
||||
|
||||
|
||||
|
||||
DRIVER_INIT_MEMBER(psattack_state,psattack)
|
||||
{
|
||||
}
|
||||
|
||||
GAME( 2004, psattack, 0, psattack, psattack, psattack_state, psattack, ROT0, "Uniana", "P's Attack", MACHINE_IS_SKELETON )
|
Loading…
Reference in New Issue
Block a user