Previous 15994 Revisions Next

r13336 Tuesday 22nd November, 2011 at 07:50:26 UTC by Miodrag Milanović
Moved 3do_m2 into proper driver. (no whatsnew)
[src/mame/drivers]konamim2.c
[src/mess]mess.mak
[src/mess/drivers]3do_m2.c

src/mame/drivers/konamim2.c
r13335r13336
12801280   DISK_IMAGE( "639jad01", 0, BAD_DUMP SHA1(39d41d5a9d1c40636d174c8bb8172b1121e313f8) )
12811281ROM_END
12821282
1283ROM_START(3do_m2)
1284   ROM_REGION64_BE( 0x100000, "boot", 0 )
1285   ROM_SYSTEM_BIOS( 0, "panafz35", "Panasonic FZ-35S (3DO M2)" )   
1286   ROMX_LOAD( "fz35_jpn.bin", 0x000000, 0x100000, CRC(e1c5bfd3) SHA1(0a3e27d672be79eeee1d2dc2da60d82f6eba7934), ROM_BIOS(1) )   
1287ROM_END
1288
12831289static DRIVER_INIT( m2 )
12841290{
12851291   konamim2_state *state = machine.driver_data<konamim2_state>();
r13335r13336
12971303GAME( 1998, evilngt, 0,         m2, m2, m2, ROT0, "Konami", "Evil Night (ver UBA)", GAME_NOT_WORKING | GAME_NO_SOUND )
12981304GAME( 1998, evilngte,  evilngt,       m2, m2, m2, ROT0, "Konami", "Evil Night (ver EAA)", GAME_NOT_WORKING | GAME_NO_SOUND )
12991305GAME( 1998, hellngt,  evilngt,  m2, m2, m2, ROT0, "Konami", "Hell Night (ver EAA)", GAME_NOT_WORKING | GAME_NO_SOUND )
1306
1307CONS( 199?, 3do_m2,     0,      0,    m2,    m2,   0,      "3DO",  "3DO M2",      GAME_NOT_WORKING | GAME_NO_SOUND )
src/mess/mess.mak
r13335r13336
477477   $(MAME_VIDEO)/stvvdp2.o      \
478478   $(MAME_DRIVERS)/cps1.o   \
479479   $(MAME_VIDEO)/cps1.o   \
480   $(MAME_DRIVERS)/konamim2.o \
480481
481482#-------------------------------------------------
482483# the following files are general components and
r13335r13336
17261727   $(MESS_DRIVERS)/zexall.o   \
17271728
17281729$(MESSOBJ)/skeleton.a:         \
1729   $(MESS_DRIVERS)/3do_m2.o   \
17301730   $(MESS_DRIVERS)/alesis.o   \
17311731   $(MESS_DRIVERS)/amico2k.o   \
17321732   $(MESS_DRIVERS)/applix.o   \
src/mess/drivers/3do_m2.c
r13335r13336
1/***************************************************************************
2
3  3do_m2.c
4
5  Driver file to handle emulation of the 3DO M2 systems
6
7   Hardware descriptions:
8
9   Central Processing Unit - Dual 66 MHz PowerPC 602s
10      Implements the 32-bit PowerPC RISC instruction set architecture
11      PowerPC CPU designed for consumer electronics applications
12      1.2 watts power usage each
13      32-bit general purpose registers and ALU
14      33 MHz 64-bit multiplexed address and data bus
15      4 KiB data and instruction caches (Level 1). No Level 2 cache
16      1 integer unit, 1 floating point unit, no branch processing unit, 1 load/store unit
17      SPECint92 rating of 40 each, approximately 70 MIPS each.
18      1 million transistors manufactured on a 0.50 micrometre CMOS process
19   Custom ASICs
20      BDA:
21         Memory control, system control, and video/graphic control
22         Full triangle renderer including setup engine, MPEG-1 decoder hardware,
23         DSP for audio and various kinds of DMA control and port access
24         Random access of frame buffer and z-buffer (actually w-buffer) possible at the same time
25      CDE:
26         Power bus connected to BDA and the two CPUs
27         "bio-bus" used as a low-speed bus for peripheral hardware
28   Renderer capabilities:
29      1 million un-textured triangles/s geometry rate
30      100 million pixels/s fill rate
31      reportedly 700,000 textured polygons/s *without* gouraud shading or additional effects
32      reportedly 300,000 to 500,000 textured polygons/s *with* gouraud shading, lighting and effects
33      shading: flat shading and gouraud shading
34      texture mapping
35      decal, modulation blending, tiling (16K/128K texture buffer built-in)
36      hardware z-buffer (16-bit) (actually a block floating point with multiple (4) range w-buffer)
37      object-based full-scene anti-aliasing
38      alpha channel (4-bit or 7-bit)
39      320x240 to 640x480 resolution at 24-bit color
40   Sound hardware - 16-bit 32-channel DSP at 66 MHz (within BDA chip)
41   Media - Quad-speed CD-ROM drive (600 KB/s)
42   RAM - Unified memory subsystem with 8 MB/s
43      64-bit bus resulting in peak 533 MB/s bandwidth
44      Average access 400 MB/s
45   Full Motion Video - MPEG-1
46   Writable Storage - Memory cards from 128 KiB to 32 MiB
47   Expansion Capabilities - 1 PCMCIA port (potentially used for Modems, Ethernet NICs, etc.)
48
49***************************************************************************/
50
51#include "emu.h"
52#include "cpu/powerpc/ppc.h"
53
54class _3do_m2_state : public driver_device
55{
56public:
57   _3do_m2_state(const machine_config &mconfig, device_type type, const char *tag)
58      : driver_device(mconfig, type, tag) { }
59
60};
61
62static ADDRESS_MAP_START( 3do_m2_mem, AS_PROGRAM, 64)
63   AM_RANGE(0x00000000, 0x000fffff) AM_ROM AM_REGION("user1",0)
64   AM_RANGE(0x20000000, 0x200fffff) AM_RAM
65   AM_RANGE(0xfff00000, 0xffffffff) AM_ROM AM_REGION("user1",0)
66ADDRESS_MAP_END
67
68static ADDRESS_MAP_START( 3do_m2_slave_mem, AS_PROGRAM, 64)
69ADDRESS_MAP_END
70
71static INPUT_PORTS_START( 3do_m2 )
72INPUT_PORTS_END
73
74
75static MACHINE_RESET( 3do_m2 )
76{
77}
78
79static MACHINE_CONFIG_START( 3do_m2, _3do_m2_state )
80
81   /* Basic machine hardware */
82   /* basic machine hardware */
83   MCFG_CPU_ADD("ppc1", PPC602, 66000000)   /* 66 MHz */
84   MCFG_CPU_PROGRAM_MAP(3do_m2_mem)
85
86   MCFG_CPU_ADD("ppc2", PPC602, 66000000)   /* 66 MHz */
87   MCFG_CPU_PROGRAM_MAP(3do_m2_slave_mem)
88   MCFG_DEVICE_DISABLE()
89   
90   MCFG_MACHINE_RESET( 3do_m2 )
91MACHINE_CONFIG_END
92
93
94ROM_START(3do_m2)
95   ROM_REGION( 0x100000, "user1", ROMREGION_64BIT | ROMREGION_BE )
96   ROM_SYSTEM_BIOS( 0, "panafz35", "Panasonic FZ-35S (3DO M2)" )   
97   ROMX_LOAD( "fz35_jpn.bin", 0x000000, 0x100000, CRC(e1c5bfd3) SHA1(0a3e27d672be79eeee1d2dc2da60d82f6eba7934), ROM_BIOS(1) )
98ROM_END
99
100
101/***************************************************************************
102
103  Game driver(s)
104
105***************************************************************************/
106
107/*    YEAR  NAME        PARENT  COMPAT  MACHINE     INPUT   INIT    COMPANY FULLNAME        FLAGS */
108CONS( 199?, 3do_m2,     0,      0,      3do_m2,    3do_m2,   0,      "3DO",  "3DO M2",      GAME_NOT_WORKING | GAME_NO_SOUND )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team