Previous 15994 Revisions Next

r1747 Sunday 24th February, 2008 at 19:24:31 UTC by Wilbert Pol
[ODYSSEY2] Fixed video parameters. Fixed memory region warnings.
[src/mess/drivers]odyssey2.c

src/mess/drivers/odyssey2.c
r1746r1747
152152    /* video hardware */
153153   MDRV_SCREEN_ADD("main", RASTER)
154154   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
155   MDRV_SCREEN_RAW_PARAMS( XTAL_7_15909MHz/2, 227, 0, 159, 263, 0, 239 )
155   MDRV_SCREEN_RAW_PARAMS( XTAL_7_15909MHz/2, 227, 0, 160, 263, 0, 240 )
156156
157157   MDRV_GFXDECODE( odyssey2 )
158158   MDRV_PALETTE_LENGTH(24)
r1746r1747
181181   /* video hardware */
182182   MDRV_SCREEN_ADD("main", RASTER)
183183   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
184   MDRV_SCREEN_RAW_PARAMS( XTAL_17_73447MHz/5, 227, 0, 159, 313, 0, 239 )
184   MDRV_SCREEN_RAW_PARAMS( XTAL_17_73447MHz/5, 227, 0, 160, 313, 0, 240 )
185185
186186   MDRV_GFXDECODE( odyssey2 )
187187   MDRV_PALETTE_LENGTH(24)
r1746r1747
197197   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
198198MACHINE_DRIVER_END
199199
200static MACHINE_DRIVER_START( g7400 )
201   /* basic machine hardware */
202   MDRV_CPU_ADD(I8048, 5911000 )
203   MDRV_CPU_PROGRAM_MAP(odyssey2_mem, 0)
204   MDRV_CPU_IO_MAP(odyssey2_io, 0)
205   MDRV_CPU_VBLANK_INT(odyssey2_line, 262)
206   MDRV_INTERLEAVE(1)
207
208   MDRV_MACHINE_RESET( odyssey2 )
209
210   /* video hardware */
211   MDRV_SCREEN_ADD("main", RASTER)
212   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
213   MDRV_SCREEN_RAW_PARAMS( 3547000*2, 448, 96, 416, 312, 39, 289 )   /* EF9340 operates doubles the input clock into dot clocks internally */
214
215   MDRV_GFXDECODE( odyssey2 )
216   MDRV_PALETTE_LENGTH(24)
217   MDRV_PALETTE_INIT( odyssey2 )
218
219   MDRV_VIDEO_START( odyssey2 )
220//   MDRV_VIDEO_UPDATE( odyssey2 )
221
222   /* sound hardware */
223   MDRV_SPEAKER_STANDARD_MONO("mono")
224   MDRV_SOUND_ADD(CUSTOM, 0)
225   MDRV_SOUND_CONFIG(odyssey2_sound_interface)
226   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
227MACHINE_DRIVER_END
228
200229ROM_START (odyssey2)
201230    ROM_REGION(0x10000,REGION_CPU1,0)    /* safer for the memory handler/bankswitching??? */
202231    ROM_LOAD ("o2bios.rom", 0x0000, 0x0400, CRC(8016a315) SHA1(b2e1955d957a475de2411770452eff4ea19f4cee))
203    ROM_REGION(0x100, REGION_GFX1, 0)
232    ROM_REGION(0x100, REGION_GFX1, ROMREGION_ERASEFF)
204233
205234    ROM_REGION(0x2000, REGION_USER1, 0)
206235   ROM_CART_LOAD(0, "bin", 0x0000, 0x2000, ROM_MIRROR)
r1746r1747
212241   ROMX_LOAD ("o2bios.rom", 0x0000, 0x0400, CRC(8016a315) SHA1(b2e1955d957a475de2411770452eff4ea19f4cee), ROM_BIOS(1))
213242   ROM_SYSTEM_BIOS( 1, "c52", "c52" )
214243   ROMX_LOAD ("c52.bin", 0x0000, 0x0400, CRC(a318e8d6) SHA1(a6120aed50831c9c0d95dbdf707820f601d9452e), ROM_BIOS(2))
215   ROM_REGION(0x100, REGION_GFX1, 0)
244   ROM_REGION(0x100, REGION_GFX1, ROMREGION_ERASEFF)
216245
217246   ROM_REGION(0x2000, REGION_USER1, 0)
218247   ROM_CART_LOAD(0, "bin", 0x0000, 0x2000, ROM_MIRROR)
219248ROM_END
220249
250ROM_START (g7400)
251   ROM_REGION(0x10000,REGION_CPU1,0)    /* safer for the memory handler/bankswitching??? */
252   ROM_LOAD ("g7400.bin", 0x0000, 0x0400, CRC(e20a9f41) SHA1(5130243429b40b01a14e1304d0394b8459a6fbae))
253   ROM_REGION(0x100, REGION_GFX1, ROMREGION_ERASEFF)
254
255   ROM_REGION(0x2000, REGION_USER1, 0)
256   ROM_CART_LOAD(0, "bin", 0x0000, 0x2000, ROM_MIRROR)
257ROM_END
258
221259static void odyssey2_cartslot_device_getinfo(const device_class *devclass, UINT32 state, union devinfo *info)
222260{
223261   /* cartslot */
r1746r1747
241279/*     YEAR  NAME      PARENT   COMPAT  MACHINE   INPUT     INIT      CONFIG    COMPANY     FULLNAME     FLAGS */
242280COMP( 1978, odyssey2, 0,      0,      odyssey2, odyssey2, odyssey2, odyssey2, "Magnavox", "Odyssey 2", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
243281COMP( 1979, videopac, odyssey2,   0,      videopac, odyssey2, odyssey2, odyssey2, "Philips", "Videopac G7000/C52", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND )
282COMP( 1983, g7400, odyssey2, 0,         g7400,    odyssey2, odyssey2, odyssey2, "Philips", "Videopac Plus G7400", GAME_NOT_WORKING )
244283
284

Previous 15994 Revisions Next


© 1998-2018 The MESS Team