![]() |
![]() |
#401 |
Registered User
Join Date: Feb 2009
Location: San Carlos/ USA
Posts: 25
|
Sorry for beeing here: I'm not much of an Amiga person. Instead I have some Apple 2 credentials. See my http://mirrow.com/FPGApple
I have read this thread and I'm very impressed. I want to extend this to Apple formats. Should be an ultimate tool to read all kind of floppies and preserve the data. I also want to add the reverse channel - to a floppy controller. So images stored in the MMC/SD should be readable as virtual disks. I have even ordered a SAM256 board but it will take a while to arrive. Meanwhile I happen to have an almost identical Olimex board but with a smaller SAM64 chip that only has 16K of RAM. My (Apple) needs are rather limited so maybe I can use this board. The original blog described storing the track in RAM. The code I have downloaded appears to just stuff a FIFO that is emptied into the USB endpoint. I wonder if anyone ever set a "high water" mark to check how full does the FIFO get? My calculations are that if the worst case data has a transition every 2 us we need only one byte to count the ticks and so we have 500K per sec - a bit less than half of the USB speed. So it should be possible to dump the data without a huge FIFO. Maybe even use ping-pong buffers? One is filled up while the other feeds the USB. Any thoughts? |
![]() |
![]() |
#402 |
Registered User
Join Date: Feb 2009
Location: San Carlos/ USA
Posts: 25
|
|
![]() |
![]() |
#403 | |
Cheesy crust
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
|
Quote:
Chris |
|
![]() |
![]() |
#404 | |
Cheesy crust
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
|
Quote:
I see you have not soldered floppy pins 12 and 16. Can you please solder them, too? Depending on the cable you are using this might be the cause it is not working. As long as you do not plan extending the work done to two drives (we don't) you will never run into any problem, but can just take any cable that comes along. You might also want to PM me so I can send you a small fix for the source you are using to compile the firmware. The original one, published on 24h of December, has a small stepping bug regarding the init. This also caused trouble for me, so we should try that to. As Rich said, more recent source will be coming, too. Last edited by mr.vince; 07 February 2009 at 08:38. Reason: sorry for back to back posts... still have to get used to it. |
|
![]() |
![]() |
#405 | |
Registered User
Join Date: Oct 2008
Location: san francisco/usa
Posts: 176
|
Quote:
http://eab.abime.net/showpost.php?p=...&postcount=214 Yes it could be made to work with a much smaller FIFO buffer than the current 32k (although <16k is a bit hairy depending on your PC and how busy it is) and you can compile the code to run from Flash (although then you get minor niggles when developing having to swap between the original bootloader and the new firmware b/c they both want the interrupt vectors and... stuff. all minor fixable niggles). I'd say it's "premature optimisation" unless you're really bored, but I know how it goes when you're waiting for the postman. |
|
![]() |
![]() |
#406 | |
Registered User
Join Date: Sep 2008
Location: Paris / France
Posts: 656
|
Quote:
USB HxC Floppy Emulator video demo - part 1: [ Show youtube player ] USB HxC Floppy Emulator video demo - part 2: [ Show youtube player ] SDCARD HxC Floppy Emulator - demonstration : [ Show youtube player ] SDCARD HxC Floppy Emulator - Amiga 600 - State of The Art: [ Show youtube player ] If you want, i can put the .C20 file writer in the hxc floppy emulator source tree. and if you are interested by some others computers/file format support (C64,Spectrum...), i can add them ! :-) Jeff / HxC2001 |
|
![]() |
![]() |
#407 |
Registered User
Join Date: Jun 2006
Location: hannover/germany
Age: 57
Posts: 28
|
Which is the latest available software version ?
I am using V11 from SVN tree. |
![]() |
![]() |
#408 |
Registered User
Join Date: Sep 2005
Location: melbourne
Age: 55
Posts: 541
|
ahh I think we have the equivalent of a retro geek black hole here - it's attracting all of the best and brightest retro preservers in their fields!
(in no order!) RichAplin, Mr. Vince, JeffHxC2001, LuigiDifraia, AlexFreed, Toni and the SPS team etc. Could this project be the One to Preserve them all? Will it enable all ancient data from round, black orbs of knowledge to be trapped and preserved for eternity for future generations to laugh and mock? |
![]() |
![]() |
#409 | ||
Registered User
Join Date: Feb 2009
Location: San Carlos/ USA
Posts: 25
|
Quote:
Quote:
|
||
![]() |
![]() |
#410 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
Would anyone be willing to supply me with a working board and software as my soldering skills and conpiling skills are non existant
![]() |
![]() |
![]() |
#411 |
Moderator
Join Date: Jan 2003
Location: ...
Age: 52
Posts: 1,838
|
Hi Arnie and everyone else interested,
We are prototyping hardware, software and firmware at the moment. Once we have all the results we really want, we'll publish the details. We'll help people building their own boards as long as they are meant for supporting preservation projects, not just curiosity. We'll also likely switch our dumping requirements to using this board for any dump submitted to SPS in the future for any platform - which will include the majority of commercial platforms from 80s-90s. In the meantime there is no point in ordering the hardware or anything else; these boards arrive in a couple of days anyway regardless of where you order them from. We got our boards in like 24 hours I think from an UK Olimex distributor. So there is no rush, it's done when it's done, but definitely sooner than say Duke Nukem Forever ![]() Cheers, IFW |
![]() |
![]() |
#412 | ||||
Cheesy crust
Join Date: Nov 2008
Location: Hawk's Creek
Age: 48
Posts: 1,383
|
Quote:
Quote:
Quote:
Quote:
![]() |
||||
![]() |
![]() |
#413 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
Finally done
![]() (still todo: find power supply or 5v-only floppy drive) |
![]() |
![]() |
#414 |
Registered User
Join Date: Jun 2006
Location: hannover/germany
Age: 57
Posts: 28
|
It works.
![]() |
![]() |
![]() |
#415 |
Amiga Member
Join Date: Aug 2003
Location: New Zealand
Age: 57
Posts: 695
|
|
![]() |
![]() |
#416 |
R.I.P Smudge 18-08-16
Join Date: Aug 2005
Location: Leicester/UK
Age: 66
Posts: 3,968
|
|
![]() |
![]() |
#417 |
Registered User
Join Date: Jan 2009
Location: Maidenhead/Berkshire
Posts: 34
|
![]() None of the drives I bought has come in yet so that I haven't finalized the cable routing with some soldering. I also had a go with the autorouting feature of the CAD I use (eagle) to see how it would look like in a custom board and... well, it was unable to autoroute with the default settings ![]() Cheers, Luigi. |
![]() |
![]() |
#418 |
Da Digger :)
Join Date: Nov 2008
Location: Monza, Italy
Posts: 2,822
|
@ Luigi
Very nice and intelligent cabling indeed! ![]() |
![]() |
![]() |
#419 | |
Registered User
Join Date: Sep 2005
Location: melbourne
Age: 55
Posts: 541
|
Quote:
otherwise I've found even just a quick continuity test can sometimes detect dodgy soldering. EDIT: also the more I'm waiting for my birthday to arrive the more I'm thinking I'll just buy this cheaper board from ebay and make my own daughter PCB with the SD slot (and maybe the buttons and LEDs - if they're going to be used at all - which I suspect they might for the floppy emulator rather than the USB floppy reader). also theorising forward to the standalone floppy emulator - if there's been a 32KB FIFO buffer set aside in the ARM RAM - shouldn't that more than enough to support emulated disk writes? (on the Amiga it's almost 3 tracks - are there any games anyone can think of which may write out that much data when saving? just in case the buffer fills too fast?) Could tracks/sectors be written back to the C20 disk image by using an LBA offset for where the C20 disk image is on the SD card? (the C20 image may need some padding out to fit nicely on 2's complement boundaries to make LBA accessing / writing easier / quicker). Otherwise I guess possible alternatives for writable emulated floppy images would be: 1) adding on at least 4MB RAM and interfacing it to the ARM so that the C20 image is held in RAM and then writes are made to that image. When the user presses a button (or at regular intervals) the RAM image is copied to the SD card so that high scores etc. are saved permanently. 2) the ARM's buffer is copied across to another MCU which either has enough on-board RAM to build a floppy image (as described in point 1) or which has a bigger allocated buffer region along with enough cpu horsepower to LBA write data to the SD card. 3) any data written to the floppy drive is written to a new file which essentially acts as a DIFF to the original disk image the next time it is loaded. eg: Great Giana Sisters appears to write to track 151 as discussed in this thread. So giana.c20 image is loaded for the first time, there's no giani.sav file so it doesn't bother applying the diff. the user plays the game, gets a hi-score and wants to 'write' the hi-score back to the disk - so the ARM detects the disk write and creates a .SAV file with the same name as the loaded image. The block is written into the .SAV file and closed. The data written to the .SAV file would include the block(s) number and the actual data. Possibly a table / list might be needed in the ARM's RAM so it knows which blocks / sectors have been modified - that way when the ARM goes to read a specific sector / block it knows to look in the .SAV file instead of the original C20 image. This list is also saved as part of the .SAV format (or could be saved as a seperate file if too difficult / slow to append to the .SAV file). Likewise, if the computer is turned off and the user wants to play the game again at some stage in the future the giania.c20 image is loaded and it checks if there's a giana.sav - there is, so it loads the pointer list of which tracks have been modified into the ARM's RAM. If one of the tracks in the list is requested by the host computer to be loaded then the data is loaded from the .SAV file instead of the original .C20 image. Hope that makes sense? Anyone have any comments / ideas to add - I'm just throwing out some theories to see what the electronics and code gurus think. Last edited by gizmomelb; 08 February 2009 at 01:27. |
|
![]() |
![]() |
#420 | |
Registered User
Join Date: Sep 2006
Location: Thunder Bay, Canada
Posts: 4,323
|
![]() Quote:
Soldering is perfect, i even trashed it all and redone it and checked it again... i think i'll go blind if i look at it any more, i even traced it back to the chip to see if a trace was bad (continuity check). Pretty soon i'll be chucking it at the next Polar Bear that walks by lol. You dont need to run fast, you just need to run faster than someone else ![]() i tried it on 2 comps and a laptop and still no joy, i'm resigned to hoping an update will fix it. I think i even lost my silver medal for my wiring in the Red to Blue category ![]() ![]() |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Watch out for our competition to win the new Cyclone VX PS gamepad 2 Amiga controller | Mounty | Retrogaming General Discussion | 0 | 15 August 2013 08:21 |
idea about WinUAE-based tool | vulture | support.WinUAE | 12 | 15 February 2013 20:15 |
KryoFlux USB Floppy Controller (was: C2 DiskSystem) | IFW | project.SPS (was CAPS) | 146 | 27 June 2010 17:07 |
Homemade controller/joystick? | DrF | support.Hardware | 5 | 27 August 2007 11:48 |
Amiga nd the CatWeasel Floppy Disk Controller | wibble82 | support.Hardware | 4 | 17 May 2002 20:13 |
|
|