MEGA65 / mega65-core

MEGA65 FPGA core
Other
240 stars 85 forks source link

D81 image creator adds ".D81" to the disk name #575

Closed dansanderson closed 2 years ago

dansanderson commented 2 years ago

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

I have SD card contents updated to the same build as the core.

Describe the bug Freezer D81 disk image creator uses the name that you enter as both the .D81 filename and the CBDOS disk name, but it adds ".D81" to the disk name.

To Reproduce Steps to reproduce the behavior:

  1. Open the Freezer, then drive 0.
  2. Select "NEW D81 DD IMAGE".
  3. Enter the name "TEST", press Return. It creates the disk image.
  4. Reset to BASIC with the new disk image mounted in drive 0 unit 8.
  5. DIR

Expected behavior The directory listing should show a disk with the name "TEST", but it shows the disk name as "TEST.D81".

Additional context HEADER "TEST" on the newly created image will correct the name, so it's an easy workaround. I'm guessing it's also an easy fix in makedisk.c.

gurcei commented 2 years ago

We've merged @TheChief 's fix in, so will close this one