Previous 199869 Revisions Next

r40088 Thursday 30th July, 2015 at 19:41:35 UTC by David Haywood
new NOT WORKING
Sega Picture Magic

(it's a 32x PCB attached to a custom stripped down 68k base board instead of a MD, likely that the internal boot roms for the SH2s differ however)
[scripts/target/mame]mess.lua
[src/mame]mess.lst
[src/mess/drivers]segapm.c*

trunk/scripts/target/mame/mess.lua
r248599r248600
21132113   MAME_DIR .. "src/mess/drivers/megadriv.c", 
21142114   MAME_DIR .. "src/mess/drivers/saturn.c",   
21152115   MAME_DIR .. "src/mess/drivers/segapico.c", 
2116   MAME_DIR .. "src/mess/drivers/segapm.c", 
21162117   MAME_DIR .. "src/mess/drivers/sg1000.c",   
21172118   MAME_DIR .. "src/mess/drivers/sms.c",
21182119   MAME_DIR .. "src/mess/machine/sms.c",
trunk/src/mame/mess.lst
r248599r248600
999932xe
10010032xj
10110132x_scd   // 1994 Sega Sega CD (USA w/32X addon)
102segapm     // 1996 Sega Picture Magic (32x type hardware)
102103
103104saturnjp  // 1994 Sega Saturn (Japan)
104105saturn  // 1995 Sega Saturn (USA)
trunk/src/mess/drivers/segapm.c
r0r248600
1/* Sega Picture Magic (codename JANUS) */
2// http://segaretro.org/Sega_Picture_Magic
3
4// this uses a Sega 32X PCB (not in a 32X case) attached to a stripped down 68k based board rather than a full Genesis / Megadrive
5// it is likely the internal SH2 bios roms differ
6
7
8#include "emu.h"
9#include "cpu/m68000/m68000.h"
10
11
12class segapm_state : public driver_device
13{
14public:
15   segapm_state(const machine_config &mconfig, device_type type, const char *tag)
16      : driver_device(mconfig, type, tag),
17      m_maincpu(*this, "maincpu")
18   { }
19
20   virtual void video_start();
21   UINT32 screen_update_segapm(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
22   required_device<cpu_device> m_maincpu;
23};
24
25
26void segapm_state::video_start()
27{
28}
29
30UINT32 segapm_state::screen_update_segapm(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
31{
32   return 0;
33}
34
35
36
37static ADDRESS_MAP_START( segapm_map, AS_PROGRAM, 16, segapm_state )
38   AM_RANGE(0x000000, 0x07ffff) AM_ROM
39
40   // A15100
41
42   AM_RANGE(0xe00000, 0xe7ffff) AM_RAM
43
44ADDRESS_MAP_END
45
46static INPUT_PORTS_START( segapm )
47INPUT_PORTS_END
48
49
50
51
52static MACHINE_CONFIG_START( segapm, segapm_state )
53
54   MCFG_CPU_ADD("maincpu", M68000, 8000000) // ??
55   MCFG_CPU_PROGRAM_MAP(segapm_map)
56
57   // + 2 sh2s on 32x board
58
59   MCFG_SCREEN_ADD("screen", RASTER)
60   MCFG_SCREEN_REFRESH_RATE(60)
61   MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
62   MCFG_SCREEN_SIZE(32*8, 32*8)
63   MCFG_SCREEN_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
64   MCFG_SCREEN_UPDATE_DRIVER(segapm_state, screen_update_segapm)
65   MCFG_SCREEN_PALETTE("palette")
66
67   MCFG_PALETTE_ADD("palette", 0x200)
68   MCFG_PALETTE_FORMAT(xRRRRRGGGGGBBBBB)
69MACHINE_CONFIG_END
70
71
72
73ROM_START( segapm ) // was more than one cartridge available? if so softlist them?
74   ROM_REGION( 0x80000, "maincpu", 0 ) /* 68000 Code */
75   ROM_LOAD( "picture magic boot cart (j) [!].bin", 0x00000, 0x80000, CRC(c9ab4e60) SHA1(9c4d4ab3e59c8acde86049a1ba3787aa03b549a3) ) // internal header is GOUSEI HENSYUU
76
77   // todo, sh2 bios roms etc.
78ROM_END
79
80GAME( 1996, segapm,    0,        segapm,    segapm, driver_device,    0, ROT0,  "Sega", "Picture Magic", MACHINE_NO_SOUND | MACHINE_NOT_WORKING )


Previous 199869 Revisions Next


© 1997-2024 The MAME Team