------------------------------------------ | Fast ROM ATA Patch for Amiga 1200/4000 | | (F.R.A.P.) | ------------------------------------------ ******************************* *** !!! WARNING !!! *** *** THIS IS A BETA RELEASE *** *** USE IT AT YOUR OWN RISK *** ******************************* What is it ? ------------ This patch allows the use of IDE hard disks larger than 8GB. It adds the following commands to the scsi.device : * TD_GETGEOMETRY * NSCMD_DEVICEQUERY * NSCMD_TD_READ64 * NSCMD_TD_WRITE64 * NSCMD_TD_SEEK64 * NSCMD_TD_FORMAT64 The disks larger than 500MB are handled in LBA (Logical Block Address) mode rather than CHS (Cylinder Head Sector) which is limited to 8GB addressing (16383 cyl, 16 heads, 63 sect). The new limit in LBA mode is 128GB (the limit of the ATA registers). At last, I modified a little the ATA read & write routines : you can expect a speed increase up to 10%. System requirement : -------------------- A1200/A4000 with KickStart 3.0 or 3.1 An accelerator board with an MMU (030, 040 or 060) or an hardware equivalent to support the Fast ROM mode (KickStart remapped in Fast RAM). !!!! THIS IS ESSENTIAL !!!! Usage : ------- Copy the file FRAP in your C: directory AFTER the command "CPU FASTROM ..." (or equivalent) Add : "C:FRAP > NIL:" (I did not implement a QUIET option) I recommend to first check if the patch works properly by typing in a shell: C:FRAP If everything is OK, you will obtain an output like this one : FastRomAtaPatch v1.0 for A1200/A4000 scsi.device (c) Copyright 2000 Frédéric REQUIN Found scsi.device v37.64 (RomTag : 0x00F87780 - 0x00F8A070) Found SendScsiCmd() at......... 0x00F89108 Found DispatchIO() at.......... 0x00F88822 Found ata_CurBlockAddr() at.... 0x00F89D3C Found ata_SetBlockAddr() at.... 0x00F89536 Found ata_IncBlockAddr() at.... 0x00F894B8 Found ata_ReadAccess() at...... 0x00F89C3C Found ata_WriteAccess() at..... 0x00F89CB8 ******** Unit (0,0,1) ******** Heads : 16 Sectors : 63 Cylinders : 16383 Total capacity : 8063 MB LBA mode : ON ******** Unit (0,0,0) ******** Heads : 16 Sectors : 63 Cylinders : 4092 Total capacity : 2014 MB LBA mode : ON This example went from my Amiga 1200 '030@50Mhz KS 3.0 with 2 HDs : 2GB & 8GB. When you have partitions after (or crossing) the 4GB limit : ------------------------------------------------------------ NEVER set the "AutoMount" flag for these partitions if the original device (i.e. without patches) does not support the TD64. Since, at COLD boot time, the partition won't be correctly accessed (imagine the disaster if a FFS_TD64 partition is validated at this time). DO NOT use the WorkBench format command to format these partitions. Use the Format64 command available on Aminet or SFSFormat if you use SmartFileSystem. Prefer the use of HDInstTool instead of HDToolBox. HDInstTool handles correctly large hard-disks. Software licence : ------------------ This software is shareware. I will ask for $5 to use it, no more. Of course, I won't blame you if you can't do this :-). All the feedbacks are welcome. To ask me a question / thanks me / insult me (if you lost all your data on your HD :-D ), my e-mail address is: theshark2000@my-deja.com My snail-mail addresses are : France: Frederic REQUIN 63, rue Edmond Rostand App. G113 31200 Toulouse U.S.A.: (until end of October) Frederic REQUIN Great Oaks Appartments 931, Ironwood drive #267 48309 Rochester MI The future : ------------ * ATAPI protocol integration (already started) * Port doubler support (already started) * A600 & A4000T compatibilty (perhaps it already works) ENJOY!! Frederic REQUIN