Editing Minimig Harddisc

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 25: Line 25:
 
:in: IRQ,  
 
:in: IRQ,  
 
:hmm?  WAIT
 
:hmm?  WAIT
 
 
[http://www.amiga.org/modules/newbb/viewtopic.php?topic_id=38888&forum=8&viewmode=flat&order=ASC&start=80#forumpost461819 mrmkl 070803]
 
:http://www.iki.fi/mkl/ide/
 
  
 
== S-ATA ==
 
== S-ATA ==
S-ATA PHY IP-Core:<br>
 
http://www.softmixedsignal.com/smssata.pdf
 
 
 
== Software aspect ==
 
== Software aspect ==
 
[http://www.amiga.org/modules/newbb/viewtopic.php?topic_id=38888&forum=8&viewmode=flat&order=ASC&start=80 Crumb 070802]:
 
[http://www.amiga.org/modules/newbb/viewtopic.php?topic_id=38888&forum=8&viewmode=flat&order=ASC&start=80 Crumb 070802]:
Line 46: Line 39:
 
:
 
:
 
:-edit- BTW, if a 16 or 32MB memory chip was used there would be room to have 2MB of chip, 8MB of fast and also some "slow-ranger-pseudofast" ram. In addition to the FPGA code and AmigaOS Rom (the fpga code could be changed to accept 1MB roms like CD32/A1200) the rest of ram could be used as buffers for the hardfile. That way disk access shouldn't be too slow.
 
:-edit- BTW, if a 16 or 32MB memory chip was used there would be room to have 2MB of chip, 8MB of fast and also some "slow-ranger-pseudofast" ram. In addition to the FPGA code and AmigaOS Rom (the fpga code could be changed to accept 1MB roms like CD32/A1200) the rest of ram could be used as buffers for the hardfile. That way disk access shouldn't be too slow.
 
[http://www.amiga.org/modules/newbb/viewtopic.php?topic_id=31439&forum=8#forumpost378020 alexh 060603]:
 
http://groups.google.co.uk/group/fa.linux.680x0/browse_thread/thread/33e6f8f26d5bc63c/16cd017fdd8c71e2?lnk=st&q=amiga+gayle+address+register&rnum=1&hl=en#16cd017fdd8c71e2<br>
 
[http://www.mail-archive.com/linux-m68k@vger.kernel.org/msg00053.html Re: Gayle IDE register offsets mail-archive.com]
 
[http://www.amiga.org/modules/newbb/viewtopic.php?topic_id=31439&forum=8#forumpost378020 mrmkl 070803]:
 
http://aminet.net/search?query=hddmem<br>
 
[http://www.iki.fi/mkl/ide/ P-ATA interface for the MC68000 cpu socket]<br>
 
[http://www.amiga.org/modules/newbb/viewtopic.php?topic_id=39867&forum=8 amiga.org Largest Capacity Hard Drive In A600?]
 
 
== Software simulated hardfile with Gayle interface ==
 
Software hardfile support suggestion:
 
:Define "struct adfTYPE dh0;"
 
:Update User() to handle selection 'dh0' aswell. Current implementation decides you ALWAYS want 'df0'
 
:Make HandleFpgaCmd() to take more parameters and make them variable size per request.
 
:Modify ReadTrack() such that it doesn't presume 11 sectors per track.
 
:Make a SectorToFpga() function that don't stuff sector header formatting into the transfered sector.
 
:The rest is to make the FPGA to present the SPI transfered sectors to appear magicly from the Gayle ide controller via SPI.
 
 
[http://portal.acm.org/ft_gateway.cfm?id=358425&type=pdf&coll=ACM&dl=ACM&CFID=15151515&CFTOKEN=6184618
 
Timating file access time of floppy disks, acm.org]<br>
 
[http://www.powerspec.com/systems/archives/system_components.phtml?component=73&selection=8420 Floppy characteristics powerspec.com] Track-to-Track is ~3 ms<br>
 
[http://www.amiga.org/modules/newbb/viewtopic.php?topic_id=31439&forum=8#forumpost378020 amiga.org Gayle Hardware Registers]
 
 
[http://groups.google.co.uk/group/fa.linux.680x0/browse_thread/thread/33e6f8f26d5bc63c/16cd017fdd8c71e2?lnk=st&q=amiga+gayle+address+register&rnum=1&hl=en#16cd017fdd8c71e2 Gayle IDE register offsets google.co.uk]
 
<pre>
 
Addr on A1000+  Addr on AT Valid Data Read Function    Write Function
 
$0DA1018        3F6        8 bits    Alternate Status Device Control
 
$0DA101C        3F7        8 bits    Drive address    Not used
 
$0DA0004        1F1        8 bits    Error Register  Features
 
$0DA0008        1F2        8 bits    Sector Count    Sector Count
 
$0DA000C        1F3        8 bits    Sector Number    Sector Number
 
$0DA0010        1F4        8 bits    Cylinder Low    Cylinder Low
 
$0DA0014        1F5        8 bits    Cylinder High    Cylinder High
 
$0DA0018        1F6        8 bits    Drive/Head      Drive/Head
 
$0DA001C        1F7        8 bits    Status          Command
 
$0DA2000        1F0        16 bits    Data            Data
 
</pre>
 
 
[http://fxr.watson.org/fxr/search?v=NETBSD&string=gayle NetBSD Gayle matches watson.org]
 
arch/amiga/amiga/gayle.c
 
:#define GAYLE_PHYS_ADDRESS      0xda8000
 
http://fxr.watson.org/fxr/source/arch/amiga/dev/wdc_amiga.c?v=NETBSD#L82
 
http://fxr.watson.org/fxr/source/arch/amiga/dev/gayle_pcmcia.c?v=NETBSD#L102
 
 
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/amiga/amiga/gayle.c?rev=1.6&content-type=text/x-cvsweb-markup
 
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/amiga/dev/gayle_pcmcia.c?rev=1.22&content-type=text/x-cvsweb-markup
 
  
 
== See also ==
 
== See also ==
 
* [[Minimig Expansion]]
 
* [[Minimig Expansion]]

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)