Previous 15994 Revisions Next

r8147 Sunday 23rd May, 2010 at 17:48:32 UTC by Fabio Priuli
lists WIP:
- hooked up astrocade and channelf lists to the drivers
- fixed a couple of description (Conqueror -> Solar Conqueror, and & -> &)
- added a couple of parent/clone relations
[hash]astrocde.xml channelf.xml
[src/mess/drivers]astrocde.c channelf.c

hash/astrocde.xml
r8146r8147
111111      </part>
112112   </software>
113113 
114   <software name="conquerr">
115      <description>Conqueror (Proto)</description>
114   <software name="sconquer">
115      <description>Solar Conqueror (Proto)</description>
116116      <year>1983</year>
117117      <publisher>Astrocade Inc.</publisher>
118118      <part name="cart" interface="astrocde_cart">
r8146r8147
265265      </part>
266266   </software>
267267 
268   <software name="thewizrd">
268   <software name="wizard">
269269      <description>The Wizard</description>
270270      <year>1982</year>
271271      <publisher>Astrocade Inc.</publisher>
hash/channelf.xml
r8146r8147
169169      </part>
170170   </software>
171171 
172   <software name="mazealt">
172   <software name="mazea" cloneof="maze">
173173      <description>Maze / Jailbreak / Blind-man's-bluff / Trailblazer (Alt)</description>
174174      <!-- <cart number>Videocart 10a</cart number> -->
175175      <year>1977</year>
r8146r8147
229229      </part>
230230   </software>
231231 
232   <software name="mmrymtch">
233      <description>Memory Match 1 & 2</description>
232   <software name="memory">
233      <description>Memory Match 1 &amp; 2</description>
234234      <!-- <cart number>Videocart 15</cart number> -->
235235      <year>1978</year>
236236      <publisher>Fairchild</publisher>
r8146r8147
277277      </part>
278278   </software>
279279 
280   <software name="pinballa">
280   <software name="pinballa" cloneof="pinball">
281281      <description>Pinball Challenge (Alt)</description>
282282      <!-- <cart number>Videocart 17a</cart number> -->
283283      <year>1978</year>
r8146r8147
313313      </part>
314314   </software>
315315 
316   <software name="vwhzball">
316   <software name="whizball">
317317      <description>Video Whizball</description>
318318      <!-- <cart number>Videocart 20</cart number> -->
319319      <year>197?</year>
src/mess/drivers/astrocde.c
r8146r8147
143143 *
144144 *************************************/
145145
146static DEVICE_IMAGE_LOAD( astrocde_cart )
147{
148   UINT32 size;
149
150   if (image_software_entry(image) == NULL)
151   {
152      size = image_length(image);
153
154      if (image_fread(image, memory_region(image->machine, "maincpu") + 0x2000, size) != size)
155      {
156         image_seterror(image, IMAGE_ERROR_UNSPECIFIED, "Unable to fully read from file");
157         return INIT_FAIL;
158      }
159
160   }
161   else
162   {
163      size = image_get_software_region_length(image, "rom");
164      memcpy(memory_region(image->machine, "maincpu") + 0x2000, image_get_software_region(image, "rom"), size);
165   }
166
167   return INIT_PASS;
168}
169
146170static MACHINE_DRIVER_START( astrocde )
147171   /* basic machine hardware */
148172   MDRV_CPU_ADD("maincpu", Z80, ASTROCADE_CLOCK/4)        /* 1.789 MHz */
r8146r8147
165189   MDRV_SOUND_ADD("astrocade1", ASTROCADE, ASTROCADE_CLOCK/4)
166190   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
167191
192   /* cartridge */
168193   MDRV_CARTSLOT_ADD("cart")
194   MDRV_CARTSLOT_EXTENSION_LIST("bin")
195   MDRV_CARTSLOT_INTERFACE("astrocde_cart")
196   MDRV_CARTSLOT_LOAD(astrocde_cart)
197
198   /* Software lists */
199   MDRV_SOFTWARE_LIST_ADD("astrocde")
169200MACHINE_DRIVER_END
170201
171202
r8146r8147
178209ROM_START( astrocde )
179210    ROM_REGION( 0x10000, "maincpu", 0 )
180211    ROM_LOAD( "astro.bin",  0x0000, 0x2000, CRC(ebc77f3a) SHA1(b902c941997c9d150a560435bf517c6a28137ecc))
181    ROM_CART_LOAD("cart", 0x2000, 0x2000, ROM_OPTIONAL)
182212ROM_END
183213
184214ROM_START( astrocdw )
185215    ROM_REGION( 0x10000, "maincpu", 0 )
186216    ROM_LOAD( "bioswhit.bin",  0x0000, 0x2000, CRC(6eb53e79) SHA1(d84341feec1a0a0e8aa6151b649bc3cf6ef69fbf))
187    ROM_CART_LOAD("cart", 0x2000, 0x2000, ROM_OPTIONAL)
188217ROM_END
189218
190219/*************************************
src/mess/drivers/channelf.c
r8146r8147
230230   PORT_BIT ( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON3) /* CLOCKWISE   */ PORT_PLAYER(2)
231231   PORT_BIT ( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2) /* PULL UP     */ PORT_PLAYER(2)
232232   PORT_BIT ( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON1) /* PUSH DOWN   */ PORT_PLAYER(2)
233
234233INPUT_PORTS_END
235234
236235
236
237static DEVICE_IMAGE_LOAD( channelf_cart )
238{
239   UINT32 size;
240
241   if (image_software_entry(image) == NULL)
242   {
243      size = image_length(image);
244
245      if (size > 0xf800)
246      {
247         image_seterror(image, IMAGE_ERROR_UNSPECIFIED, "Unsupported cartridge size");
248         return INIT_FAIL;
249      }
250
251      if (image_fread(image, memory_region(image->machine, "maincpu") + 0x0800, size) != size)
252      {
253         image_seterror(image, IMAGE_ERROR_UNSPECIFIED, "Unable to fully read from file");
254         return INIT_FAIL;
255      }
256
257   }
258   else
259   {
260      size = image_get_software_region_length(image, "rom");
261      memcpy(memory_region(image->machine, "maincpu") + 0x0800, image_get_software_region(image, "rom"), size);
262   }
263
264   return INIT_PASS;
265}
266
267static MACHINE_DRIVER_START( channelf_cart )
268   /* cartridge */
269   MDRV_CARTSLOT_ADD("cart")
270   MDRV_CARTSLOT_EXTENSION_LIST("bin,chf")
271   MDRV_CARTSLOT_INTERFACE("channelf_cart")
272   MDRV_CARTSLOT_LOAD(channelf_cart)
273
274   /* Software lists */
275   MDRV_SOFTWARE_LIST_ADD("channelf")
276MACHINE_DRIVER_END
277
237278static MACHINE_DRIVER_START( channelf )
238279   /* basic machine hardware */
239280   MDRV_CPU_ADD("maincpu", F8, 3579545/2)        /* Colorburst/2 */
r8146r8147
259300   MDRV_SOUND_ADD("custom", CHANNELF, 0)
260301   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
261302
262   MDRV_CARTSLOT_ADD("cart")
263   MDRV_CARTSLOT_EXTENSION_LIST("bin,chf")
303   MDRV_IMPORT_FROM( channelf_cart )
264304MACHINE_DRIVER_END
265305
266306static MACHINE_DRIVER_START( sabavdpl )
r8146r8147
288328   MDRV_SOUND_ADD("custom", CHANNELF, 0)
289329   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
290330
291   MDRV_CARTSLOT_ADD("cart")
292   MDRV_CARTSLOT_EXTENSION_LIST("bin,chf")
331   MDRV_IMPORT_FROM( channelf_cart )
293332MACHINE_DRIVER_END
294333
295334
r8146r8147
318357   MDRV_SOUND_ADD("custom", CHANNELF, 0)
319358   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
320359
321   MDRV_CARTSLOT_ADD("cart")
322   MDRV_CARTSLOT_EXTENSION_LIST("bin,chf")
360   MDRV_IMPORT_FROM( channelf_cart )
323361MACHINE_DRIVER_END
324362
325363
r8146r8147
348386   MDRV_SOUND_ADD("custom", CHANNELF, 0)
349387   MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
350388
351   MDRV_CARTSLOT_ADD("cart")
352   MDRV_CARTSLOT_EXTENSION_LIST("bin,chf")
389   MDRV_IMPORT_FROM( channelf_cart )
353390MACHINE_DRIVER_END
354391
355392ROM_START( channelf )
r8146r8147
378415***************************************************************************/
379416
380417/*    YEAR  NAME        PARENT  COMPAT  MACHINE     INPUT     INIT   COMPANY         FULLNAME        FLAGS */
381CONS( 1976, channelf,  0,        0,    channelf,  channelf,   0,      "Fairchild",    "Channel F",                            0)
382CONS( 1977, sabavdpl,  channelf, 0,    sabavdpl,  channelf,   0,      "SABA",         "SABA Videoplay",                       0)
383CONS( 197?, luxorves,  channelf, 0,    sabavdpl,  channelf,   0,      "Luxor",        "Luxor Video Entertainment System",     0)
384CONS( 1978, channlf2,  0, channelf,    channlf2,  channelf,   0,      "Fairchild",    "Channel F II",                         0)
385CONS( 1978, sabavpl2,  channlf2, 0,    sabavpl2,  channelf,   0,      "SABA",         "SABA Videoplay 2",                     0)
386CONS( 197?, luxorvec,  channlf2, 0,    sabavpl2,  channelf,   0,      "Luxor",        "Luxor Video Entertainment Computer",   0)
387CONS( 197?, itttelma,  channlf2, 0,    sabavpl2,  channelf,   0,      "ITT",          "ITT Tele-Match Processor",             0)
388CONS( 1978, ingtelma,  channlf2, 0,    sabavpl2,  channelf,   0,      "Ingelen",      "Ingelen Tele-Match Processor",         0)
418CONS( 1976, channelf,  0,        0,    channelf,  channelf,   0,      "Fairchild",    "Channel F",                            0 )
419CONS( 1977, sabavdpl,  channelf, 0,    sabavdpl,  channelf,   0,      "SABA",         "SABA Videoplay",                       0 )
420CONS( 197?, luxorves,  channelf, 0,    sabavdpl,  channelf,   0,      "Luxor",        "Luxor Video Entertainment System",     0 )
421CONS( 1978, channlf2,  0, channelf,    channlf2,  channelf,   0,      "Fairchild",    "Channel F II",                         0 )
422CONS( 1978, sabavpl2,  channlf2, 0,    sabavpl2,  channelf,   0,      "SABA",         "SABA Videoplay 2",                     0 )
423CONS( 197?, luxorvec,  channlf2, 0,    sabavpl2,  channelf,   0,      "Luxor",        "Luxor Video Entertainment Computer",   0 )
424CONS( 197?, itttelma,  channlf2, 0,    sabavpl2,  channelf,   0,      "ITT",          "ITT Tele-Match Processor",             0 )
425CONS( 1978, ingtelma,  channlf2, 0,    sabavpl2,  channelf,   0,      "Ingelen",      "Ingelen Tele-Match Processor",         0 )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team