Previous 15994 Revisions Next

r4222 Wednesday 4th February, 2009 at 08:49:26 UTC by Robbbert
[TRS80] Added Radionic computer.
[src/mess]messdriv.c
[src/mess/drivers]trs80.c
[src/mess/includes]trs80.h
[src/mess/machine]trs80.c

src/mess/includes/trs80.h
r4221r4222
2424
2525MACHINE_RESET( trs80 );
2626DRIVER_INIT( trs80 );
27DRIVER_INIT( radionic );
2728DRIVER_INIT( lnw80 );
2829DRIVER_INIT( ht1080z );
2930DRIVER_INIT( ht108064 );
src/mess/messdriv.c
r4221r4222
619619   DRIVER( ht1080z ) /* Hradstechnika Szvetkezet HT-1080Z */
620620   DRIVER( ht1080z2 ) /* Hradstechnika Szvetkezet HT-1080Z Series II */
621621   DRIVER( ht108064 ) /* Hradstechnika Szvetkezet HT-1080Z/64 */
622   DRIVER( radionic )   /* Radionic */
622623
623624   DRIVER( coco )      /* Color Computer                           */
624625   DRIVER( cocoe )      /* Color Computer (Extended BASIC 1.0)            */
r4221r4222
11391140/*********** Misc ***********************************************************/
11401141   DRIVER( ex800 )
11411142
1142
11431143#endif /* DRIVER_RECURSIVE */
src/mess/machine/trs80.c
r4221r4222
216216   UINT8 *FNT = memory_region(machine, "gfx1");
217217   int i, y;
218218
219   for( i = 0x000; i < 0x080; i++ )
219   for( i = 0; i < 0x80; i++ )
220220   {
221221      /* copy eight lines from the character generator */
222222      for (y = 0; y < 8; y++)
223         FNT[i*FH+y] = FNT[0x0800+i*8+y] << 3;
223         FNT[i*FH+y] = FNT[0x800+i*8+y] << 3;
224224      /* wipe out the lower lines (no descenders!) */
225225      for (y = 8; y < FH; y++)
226226         FNT[i*FH+y] = 0;
r4221r4222
242242   }
243243}
244244
245DRIVER_INIT( radionic )
246{
247   UINT8 *FNT = memory_region(machine, "gfx1");
248   int i, y;
249
250   for( i = 0; i < 0x80; i++ )
251   {
252      /* copy eight lines from the character generator, reversing the order of the dots */
253      for (y = 0; y < 8; y++)
254         FNT[i*FH+y] = BITSWAP8(FNT[0x800+i*8+y], 0, 1, 2, 3, 4, 5, 6, 7);
255   }
256   /* setup the 2x3 chunky block graphics (two times 64 characters) */
257   for( i = 0x080; i < 0x100; i++ )
258   {
259      UINT8 b0, b1, b2, b3, b4, b5;
260      b0 = (i & 0x01) ? 0xe0 : 0x00;
261      b1 = (i & 0x02) ? 0x1c : 0x00;
262      b2 = (i & 0x04) ? 0xe0 : 0x00;
263      b3 = (i & 0x08) ? 0x1c : 0x00;
264      b4 = (i & 0x10) ? 0xe0 : 0x00;
265      b5 = (i & 0x20) ? 0x1c : 0x00;
266
267      FNT[i*FH+ 0] = FNT[i*FH+ 1] = FNT[i*FH+ 2] = FNT[i*FH+ 3] = b0 | b1;
268      FNT[i*FH+ 4] = FNT[i*FH+ 5] = FNT[i*FH+ 6] = FNT[i*FH+ 7] = b2 | b3;
269      FNT[i*FH+ 8] = FNT[i*FH+ 9] = FNT[i*FH+10] = FNT[i*FH+11] = b4 | b5;
270   }
271}
272
245273DRIVER_INIT( lnw80 )
246274{
247275   UINT8 y, *FNT = memory_region(machine, "gfx1");
src/mess/drivers/trs80.c
r4221r4222
122122ADDRESS_MAP_END
123123
124124static ADDRESS_MAP_START( mem_model1, ADDRESS_SPACE_PROGRAM, 8 )
125   AM_RANGE(0x0000, 0x2fff) AM_ROM
126   AM_RANGE(0x3000, 0x37df) AM_NOP
125   AM_RANGE(0x0000, 0x37df) AM_ROM
127126   AM_RANGE(0x37e0, 0x37e3) AM_READWRITE(trs80_irq_status_r, trs80_motor_w)
128127   AM_RANGE(0x37e4, 0x37e7) AM_NOP
129128   AM_RANGE(0x37e8, 0x37eb) AM_READWRITE(trs80_printer_r, trs80_printer_w)
r4221r4222
477476   ROM_LOAD("trs80m1.chr", 0x0800, 0x0400, CRC(0033f2b9) SHA1(0d2cd4197d54e2e872b515bbfdaa98efe502eda7))
478477ROM_END
479478
479ROM_START(radionic)
480   ROM_REGION(0x10000, "main",0)
481   ROM_LOAD("ep1.bin",0x0000, 0x1000, CRC(e8908f44) SHA1(7a5a60c3afbeb6b8434737dd302332179a7fca59))
482   ROM_LOAD("ep2.bin",0x1000, 0x1000, CRC(46e88fbf) SHA1(a3ca32757f269e09316e1e91ba1502774e2f5155))
483   ROM_LOAD("ep3.bin",0x2000, 0x1000, CRC(306e5d66) SHA1(1e1abcfb5b02d4567cf6a81ffc35318723442369))
484   ROM_LOAD("ep4.bin",0x3000, 0x0400, CRC(70f90f26) SHA1(cbee70da04a3efac08e50b8e3a270262c2440120))
485   ROM_CONTINUE(0x3000, 0x400)
486   ROM_CONTINUE(0x3000, 0x7e0)
487   ROM_IGNORE(0x20)
488
489   ROM_REGION(0x00c00, "gfx1",0)
490   ROM_LOAD("trschar.bin", 0x0800, 0x0400, CRC(02e767b6) SHA1(c431fcc6bd04ce2800ca8c36f6f8aeb2f91ce9f7))
491   ROM_IGNORE(0xc00)
492ROM_END
493
480494ROM_START(sys80)
481495   ROM_REGION(0x10000, "main",0)
482496   ROM_LOAD("sys80rom.1",  0x0000, 0x1000, CRC(8f5214de) SHA1(d8c052be5a2d0ec74433043684791d0554bf203b))
r4221r4222
564578SYSTEM_CONFIG_END
565579
566580
567/*    YEAR  NAME      PARENT  COMPAT  MACHINE   INPUT  INIT  CONFIG   COMPANY  FULLNAME */
568COMP( 1977, trs80,    0,        0,      level1,   trs80, trs80,    0,      "Tandy Radio Shack",  "TRS-80 Model I (Level I Basic)" , 0)
569COMP( 1978, trs80l2,  trs80,    0,      model1,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model I (Level II Basic)" , 0)
570COMP( 1980, sys80,    trs80,    0,      model1,   trs80, trs80,    trs8012,   "EACA Computers Ltd.","System-80" , 0)
571COMP( 1981, lnw80,    trs80,    0,      model1,   trs80, lnw80,    trs8012,   "LNW Research","LNW-80", 0 )
572COMP( 1980, trs80m3,  trs80,    0,      model3,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model III", 0 )
573COMP( 1980, trs80m4,  trs80,    0,      model3,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model 4", 0 )
574COMP( 1983, ht1080z,  trs80,    0,      ht1080z,  trs80, ht1080z,  trs8012,   "Hiradastechnika Szovetkezet",  "HT-1080Z Series I" , 0)
575COMP( 1984, ht1080z2, trs80,    0,      ht1080z,  trs80, ht1080z,  trs8012,   "Hiradastechnika Szovetkezet",  "HT-1080Z Series II" , 0)
576COMP( 1985, ht108064, trs80,    0,      ht108064, trs80, ht108064, trs8012,   "Hiradastechnika Szovetkezet",  "HT-1080Z/64" , 0)
581/*    YEAR  NAME      PARENT  COMPAT  MACHINE     INPUT  INIT      CONFIG       COMPANY  FULLNAME */
582COMP( 1977, trs80,    0,   0,   level1,   trs80, trs80,    0,      "Tandy Radio Shack",  "TRS-80 Model I (Level I Basic)" , 0)
583COMP( 1978, trs80l2,  trs80,   0,   model1,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model I (Level II Basic)" , 0)
584COMP( 1983, radionic, trs80,   0,   model1,   trs80, radionic, trs8012,   "Komtek",  "Radionic" , 0)
585COMP( 1980, sys80,    trs80,   0,   model1,   trs80, trs80,    trs8012,   "EACA Computers Ltd.","System-80" , 0)
586COMP( 1981, lnw80,    trs80,   0,   model1,   trs80, lnw80,    trs8012,   "LNW Research","LNW-80", 0 )
587COMP( 1980, trs80m3,  trs80,   0,   model3,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model III", 0 )
588COMP( 1980, trs80m4,  trs80,   0,   model3,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model 4", 0 )
589COMP( 1983, ht1080z,  trs80,   0,   ht1080z,  trs80, ht1080z,  trs8012,   "Hiradastechnika Szovetkezet",  "HT-1080Z Series I" , 0)
590COMP( 1984, ht1080z2, trs80,   0,   ht1080z,  trs80, ht1080z,  trs8012,   "Hiradastechnika Szovetkezet",  "HT-1080Z Series II" , 0)
591COMP( 1985, ht108064, trs80,   0,   ht108064, trs80, ht108064, trs8012,   "Hiradastechnika Szovetkezet",  "HT-1080Z/64" , 0)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team