Previous 199869 Revisions Next

r34885 Friday 6th February, 2015 at 08:25:42 UTC by Robbbert
(MESS) kaypro: OG has verified gaps and base class for KAY format.
[src/lib/formats]kaypro_dsk.c kaypro_dsk.h

trunk/src/lib/formats/kaypro_dsk.c
r243396r243397
99    There is no inter-sector info on these disks. It is simply a
1010    dump of the 512 bytes from each sector and track in order.
1111    It is just like a headerless quickload.
12    No idea about how to calculate the gaps. Used the ones recommended
13    in the wd177x_dsk notes, works for most disks. Please note that
14    these disks usually have DSK extension, but that conflicts with
15    the CPCEMU DSK format. You need to rename your Kaypro DSK disks
16    to KAY extension.
12    Base class and gaps verified by OG. Please note that these
13    disks usually have DSK extension, but that conflicts with
14    the CPCEMU DSK format. You need to rename your Kaypro DSK
15    disks to KAY extension.
1716
1817*********************************************************************/
1918
2019#include "emu.h"
2120#include "formats/kaypro_dsk.h"
2221
23kayproii_format::kayproii_format() : wd177x_format(formats)
22kayproii_format::kayproii_format() : upd765_format(formats)
2423{
2524}
2625
r243396r243397
4342const kayproii_format::format kayproii_format::formats[] = {
4443   {   /*  191K 13cm double density single sided */
4544      floppy_image::FF_525,  floppy_image::SSDD, floppy_image::MFM,
46      2000, 10, 40, 1, 512, {}, 0, {}, 80, 22, 24
45      2000, 10, 40, 1, 512, {}, 0, {}, 80, 16, 22, 26
4746   },
4847   {}
4948};
5049
51kaypro2x_format::kaypro2x_format() : wd177x_format(formats)
50kaypro2x_format::kaypro2x_format() : upd765_format(formats)
5251{
5352}
5453
r243396r243397
7170const kaypro2x_format::format kaypro2x_format::formats[] = {
7271   {   /*  382K 13cm double density double sided */
7372      floppy_image::FF_525,  floppy_image::DSDD, floppy_image::MFM,
74      2000, 10, 40, 2, 512, {}, 0, {}, 80, 22, 24
73      2000, 10, 40, 2, 512, {}, 0, {}, 80, 16, 22, 26
7574   },
7675   {}
7776};
trunk/src/lib/formats/kaypro_dsk.h
r243396r243397
99#ifndef KAYPRO_DSK_H_
1010#define KAYPRO_DSK_H_
1111
12#include "wd177x_dsk.h"
12#include "upd765_dsk.h"
1313
14class kayproii_format : public wd177x_format {
14class kayproii_format : public upd765_format {
1515public:
1616   kayproii_format();
1717
r243396r243397
2323   static const format formats[];
2424};
2525
26class kaypro2x_format : public wd177x_format {
26class kaypro2x_format : public upd765_format {
2727public:
2828   kaypro2x_format();
2929


Previous 199869 Revisions Next


© 1997-2024 The MAME Team