gimix: corrected FDC clock, Gimix Flex 4.3 is now bootable.

This commit is contained in:
mahlemiut 2014-07-15 10:43:28 +00:00
parent 3c8173afd7
commit a57151a7da
2 changed files with 4 additions and 2 deletions

View File

@ -42,7 +42,7 @@ bool flex_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
{
int spt = info.last_sec;
int bps = 256;
int cell_count = 100000;
int cell_count = 50000;
int offset = 0;
int head_num = 1;
int total_tracks = info.last_trk+1;
@ -56,6 +56,8 @@ bool flex_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
double_sided = true;
if(total_tracks == 80 && spt == 72) // 1.44MB
double_sided = true;
if(spt >= 20)
double_sided = true;
if(double_sided)
{

View File

@ -542,7 +542,7 @@ static MACHINE_CONFIG_START( gimix, gimix_state )
MCFG_PTM6840_IRQ_CB(WRITELINE(gimix_state,irq_w)) // PCB pictures show both the RTC and timer set to generate IRQs (are jumper configurable)
/* floppy disks */
MCFG_FD1797x_ADD("fdc",XTAL_8MHz / 4)
MCFG_FD1797x_ADD("fdc",XTAL_8MHz / 8)
MCFG_WD_FDC_INTRQ_CALLBACK(WRITELINE(gimix_state,fdc_irq_w))
MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(gimix_state,fdc_drq_w))
MCFG_WD_FDC_FORCE_READY