Minimig Discimage support

From OpenCircuits
Jump to navigation Jump to search

Support for more disc formats?

.adf Already supported, limitations? Faq
.adz .adf with gzip, not supported as of 070728.
.dms Proprietary, Closed source, Buggy compression algorithm
.fdi Worth supporting? (pc format)

.adz and other compressed formatss could possible be supported these ways:

  • Reuse the FPGA<->MCU link to send plain data. FPGA decodes the compression and serves the sector. An index file of where each sector starts in the original file needed to avoid uncompressing it all everytime?
  • Use sdram such that the whole disc image can be uncompressed to a portion of the ram that will be hidden from the simulation enviroment. The fpga loads any disc sectors from ram thereafter.
  • Use ethernet such that a server can read->decompress->send via network any needed sector. Any timeing needed can be faked by pretending the "drive" is seeking when it's infact transfering it over network and read from a buffer on arrival. Preferrebly double-buffering.

A benefit with compressed fileformats is that you don't have to bother with uncompressing them manually first.

Source for DMS unpacker:
Disk2FDI: FDI fileformat specification

Floppy connector (2,54mm pitch) as SD-Card connector:

Hackzine using floppy connector (2,54mm pitch) as SD-Card connector ( article
SD-Card pinout (