uint8_t FloppyDrive::DataRegister(void)
{
// Sanity check
- if (diskType[activeDrive] != DT_EMPTY)
+ if (diskImageReady && (diskType[activeDrive] != DT_EMPTY))
{
WOZ2 & woz = *((WOZ2 *)disk[activeDrive]);
uint8_t tIdx = woz.tmap[headPos[activeDrive]];