06 November 2006, 17:57 | #21 |
Pirate
Join Date: Jan 2002
Location: Denmark
Posts: 3,395
|
nothing like the sound from the floppy when playing Great Giana Sisters
Amiga floppie is better than playing tape games on a real c64..wait...wait...wait..wait..wait...error..throw tape at the wall |
06 November 2006, 19:17 | #22 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,337
|
Can anyone remember the demo that played music via moving the stepper motor in your floppy?
Might have been an ST demo... not sure. |
07 November 2006, 01:56 | #23 |
Amiga NetRunner
Join Date: Apr 2005
Location: Spain
Age: 45
Posts: 941
|
From what i can remember, the flash card emulator of the russian guy was standalone, and didn't need the pc on all the time.
|
07 November 2006, 14:20 | #24 | ||
Registered User
Join Date: Sep 2005
Location: melbourne
Age: 55
Posts: 541
|
Quote:
no need for complicated or expensive - I've suggested on the Torlus forums that the floppy image could be stored on the flash card as an already decoded image (RAW data or MFM data - whichever is more appropriate) - so instead of using the computer to decode and stream the data down the USB, the computer software is used to decode the ADF/DMS/IPF(Amiga)/.ST/.MSA(Atari ST) to a file then that MFM decoded file is auto-renamed to fit a 'slot' of up to 16 spaces (ie: is named 0disk, 1disk, etc. to edisk, fdisk (how many games etc. are more than 16 disks?) and those files can then be copied on to the removable memory card connected to the PC (or MAC). A PIC could be used to select and load the disk image to the memory connected to the FPGA, then the current project's FPGA does the floppy emulation (no extra programming needed) and transparently loads the data to the Amiga or ST. All that might need to be developed is the programming for the PIC and interfacing the PIC to a flash memory reader - which from the brief look I've had using google wouldn't appear to be too complicated, the modified 1541 virtual floppy schematic here has exactly what I'm talking about - http://www.pyrofersprojects.com/1541...41-III_v12.pdf The only possible extras I can think of would be two push buttons (one for 'next' disk image and one for 'previous' disk image) and maybe a LED segment display to display which disk image is currently selected (0-f). After the decoded disk image(s) is(are) copied to the memory card, the card is removed and inserted into the virtual floppy disk emulator and the Amiga/Atari ST powered on. The floppy disk emulator by default looks for 0disk and loads it (if found), if 0disk isn't found, then it looks for 1disk, 2disk etc. until a disk image is found - if it cannot find a disk image then it returns the 'no disk inserted' signal to the floppy controller (and if you have a hard drive, then the computer boots from that as normal). When a disk image has been loaded and the user presses the 'next' or 'previous' buttons - then the 'disk eject' signal is sent to the floppy controller, a small timed loop waits for however long the Amiga/Atari ST needs to register a disk has been ejected, the next or previous disk image on the storage card is selected/loaded into SRAM and the LED segment display is changed so the number/id of the selected disk is displayed; then the 'disk change/disk inserted' signal is sent to the floppy controller and the computer thinks that the disk has been changed and then tries to load it etc. Quote:
Ultimately it'd be great to have write support in the floppy disk emulator as well - which might be quite easy if the FPGA supports writing to the SRAM - the PIC could then be used to take a 'snapshot' of the SRAM and copy it back to the flash card. It's all just hypothetical at the moment, gotta wait until the final schematic, FPGA code and PC decoder software are released before I can start tinkering. Gizmomelb |
||
07 November 2006, 14:33 | #25 | ||||
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,337
|
Quote:
Quote:
Quote:
Even if you could create a program that converts IPF to MFM data how large would that file be? Is it even possible to extract an IPF to a single file? Does the DLL give the same MFM data every time for the same disk commands? I thought that some copy protection relied on fluctuations. Quote:
|
||||
07 November 2006, 15:28 | #26 | ||||||
Registered User
Join Date: Sep 2005
Location: melbourne
Age: 55
Posts: 541
|
Quote:
Quote:
Quote:
To have IPF support on the floppy emulator would need some extra development for the PIC and the FPGA. From Toni's comments how WinUAE handles IPFs : http://eab.abime.net/showthread.php?t=26352 it would seem "ADFs/IPF/whatever are converted to raw data + a separate buffer for possible timing data (IPFs only)". So IPF support would mean extra programming for both the PIC and the FPGA to be able to read the errors from a second file/table, as well as how to act with the errors. Quote:
IPF support would need an extra area of memory to hold the 'error table' and would need extra development for the FPGA to 'know' about the IPF error table, as well as how to handle it. So IPF support is definately advanced work, best to just get a flashcard floppy emulator working with ADF and DMS support first. Quote:
http://pasti.fxatari.com/ Quote:
2MB of memory should more than cover a fully MFM decoded floppy image, as well as a seperate error index table (please IPF/SPS guys - if it won't please at least let us know the maximum filesize a decoded IPF image might be). I just realised that writable support to a floppy emulator with enough RAM on board to store an entire decoded MFM image should be extremely trivial - the Amiga and the Atari ST both do the MFM encoding themselves in software (Amiga) or hardware (Atari ST) - so with enough RAM to support a full MFM image in memory then the device should also be able to write data to the interface (as the floppy emulator should be 'transparent' to the original Amiga/Atari ST hardware - it just sees it as a normal floppy drive). The PIC can then be used to copy the memory image back to the flashcard. What do you think? |
||||||
07 November 2006, 15:29 | #27 |
Registered User
Join Date: Sep 2005
Location: melbourne
Age: 55
Posts: 541
|
oh, I just found a nice English translation of the Torlus main site, for those of us who don't understand French that well (or the crappy translation offer by online translation software)
http://forum.defence-force.org/viewt...e0990b530aee9b |
07 November 2006, 15:32 | #28 |
Registered User
Join Date: Sep 2005
Location: melbourne
Age: 55
Posts: 541
|
oh and pointing out the obvious - a floppy disk emulator would make no noise - so you wouldn't hear the stepper motor etc. maybe that could be an enhancement at a later stage!
|
07 November 2006, 16:04 | #29 | ||
move.w #$4489,$dff07e
Join Date: Sep 2005
Location: Norfolk, UK
Age: 42
Posts: 2,351
|
Quote:
Quote:
|
||
07 November 2006, 16:06 | #30 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
btw, there is at least one protection that reads same track 60+ times (don't remember the exact number) and fails if there is less than 50 different results... |
|
07 November 2006, 16:14 | #31 |
Registered User
Join Date: Sep 2005
Location: melbourne
Age: 55
Posts: 541
|
first off - thanks for any and all input to this idea and future tinkering.
ok, so IPF support might be extremely difficult to implement - the floppy drive emulator only supports constant bitrates at the moment. But it's something to look forward to in the future maybe. IPF support would be magnificent, but with ADF/DMS support and possible being able to write to the virtual floppy disk images - then at least you could play (cracked) games and still save your high score etc. |
07 November 2006, 16:15 | #32 | |
Registered User
Join Date: Sep 2005
Location: melbourne
Age: 55
Posts: 541
|
Quote:
|
|
07 November 2006, 16:20 | #33 | |
Registered User
Join Date: Sep 2005
Location: melbourne
Age: 55
Posts: 541
|
Quote:
extremely unlikely, but hey |
|
07 November 2006, 16:34 | #34 | |
move.w #$4489,$dff07e
Join Date: Sep 2005
Location: Norfolk, UK
Age: 42
Posts: 2,351
|
Quote:
|
|
08 November 2006, 09:38 | #35 |
Moderator
Join Date: Jan 2003
Location: ...
Age: 52
Posts: 1,838
|
You have to use the ipf library to decode a track each time it is being accessed on a track that hasn't been decoded before, or whenever a new revolution starts on the same track.
In addition to emulate generic MFM devices it is a good idea to use the builtin emulation. IPF files do not have the concept of format specific errors or anything similar; they generate raw bitstreams (after agc, but before any kind of decoding takes place) and timing information. Both timing and the data can vary depending on the stream with each new revolution for the very same track. |
08 November 2006, 18:57 | #36 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,773
|
CooL But does this replace the floppy drive(DF0) or can you have both?
This Floppy emulator project runs from Flash card http://www.amiga.org/modules/myalbum/photo.php?lid=2486 |
09 November 2006, 00:48 | #37 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,337
|
But it is unfinished, unreleased and doesnt do IPF etc.
|
09 November 2006, 02:20 | #38 | ||
Registered User
Join Date: Sep 2005
Location: melbourne
Age: 55
Posts: 541
|
Quote:
With the USB cable having to stick out of it all the time it might be easier to mount it as an external drive and do the DF0:/DF1: swap trick. Quote:
|
||
13 November 2006, 07:45 | #39 |
Zone Friend
Join Date: Sep 2006
Location: New Zealand
Posts: 55
|
Solid state floppy
It would be nice if you could do a dir on the entire contents of the disk from CLI and then assign the file that you want loaded on boot in place of using a little screen or perhaps in conjunction with.
I.E SSF -r <device> to get a dirlist SSF -m <device> <image> to use this image mounted now until next reboot. SSF -m -r <device> <image> to mount the image and have it survive reboot SSF -u <device> unmount and remove reboot survival flag Something like that. |
21 November 2006, 13:54 | #40 |
Registered User
Join Date: Sep 2005
Location: melbourne
Age: 55
Posts: 541
|
The floppy disk drive hardware emulator site has been updated with new circuit schematics, FPGA code and the Windows transfer software.
http://jeanfrancoisdelnero.free.fr/f...rive_emulator/ |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floppy emulator | OscarBraindeaD | Retrogaming General Discussion | 16 | 08 May 2013 02:24 |
A500 floppy read/write error | Hoopz | support.Hardware | 7 | 07 April 2013 17:18 |
USB HxC Floppy emulator and SD HxC Floppy Emulator by Lotharek on ext FDD | dirkies | Amiga scene | 1 | 03 April 2012 00:08 |
A500: Floppy Drive . read/write error for every single disk!! | iggydix | support.Hardware | 11 | 23 August 2008 15:19 |
Amiga 1200 Floppy read errors. | atarisucks | support.Hardware | 1 | 18 May 2007 22:27 |
|
|