Log DSKDAT / DSKDATR

This commit is contained in:
Angelo Salese 2013-01-02 17:08:15 +00:00
parent f4630f15e3
commit 90090d76f3
2 changed files with 10 additions and 3 deletions

View File

@ -428,9 +428,8 @@ UINT8 amiga_fdc::ciaapra_r()
{
UINT8 ret = 0x3c;
if(floppy) {
// fixit
ret &= ~0x20;
//if(!floppy->ready_r()) fixit: seems to not work well with multiple disk drives
ret &= ~0x20;
if(!floppy->trk00_r())
ret &= ~0x10;
if(!floppy->wpt_r())

View File

@ -1230,6 +1230,10 @@ READ16_HANDLER( amiga_custom_r )
case REG_ADKCONR:
return space.machine().device<amiga_fdc>("fdc")->adkcon_r();
case REG_DSKDATR:
popmessage("DSKDAT R, contact MESSdev");
break;
}
if (LOG_CUSTOM)
@ -1278,6 +1282,10 @@ WRITE16_HANDLER( amiga_custom_w )
/* read-only registers */
break;
case REG_DSKDAT:
popmessage("DSKDAT W %04x, contact MESSdev",data);
break;
case REG_DSKSYNC:
space.machine().device<amiga_fdc>("fdc")->dsksync_w(data);
break;