Previous 15994 Revisions Next

r1151 Friday 19th October, 2007 at 14:35:53 UTC by Curt Coder
[ATARIST] Fixed floppy code a bit
[src/mess/drivers]atarist.c

src/mess/drivers/atarist.c
r1150r1151
2222
2323   TODO:
2424
25   - fix floppy interface
2526   - MSA disk image support
2627   - UK keyboard layout for the special keys
2728   - accurate screen timing
r1150r1151
12901291
12911292static WRITE8_HANDLER( ym2149_port_a_w )
12921293{
1293   wd17xx_set_side(data & 0x01);
1294   wd17xx_set_side((data & 0x01) ? 0 : 1);
12941295
1295   if (data & 0x02)
1296   if (!(data & 0x02))
12961297   {
12971298      wd17xx_set_drive(0);
12981299   }
12991300   
1300   if (data & 0x04)
1301   if (!(data & 0x04))
13011302   {
13021303      wd17xx_set_drive(1);
13031304   }
r1150r1151
16161617
16171618static WRITE8_HANDLER( stbook_ym2149_port_a_w )
16181619{
1619   wd17xx_set_side(data & 0x01);
1620   wd17xx_set_side((data & 0x01) ? 0 : 1);
16201621
1621   if (data & 0x02)
1622   if (!(data & 0x02))
16221623   {
16231624      wd17xx_set_drive(0);
16241625   }
16251626   
1626   if (data & 0x04)
1627   if (!(data & 0x04))
16271628   {
16281629      wd17xx_set_drive(1);
16291630   }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team