Previous 15994 Revisions Next

r6089 Thursday 15th October, 2009 at 09:02:41 UTC by Robbbert
[ZX] Fixed ts1500 memory size regression, it can boot now. Removed unused gfxdecode code.
[src/mess/drivers]zx.c

src/mess/drivers/zx.c
r6088r6089
290290   PORT_CONFSETTING(    0x01, "PAL")
291291INPUT_PORTS_END
292292
293/* Graphics Layouts */
294#if 0
295static const gfx_layout zx_char_layout =
296{
297   8, 8,                        /* 8x8 pixels */
298   64,                           /* 64 codes */
299   1,                           /* 1 bit per pixel */
300   {0},                        /* no bitplanes */
301   /* x offsets */
302   {0, 1, 2, 3, 4, 5, 6, 7},
303   /* y offsets */
304   {0 * 8, 1 * 8, 2 * 8, 3 * 8, 4 * 8, 5 * 8, 6 * 8, 7 * 8},
305   8 * 8                        /* eight bytes per code */
306};
307293
308/* Graphics Decode Information */
309
310static GFXDECODE_START( zx80 )
311   GFXDECODE_ENTRY( "maincpu", 0x0e00, zx_char_layout, 0, 2 )
312GFXDECODE_END
313
314static GFXDECODE_START( zx81 )
315   GFXDECODE_ENTRY( "maincpu", 0x1e00, zx_char_layout, 0, 2 )
316GFXDECODE_END
317
318static GFXDECODE_START( pc8300 )
319   GFXDECODE_ENTRY( "gfx1", 0x0000, zx_char_layout, 0, 2 )
320GFXDECODE_END
321#endif
322
323294/* Palette Initialization */
324295
325296
r6088r6089
390361   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
391362   MDRV_SCREEN_SIZE(ZX81_PIXELS_PER_SCANLINE, ZX81_PAL_SCANLINES)
392363   MDRV_SCREEN_VISIBLE_AREA(0, ZX81_PIXELS_PER_SCANLINE-1, 0, ZX81_PAL_SCANLINES-1)
393//  MDRV_GFXDECODE(zx80)
364
394365   MDRV_PALETTE_LENGTH(4)
395366   MDRV_PALETTE_INIT(zx80)
396367
r6088r6089
419390   MDRV_CPU_MODIFY("maincpu")
420391   MDRV_CPU_IO_MAP(zx81_io_map)
421392
422//  MDRV_GFXDECODE(zx81)
423
424393   MDRV_CASSETTE_MODIFY( "cassette", zx81_cassette_config )
425394MACHINE_DRIVER_END
426395
r6088r6089
430399   MDRV_PALETTE_INIT(ts1000)
431400MACHINE_DRIVER_END
432401
402static MACHINE_DRIVER_START( ts1500 )
403   MDRV_IMPORT_FROM(ts1000)
404
405   /* internal ram */
406   MDRV_RAM_MODIFY("messram")
407   MDRV_RAM_DEFAULT_SIZE("16K")
408MACHINE_DRIVER_END
409
433410static MACHINE_DRIVER_START( pc8300 )
434411   MDRV_IMPORT_FROM(zx81)
435412
r6088r6089
443420   MDRV_SCREEN_SIZE(ZX81_PIXELS_PER_SCANLINE, ZX81_NTSC_SCANLINES)
444421   MDRV_SCREEN_VISIBLE_AREA(0, ZX81_PIXELS_PER_SCANLINE-1, 0, ZX81_NTSC_SCANLINES-1)
445422
446//  MDRV_GFXDECODE(pc8300)
447423   MDRV_PALETTE_INIT(zx80)
448424   
449425   /* internal ram */
r6088r6089
458434   MDRV_CPU_IO_MAP(pow3000_io_map)
459435
460436   MDRV_MACHINE_RESET(pow3000)
461//  MDRV_GFXDECODE(pc8300)
437
462438   MDRV_PALETTE_INIT(zx80)
463439
464440   /* internal ram */
r6088r6089
550526COMP( 1980, zx80,       0,      0,      zx80,       zx80,       zx,     0,    "Sinclair Research",        "ZX-80",               0 )
551527COMP( 1981, zx81,       0,      0,      zx81,       zx81,       zx,     0,    "Sinclair Research",        "ZX-81",               0 )
552528COMP( 1982, ts1000,     zx81,   0,      ts1000,     zx81,       zx,     0,    "Timex Sinclair",           "Timex Sinclair 1000", 0 )
553COMP( 1983, ts1500,     zx81,   0,      ts1000,     zx81,       zx,     0,    "Timex Sinclair",           "Timex Sinclair 1500", 0 )
529COMP( 1983, ts1500,     zx81,   0,      ts1500,     zx81,       zx,     0,    "Timex Sinclair",           "Timex Sinclair 1500", 0 )
554530COMP( 1983, tk85,        zx81,   0,      ts1000,     zx81,       zx,     0,    "Microdigital",             "TK85",                0 )
555531COMP( 1983, ringo470,   zx81,   0,      ts1000,     zx81,       zx,     0,    "Ritas do Brasil Ltda",     "Ringo 470", GAME_NOT_WORKING )
556532COMP( 1984, pc8300,     zx81,   0,      pc8300,     pc8300,     zx,     0,    "Your Computer",            "PC8300",              0 )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team