Previous 199869 Revisions Next

r26267 Monday 18th November, 2013 at 19:31:27 UTC by Curt Coder
(MESS) adam: Added a second floppy drive and verified 160KB floppy image gap sizes. [Curt Coder]
(MESS) adam_flop.xml: Added disk utilities. [Curt Coder]
[hash]adam_flop.xml
[src/emu/bus/adamnet]fdc.c fdc.h
[src/lib/formats]adam_dsk.c
[src/mess/drivers]adam.c

trunk/src/lib/formats/adam_dsk.c
r26266r26267
3030   return "dsk";
3131}
3232
33// Unverified gap sizes
3433const adam_format::format adam_format::formats[] = {
34   // track description
35   // 100x4e 12x00 3xf5 fe 2x00 01 02 f7 22x4e 12x00 3xf5 fb 512xe5 f7
36   // 100x4e 12x00 3xf5 fe 2x00 02 02 f7 22x4e 12x00 3xf5 fb 512xe5 f7
37   // 100x4e 12x00 3xf5 fe 2x00 03 02 f7 22x4e 12x00 3xf5 fb 512xe5 f7
38   // 100x4e 12x00 3xf5 fe 2x00 04 02 f7 22x4e 12x00 3xf5 fb 512xe5 f7
39   // 100x4e 12x00 3xf5 fe 2x00 05 02 f7 22x4e 12x00 3xf5 fb 512xe5 f7
40   // 100x4e 12x00 3xf5 fe 2x00 06 02 f7 22x4e 12x00 3xf5 fb 512xe5 f7
41   // 100x4e 12x00 3xf5 fe 2x00 07 02 f7 22x4e 12x00 3xf5 fb 512xe5 f7
42   // 100x4e 12x00 3xf5 fe 2x00 08 02 f7 22x4e 12x00 3xf5 fb 512xe5 f7
43   // 859x4e
3544   {   /*  160K 5 1/4 inch double density single sided */
3645      floppy_image::FF_525, floppy_image::SSDD, floppy_image::MFM,
37      2000,  8, 40, 1, 512, {}, 1, {}, 100, 22, 84
46      2000,  8, 40, 1, 512, {}, 1, {}, 100, 22, 100
3847   },
48   
49   // Unverified gap sizes -->
3950   {   /*  320K 5 1/4 inch double density */
4051      floppy_image::FF_525, floppy_image::DSDD, floppy_image::MFM,
4152      2000,  8, 40, 2, 512, {}, 1, {}, 100, 22, 84
trunk/src/emu/bus/adamnet/fdc.c
r26266r26267
99
1010**********************************************************************/
1111
12/*
13   
14   TODO:
15
16   - 320KB DSDD 5.25"
17   - 720KB DSDD 3.5"
18   - 1.44MB DSHD 3.5"
19
20*/
21
1222#include "fdc.h"
1323
1424
r26266r26267
113123FLOPPY_FORMATS_END
114124
115125static SLOT_INTERFACE_START( adam_fdc_floppies )
116   SLOT_INTERFACE( "525dd", FLOPPY_525_DD )
126   SLOT_INTERFACE( "525ssdd", FLOPPY_525_SSDD )
117127SLOT_INTERFACE_END
118128
119129
r26266r26267
128138
129139   MCFG_WD2793x_ADD(WD2793_TAG, XTAL_4MHz/4)
130140
131   MCFG_FLOPPY_DRIVE_ADD(WD2793_TAG":0", adam_fdc_floppies, "525dd", adam_fdc_device::floppy_formats)
141   MCFG_FLOPPY_DRIVE_ADD(WD2793_TAG":0", adam_fdc_floppies, "525ssdd", adam_fdc_device::floppy_formats)
132142MACHINE_CONFIG_END
133143
134144
r26266r26267
348358
349359   m_bus->txd_w(this, BIT(data, 4));
350360}
361
362
363//-------------------------------------------------
364//  DEVICE_INPUT_DEFAULTS( drive2 )
365//-------------------------------------------------
366
367DEVICE_INPUT_DEFAULTS_START( drive2 )
368   DEVICE_INPUT_DEFAULTS("SW3", 0x01, 0x01)
369DEVICE_INPUT_DEFAULTS_END
trunk/src/emu/bus/adamnet/fdc.h
r26266r26267
7171extern const device_type ADAM_FDC;
7272
7373
74// default inputs
75extern const input_device_default DEVICE_INPUT_DEFAULTS_NAME( drive2 )[];
7476
77
78
7579#endif
trunk/src/mess/drivers/adam.c
r26266r26267
11351135   MCFG_ADAMNET_SLOT_ADD("net2", adamnet_devices, "prn")
11361136   MCFG_ADAMNET_SLOT_ADD("net3", adamnet_devices, "ddp")
11371137   MCFG_ADAMNET_SLOT_ADD("net4", adamnet_devices, "fdc")
1138   MCFG_ADAMNET_SLOT_ADD("net5", adamnet_devices, NULL)
1138   MCFG_ADAMNET_SLOT_ADD("net5", adamnet_devices, "fdc")
1139   MCFG_DEVICE_CARD_DEVICE_INPUT_DEFAULTS("fdc", drive2)
11391140   MCFG_ADAMNET_SLOT_ADD("net6", adamnet_devices, NULL)
11401141   MCFG_ADAMNET_SLOT_ADD("net7", adamnet_devices, NULL)
11411142   MCFG_ADAMNET_SLOT_ADD("net8", adamnet_devices, NULL)
trunk/hash/adam_flop.xml
r26266r26267
22<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
33<softwarelist name="adam_flop" description="Coleco Adam diskettes">
44
5   <software name="diskdoc">
6      <description>Disk Doctor v1.4</description>
7      <year>1987</year>
8      <publisher>AJM Software</publisher>
9
10      <part name="flop1" interface="floppy_5_25">
11         <dataarea name="flop" size="52231">
12            <rom name="diskdoc.imd" size="52231" crc="33bf7050" sha1="413e091fb915c713f56004cbedc2be9dca9e12d6" offset="0" />
13         </dataarea>
14      </part>
15   </software>
16
17   <software name="diskman">
18      <description>Disk Manager</description>
19      <year>1984</year>
20      <publisher>Coleco</publisher>
21
22      <part name="flop1" interface="floppy_5_25">
23         <dataarea name="flop" size="162897">
24            <rom name="diskman1.imd" size="162897" crc="160d75a1" sha1="cb43a4c16abc24de4692038c94f7836c25fa495a" offset="0" />
25         </dataarea>
26      </part>
27   </software>
28
29   <software name="diskmana" cloneof="diskman">
30      <description>Disk Manager (Alt)</description>
31      <year>1984</year>
32      <publisher>Coleco</publisher>
33
34      <part name="flop1" interface="floppy_5_25">
35         <dataarea name="flop" size="163410">
36            <rom name="diskman2.imd" size="163410" crc="4db60438" sha1="9c1b815833726457d54c9bfc8848434cdbd2145e" offset="0" />
37         </dataarea>
38      </part>
39   </software>
40
541   <software name="bestbc">
642      <description>Best of B.C. Featuring B.C's Quest For Tires and B.C. II: Grog's Revenge</description>
743      <year>1985</year>

Previous 199869 Revisions Next


© 1997-2024 The MAME Team