Previous 15994 Revisions Next

r2650 Sunday 18th May, 2008 at 10:29:41 UTC by Curt Coder
[OSCNANO] Added OSCOM Nano as working.
[docs]messnew.txt
[src/mess]messdriv.c
[src/mess/drivers]tmc1800.c

src/mess/messdriv.c
r2649r2650
774774   DRIVER(mpf1b)      /* 1979 Multitech Micro Professor 1B            */
775775
776776   /* Telercas Oy */
777TESTDRIVER(tmc1800)      /* 1977 Telmac 1800                           */
778   DRIVER(tmc2000)      /* 1980 Telmac 2000                           */
779TESTDRIVER(tmc2000e)   /* 1980 Telmac 2000E                        */
780TESTDRIVER(tmc600s1)   /* 1982 Telmac TMC-600 (Series I)               */
781   DRIVER(tmc600s2)   /* 1982 Telmac TMC-600 (Series II)               */
777TESTDRIVER(tmc1800)
778   DRIVER(tmc2000)
779TESTDRIVER(tmc2000e)
780TESTDRIVER(tmc600s1)
781   DRIVER(tmc600s2)
782782
783   /* OSCOM Oy */
784TESTDRIVER(osc1000b)
785   DRIVER(oscnano)
786
783787   /* MIT */
784788   DRIVER( tx0_64kw )   /* April 1956 MIT TX-0 (64kw RAM)               */
785789   DRIVER( tx0_8kw )   /* 1962 MIT TX-0 (8kw RAM)                     */
src/mess/drivers/tmc1800.c
r2649r2650
6666
6767   TODO:
6868
69   - tape input/output
6970   - tmc2000: add missing keys
7071   - tmc2000: TOOL-2000 rom banking
7172
r2649r2650
8687
8788static MACHINE_RESET( tmc1800 );
8889static MACHINE_RESET( tmc2000 );
90static MACHINE_RESET( oscnano );
8991
9092static const device_config *cassette_device_image(void)
9193{
r2649r2650
123125   state->keylatch = data & 0x3f;
124126}
125127
128static WRITE8_HANDLER( oscnano_keylatch_w )
129{
130   /*
131
132      bit      description
133     
134      0      X0
135      1      X1
136      2      X2
137      3      Y0
138      4      not connected
139      5      not connected
140      6      not connected
141      7      not connected
142
143   */
144
145   tmc2000_state *state = machine->driver_data;
146
147   state->keylatch = data & 0x0f;
148}
149
126150static WRITE8_DEVICE_HANDLER( tmc2000_bankswitch_w )
127151{
128152   int bank = data & 0x01;
r2649r2650
204228
205229static ADDRESS_MAP_START( oscnano_io_map, ADDRESS_SPACE_IO, 8 )
206230   AM_RANGE(0x01, 0x01) AM_DEVREADWRITE(CDP1864, CDP1864_TAG, cdp1864_dispon_r, cdp1864_step_bgcolor_w)
207   AM_RANGE(0x02, 0x02) AM_WRITE(tmc1800_keylatch_w)
231   AM_RANGE(0x02, 0x02) AM_WRITE(oscnano_keylatch_w)
208232   AM_RANGE(0x04, 0x04) AM_DEVREADWRITE(CDP1864, CDP1864_TAG, cdp1864_dispoff_r, oscnano_bankswitch_w)
209233ADDRESS_MAP_END
210234
r2649r2650
495519
496520static CDP1802_MODE_READ( oscnano_mode_r )
497521{
522   tmc2000_state *state = machine->driver_data;
523
498524   if (input_port_read(machine, "RUN") & 0x01)
499525   {
526      if (state->reset)
527      {
528         MACHINE_RESET_CALL(oscnano);
529
530         state->reset = 0;
531      }
532
500533      return CDP1802_MODE_RUN;
501534   }
502535   else
503536   {
504      // enable ROM at 0x0000
537      state->reset = 1;
505538
506      memory_set_bank(1, 0);
507
508539      return CDP1802_MODE_RESET;
509540   }
510541}
r2649r2650
825856
826857ROM_START( oscnano )
827858   ROM_REGION( 0x10000, REGION_CPU1, 0 )
828   ROM_LOAD( "mmi6349.ic", 0x8000, 0x0200, NO_DUMP ) // equivalent to 82S141
859   ROM_LOAD( "mmi6349.ic", 0x8000, 0x0200, BAD_DUMP CRC(1ec1b432) SHA1(ac41f5e38bcd4b80bd7a5b277a2c600899fd5fb8) ) // equivalent to 82S141
829860ROM_END
830861
831862/* System Configuration */
r2649r2650
920951COMP( 1977, tmc1800,    0,      0,      tmc1800,    tmc1800,    tmc1800,    tmc1800,    "Telercas Oy",  "Telmac 1800",  GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
921952COMP( 1977, osc1000b,   tmc1800,0,      osc1000b,   tmc1800,    tmc1800,    tmc1800,    "OSCOM Oy",      "OSCOM 1000B",  GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
922953COMP( 1980, tmc2000,    0,      0,      tmc2000,    tmc2000,    tmc1800,    tmc2000,    "Telercas Oy",  "Telmac 2000",  GAME_SUPPORTS_SAVE )
923COMP( 1980, oscnano,   tmc2000,0,      oscnano,   oscnano,   tmc1800,   oscnano,   "OSCOM Oy",      "OSCOM Nano",   GAME_NOT_WORKING | GAME_SUPPORTS_SAVE )
954COMP( 1980, oscnano,   tmc2000,0,      oscnano,   oscnano,   tmc1800,   oscnano,   "OSCOM Oy",      "OSCOM Nano",   GAME_SUPPORTS_SAVE )
docs/messnew.txt
r2649r2650
22
33New System Drivers Supported (in no particular order):
44------------------------------------------------------
5(none)
5- OSCOM Nano  [Curt Coder, HobbyLabs]
66
77
88

Previous 15994 Revisions Next


© 1998-2018 The MESS Team