trunk/src/lib/formats/kaypro_dsk.c
| r243396 | r243397 | |
| 9 | 9 | There is no inter-sector info on these disks. It is simply a |
| 10 | 10 | dump of the 512 bytes from each sector and track in order. |
| 11 | 11 | 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. |
| 17 | 16 | |
| 18 | 17 | *********************************************************************/ |
| 19 | 18 | |
| 20 | 19 | #include "emu.h" |
| 21 | 20 | #include "formats/kaypro_dsk.h" |
| 22 | 21 | |
| 23 | | kayproii_format::kayproii_format() : wd177x_format(formats) |
| 22 | kayproii_format::kayproii_format() : upd765_format(formats) |
| 24 | 23 | { |
| 25 | 24 | } |
| 26 | 25 | |
| r243396 | r243397 | |
| 43 | 42 | const kayproii_format::format kayproii_format::formats[] = { |
| 44 | 43 | { /* 191K 13cm double density single sided */ |
| 45 | 44 | 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 |
| 47 | 46 | }, |
| 48 | 47 | {} |
| 49 | 48 | }; |
| 50 | 49 | |
| 51 | | kaypro2x_format::kaypro2x_format() : wd177x_format(formats) |
| 50 | kaypro2x_format::kaypro2x_format() : upd765_format(formats) |
| 52 | 51 | { |
| 53 | 52 | } |
| 54 | 53 | |
| r243396 | r243397 | |
| 71 | 70 | const kaypro2x_format::format kaypro2x_format::formats[] = { |
| 72 | 71 | { /* 382K 13cm double density double sided */ |
| 73 | 72 | 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 |
| 75 | 74 | }, |
| 76 | 75 | {} |
| 77 | 76 | }; |