MEGA65 / mega65-core

MEGA65 FPGA core
Other
239 stars 84 forks source link

A 1581 does not work anymore once the freezer was accessed #674

Open Schwefelholz opened 1 year ago

Schwefelholz commented 1 year ago

Test Environment (required) You can use MEGA65INFO to retrieve this.

Describe the bug A 1581 connected to the serial IEC bus does not work anymore once the freezer was accessed. Only a power cycle of the MEGA65 will resolve this issue. Neither a computer reset nor power-cycling the 1581 has any effect.

To Reproduce Steps to reproduce the behavior:

  1. Connect a 1581 (set to U11 to be able to access it at all)
  2. Insert a formatted disk
  3. DIR U11 correctly displays the directory
  4. Enter the freezer
  5. Leave the freezer (no action necessary)
  6. DIR U11: The activity indicator and the drive motor of the 1581 come on, but the directory is not displayed; the computer hangs
  7. Run/Stop - Restore ends the hanging process, but no access to the 1581 will work until the computer is turned off/on.

Expected behavior A 1581 should not be affected by entering/leaving the freezer, as is the case for a 1541 or 1571.

Additional context The effect on DIR is just an example. DLOAD or DSAVE will hang as well. Reading the error channel, however, seems to be possible. The effect is also there if the 1581 was powered on after the freezer was entered/left. A 1571 is proven to be unaffected.