Previous 15994 Revisions Next

r3119 Saturday 30th August, 2008 at 19:03:55 UTC by Miodrag Milanović
[TRS80] New clones added HT-1080Z and HT-1080Z/64
[docs]messnew.txt
[src/mess]messdriv.c
[src/mess/drivers]trs80.c
[src/mess/includes]trs80.h
[src/mess/machine]trs80.c

src/mess/includes/trs80.h
r3118r3119
2727MACHINE_RESET( trs80 );
2828DRIVER_INIT( trs80 );
2929DRIVER_INIT( lnw80 );
30DRIVER_INIT( ht1080z );
31DRIVER_INIT( ht108064 );
3032
3133WRITE8_HANDLER ( trs80_port_ff_w );
3234READ8_HANDLER ( trs80_port_ff_r );
src/mess/messdriv.c
r3118r3119
558558   DRIVER( lnw80 )      /* LNW Research LNW-80                        */
559559   DRIVER( trs80m3 )   /* TRS-80 Model III - Radio Shack/Tandy            */
560560   DRIVER( trs80m4 )
561   DRIVER( ht1080z ) /* Híradástechnika Szövetkezet HT-1080Z */
562   DRIVER( ht108064 ) /* Híradástechnika Szövetkezet HT-1080Z/64 */
561563
562564   DRIVER( coco )      /* Color Computer                           */
563565   DRIVER( cocoe )      /* Color Computer (Extended BASIC 1.0)            */
src/mess/machine/trs80.c
r3118r3119
350350   }
351351}
352352
353DRIVER_INIT( ht1080z )
354{
355}
356
357DRIVER_INIT( ht108064 )
358{
359   UINT8 *FNT = memory_region(machine, "gfx1");
360   int i;
361   for( i=0;i<0x800;i++) {
362      FNT[i] &= 0xf8;
363   }
364}
365
353366MACHINE_START( trs80 )
354367{
355368   wd17xx_init(machine, WD_TYPE_179X,trs80_fdc_callback, NULL);
src/mess/drivers/trs80.c
r3118r3119
342342   GFXDECODE_ENTRY( "gfx1", 0, trs80_charlayout, 0, 1 )
343343GFXDECODE_END
344344
345static const gfx_layout ht1080z_charlayout =
346{
347   6,12,         /* 6 x 12 characters */
348   128,         /* 128 characters */
349   1,            /* 1 bits per pixel */
350   { 0 },         /* no bitplanes; 1 bit per pixel */
351   /* x offsets */
352   { 0, 1, 2, 3, 4, 5 },
353   /* y offsets */
354   {  0*8, 1*8, 2*8, 3*8, 4*8, 5*8,
355      6*8, 7*8, 8*8, 9*8,10*8,11*8 },
356   8*16         /* every char takes FH bytes */
357};
345358
359static GFXDECODE_START( ht1080z )
360   GFXDECODE_ENTRY( "gfx1", 0, ht1080z_charlayout, 0, 1 )
361GFXDECODE_END
362
346363static const INT16 speaker_levels[3] = {0.0*32767,0.46*32767,0.85*32767};
347364
348365static const speaker_interface trs80_speaker_interface =
r3118r3119
404421   MDRV_CPU_VBLANK_INT_HACK(trs80_frame_interrupt, 2)
405422MACHINE_DRIVER_END
406423
424static MACHINE_DRIVER_START( ht1080z )
425   MDRV_IMPORT_FROM( model1 )
426   MDRV_GFXDECODE( ht1080z )
427MACHINE_DRIVER_END
428
429static MACHINE_DRIVER_START( ht108064 )
430   MDRV_IMPORT_FROM( model3 )
431   MDRV_GFXDECODE( ht1080z )
432MACHINE_DRIVER_END
433
407434/***************************************************************************
408435
409436  Game driver(s)
r3118r3119
474501   ROM_LOAD("trs80m1.chr", 0x0800, 0x0400, CRC(0033f2b9) SHA1(0d2cd4197d54e2e872b515bbfdaa98efe502eda7))
475502ROM_END
476503
504ROM_START(ht1080z)
505   ROM_REGION(0x10000, "main",0)
506   ROM_LOAD("ht1080z.rom", 0x0000, 0x3000, CRC(2bfef8f7) SHA1(7a350925fd05c20a3c95118c1ae56040c621be8f))
507   ROM_REGION(0x00800, "gfx1",0)
508   ROM_LOAD("ht1080-1.chr", 0x0000, 0x0800, CRC(e8c59d4f) SHA1(a15f30a543e53d3e30927a2e5b766fcf80f0ae31))
509ROM_END
510
511ROM_START(ht1080z2)
512   ROM_REGION(0x10000, "main",0)
513   ROM_LOAD("ht1080z.rom", 0x0000, 0x3000, CRC(2bfef8f7) SHA1(7a350925fd05c20a3c95118c1ae56040c621be8f))
514   ROM_REGION(0x00800, "gfx1",0)
515   ROM_LOAD("ht1080-2.chr", 0x0000, 0x0800, CRC(6728f0ab) SHA1(1ba949f8596f1976546f99a3fdcd3beb7aded2c5))
516ROM_END
517
518ROM_START(ht108064)
519   ROM_REGION(0x10000, "main",0)
520   ROM_LOAD("ht1080z.64", 0x0000, 0x3000, CRC(48985a30) SHA1(e84cf3121f9e0bb9e1b01b095f7a9581dcfaaae4))
521   ROM_LOAD("ht1080z.ext", 0x3000, 0x0800, CRC(fc12bd28) SHA1(0da93a311f99ec7a1e77486afe800a937778e73b))
522   ROM_REGION(0x00800, "gfx1",0)
523   ROM_LOAD("ht1080-3.chr", 0x0000, 0x0800, CRC(e76b73a4) SHA1(6361ee9667bf59d50059d09b0baf8672fdb2e8af))
524ROM_END
525
526
477527static void trs80_cassette_getinfo(const mess_device_class *devclass, UINT32 state, union devinfo *info)
478528{
479529   /* cassette */
r3118r3119
524574SYSTEM_CONFIG_END
525575
526576
527/*    YEAR  NAME      PARENT     COMPAT         MACHINE   INPUT  INIT  CONFIG   COMPANY  FULLNAME */
577/*    YEAR  NAME      PARENT  COMPAT  MACHINE   INPUT  INIT  CONFIG   COMPANY  FULLNAME */
528578COMP( 1977, trs80,    0,        0,      level1,   trs80, trs80,    trs80,   "Tandy Radio Shack",  "TRS-80 Model I (Level I Basic)" , 0)
529579COMP( 1978, trs80l2,  trs80,    0,      model1,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model I (Level II Basic)" , 0)
530580COMP( 1980, sys80,    trs80,    0,      model1,   trs80, trs80,    trs8012,   "EACA Computers Ltd.","System-80" , 0)
531581COMP( 1981, lnw80,    trs80,    0,      model1,   trs80, lnw80,    trs8012,   "LNW Research","LNW-80", 0 )
532582COMP( 1980, trs80m3,  trs80,    0,      model3,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model III", 0 )
533583COMP( 1980, trs80m4,  trs80,    0,      model3,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model 4", 0 )
584COMP( 1983, ht1080z,  trs80,    0,      ht1080z,  trs80, ht1080z,  trs8012,   "Hiradastechnika Szovetkezet",  "HT-1080Z Series I" , 0)
585COMP( 1984, ht1080z2, trs80,    0,      ht1080z,  trs80, ht1080z,  trs8012,   "Hiradastechnika Szovetkezet",  "HT-1080Z Series II" , 0)
586COMP( 1985, ht108064, trs80,    0,      ht108064, trs80, ht108064, trs8012,   "Hiradastechnika Szovetkezet",  "HT-1080Z/64" , 0)
docs/messnew.txt
r3118r3119
22
33New System Drivers Supported (in no particular order):
44------------------------------------------------------
5(none)
5- HT-1080Z / HT-1080Z/64 [Miodrag Milanovic]
66
77
88

Previous 15994 Revisions Next


© 1998-2018 The MESS Team