Previous 15994 Revisions Next

r2196 Tuesday 1st April, 2008 at 11:33:03 UTC by Robbbert
[TRS80] Trs80m3 and trs80m4 changed from testdriver to driver. Patched keyboard so they are usable.
[src/mess]messdriv.c
[src/mess/drivers]trs80.c
[src/mess/machine]trs80.c

src/mess/messdriv.c
r2195r2196
559559   DRIVER( trs80l2a )   /* TRS-80 Model I   - R/S L2 BASIC               */
560560   DRIVER( sys80 )      /* EACA System 80                           */
561561   DRIVER( lnw80 )      /* LNW Research LNW-80                        */
562TESTDRIVER( trs80m3 )   /* TRS-80 Model III - Radio Shack/Tandy            */
563TESTDRIVER( trs80m4 )
562   DRIVER( trs80m3 )   /* TRS-80 Model III - Radio Shack/Tandy            */
563   DRIVER( trs80m4 )
564564
565565   DRIVER( coco )      /* Color Computer                           */
566566   DRIVER( cocoe )      /* Color Computer (Extended BASIC 1.0)            */
src/mess/machine/trs80.c
r2195r2196
672672}
673673
674674/*************************************
675 *                            *
676 *      Memory handlers           *
677 *                            *
675 *                 *
676 *      Memory handlers      *
677 *                 *
678678 *************************************/
679679
680680 READ8_HANDLER ( trs80_printer_r )
src/mess/drivers/trs80.c
r2195r2196
149149
150150static ADDRESS_MAP_START( io_model3, ADDRESS_SPACE_IO, 8 )
151151   ADDRESS_MAP_GLOBAL_MASK(0xff)
152   AM_RANGE(0xe0, 0xe3) AM_READWRITE(trs80_irq_status_r, trs80_irq_mask_w)
153   AM_RANGE(0xe4, 0xe4)   AM_WRITE(trs80_motor_w)
152   /* the ports marked NOP are not emulated yet */
153//   AM_RANGE(0xe0, 0xe3) AM_READWRITE(trs80_irq_status_r, trs80_irq_mask_w)   // needs to be fixed because it breaks the keyboard
154   AM_RANGE(0xe4, 0xe4) AM_READWRITE(SMH_NOP,trs80_motor_w)
155   AM_RANGE(0xe8, 0xe8) AM_NOP
156   AM_RANGE(0xe9, 0xe9) AM_WRITENOP
157   AM_RANGE(0xea, 0xea) AM_NOP
158   AM_RANGE(0xeb, 0xeb) AM_NOP
159   AM_RANGE(0xec, 0xec) AM_WRITENOP
154160   AM_RANGE(0xf0, 0xf0) AM_READWRITE(trs80_wd179x_r, wd17xx_command_w)
155161   AM_RANGE(0xf1, 0xf1) AM_READWRITE(wd17xx_track_r, wd17xx_track_w)
156162   AM_RANGE(0xf2, 0xf2) AM_READWRITE(wd17xx_sector_r, wd17xx_sector_w)
157163   AM_RANGE(0xf3, 0xf3) AM_READWRITE(wd17xx_data_r, wd17xx_data_w)
164   AM_RANGE(0xf4, 0xf4) AM_WRITENOP
165   AM_RANGE(0xf8, 0xf8) AM_WRITENOP
158166   AM_RANGE(0xff, 0xff) AM_READWRITE(trs80_port_ff_r, trs80_port_ff_w)
159167ADDRESS_MAP_END
160168
r2195r2196
515523COMP( 1978, trs80l2a, trs80,    0,      model1,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model I (R/S L2 Basic)" , 0)
516524COMP( 1980, sys80,    trs80,    0,      model1,   trs80, trs80,    trs8012,   "EACA Computers Ltd.","System-80" , 0)
517525COMP( 1981, lnw80,    trs80,    0,      model1,   trs80, lnw80,    trs8012,   "LNW Research","LNW-80", 0 )
518COMP( 1980, trs80m3,  trs80,    0,      model3,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model III", GAME_NOT_WORKING )
519COMP( 1980, trs80m4,  trs80,    0,      model3,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model 4", GAME_NOT_WORKING )
526COMP( 1980, trs80m3,  trs80,    0,      model3,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model III", 0 )
527COMP( 1980, trs80m4,  trs80,    0,      model3,   trs80, trs80,    trs8012,   "Tandy Radio Shack",  "TRS-80 Model 4", 0 )
520528

Previous 15994 Revisions Next


© 1998-2018 The MESS Team