Previous 199869 Revisions Next

r19221 Thursday 29th November, 2012 at 19:01:35 UTC by Curt Coder
(MESS) bw2: Fixed floppy format and FDC clock. (nw)
[src/lib/formats]bw2_dsk.c bw2_dsk.h
[src/mess/drivers]bw2.c

trunk/src/lib/formats/bw2_dsk.c
r19220r19221
4242#include "emu.h"
4343#include "formats/bw2_dsk.h"
4444
45bw2_format::bw2_format() : wd177x_format(formats)
45bw2_format::bw2_format() : upd765_format(formats)
4646{
4747}
4848
r19220r19221
6161   return "dsk";
6262}
6363
64// Unverified gap sizes
6564const bw2_format::format bw2_format::formats[] = {
66   {   /*  340K 3 1/2 inch double density */
67      floppy_image::FF_35,  floppy_image::SSDD,
68      2000, 17, 80, 1, 256, {}, 0, {}, 100, 22, 20
65   {   // 340K 3 1/2 inch double density
66      floppy_image::FF_35, floppy_image::SSDD,
67      2000, 17, 80, 1, 256, {}, 0, {}, 80, 20, 22, 14
6968   },
70   {   /*  360K 3 1/2 inch double density */
71      floppy_image::FF_35,  floppy_image::SSDD,
72      2000, 18, 80, 1, 256, {}, 0, {}, 100, 22, 20
69   {   // 360K 3 1/2 inch double density
70      floppy_image::FF_35, floppy_image::SSDD,
71      2000, 18, 80, 1, 256, {}, 0, {}, 80, 20, 22, 14
7372   },
7473   {}
7574};
trunk/src/lib/formats/bw2_dsk.h
r19220r19221
99#ifndef BW2_DSK_H_
1010#define BW2_DSK_H_
1111
12#include "wd177x_dsk.h"
12#include "upd765_dsk.h"
1313
14class bw2_format : public wd177x_format {
14class bw2_format : public upd765_format {
1515public:
1616   bw2_format();
1717
trunk/src/mess/drivers/bw2.c
r19220r19221
649649   MCFG_MSM6255_ADD(MSM6255_TAG, XTAL_16MHz, 0, SCREEN_TAG, lcdc_map)
650650   MCFG_CENTRONICS_PRINTER_ADD(CENTRONICS_TAG, standard_centronics)
651651   MCFG_I8251_ADD(I8251_TAG, default_i8251_interface)
652   MCFG_WD2797x_ADD(WD2797_TAG, XTAL_16MHz/16*8)
652   MCFG_WD2797x_ADD(WD2797_TAG, XTAL_16MHz/8)
653653   MCFG_FLOPPY_DRIVE_ADD(WD2797_TAG":0", bw2_floppies, "35dd", NULL, bw2_state::floppy_formats)
654654   MCFG_FLOPPY_DRIVE_ADD(WD2797_TAG":1", bw2_floppies, NULL,   NULL, bw2_state::floppy_formats)
655655   MCFG_BW2_EXPANSION_SLOT_ADD(BW2_EXPANSION_SLOT_TAG, XTAL_16MHz, bw2_expansion_cards, NULL, NULL)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team