Welcome, Guest. Please login or register.

Author Topic: Anyone interested in a run of an SD card based version of the floppy emulator?  (Read 17796 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Jeff_HxC

  • Jr. Member
  • **
  • Join Date: Apr 2006
  • Posts: 69
    • Show all replies
    • http://hxc2001.free.fr
Quote from: yaqube;530299
Unfortunately you have to convert every ADF image to custom format (raw MFM data) and then store such files on an SD card.


yes but this is as fast as copy adf file directly to the sdcard: the software convert and store image file directly to the sdcard.


Quote from: yaqube;530299
Only one drive is supported. More over write to images created from Amiga disk format files (ADF, DMS, IPF) is not supported.


true actually, but this will be corrected on the final version of the emulator (work in progress ;-) ).

 

Offline Jeff_HxC

  • Jr. Member
  • **
  • Join Date: Apr 2006
  • Posts: 69
    • Show all replies
    • http://hxc2001.free.fr
Quote from: tnt23;530429
Hey Jeff, nice to see you! Keep working on your great design :)

@trip6

What you describe looks very much like this :) It's a custom installation of Megadrive256 emulator on a 1200. The guy has left SD card on the emulator's board, and I guess it is not accessible through the floppy slot.


Direct ADF support requires some processing power, as the CPU has to take every sector's 512 bytes, split these into odd and even bits, then combine in an Amiga formatted MFM sector adding quite a few CRCs here and there.

(shameless plug on) On Megadrive256 emulator, typical .ADF is loaded and encoded in 15-16 seconds. Funny enough, the already pre-encoded MFM image (2048K in size) is loaded pretty much at the same speed, that's because Megadrive256 runs @16MHz and SD card is being accessed at half of that.

(shameless plug off)

So I guess it would require some really quick CPU to seamlessly read .ADFs, and to write these on the fly it would have to be even faster. Probably an easy job for FPGA.

You can also encode the actual track only if the cpu is fast enough to have a settle time < 18ms ;-)

with this hardware this should be possible (AT91SAM7S):


http://hxc2001.free.fr/floppy_drive_emulator/ARM_StandAlone_HxCFloppyEmulator.pdf

but if you use some pre encoded file, why did you need to load the full image into ram ?
« Last Edit: November 20, 2009, 09:15:28 AM by Jeff_HxC »