English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 26 December 2012, 17:00   #1
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 839
A2091/A590 scsi.device 14 MHz patch

Hello my Great Amiga Coding Wizard friends!

I'm looking for ideas and assistance to patch the A2091/A590 scsi.device to provide better support for synchronous mode with the 14 MHz mod.

http://eab.abime.net/showthread.php?t=58433

I've written a small tool to check the 33C93A Config but this does not address a possible problem with the dynamic (software) calculated sync period or the patching of scsi.device itself.

I know that most of you guys are light years beyond my feeble coding skills. I will upload a complete 16KB image of the C= V7 ROMs to the Zone. Thanks for any and all of your help!

Last edited by SpeedGeek; 14 April 2014 at 21:35.
SpeedGeek is offline  
Old 29 December 2012, 19:33   #2
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 839
More Technical info:

- The A2091 is an Auto-Config device so the board can be located at any 64KB block of Zorro2 I/O space. (The Board is Configed by expansion.library)

- The first 8KB of the 64KB block is where the Auto-config, DMAC and 33C93 registers live.

- The ROMs are offset by $2000 and currently use 16KB of address space with mirror images appearing for the remaining 40KB of address space. (So $2000 is good place to start dis-assembling the ROM binary).

- The ROM's contain the RomBoot device code to install scsi.device bootable volumes which differs from the resident type code of the IDE scsi.devices (and of course they also contain the low level code for SCSI I/O)

Last edited by SpeedGeek; 09 November 2013 at 17:29.
SpeedGeek is offline  
Old 21 January 2013, 12:11   #3
breech
Registered User
 
breech's Avatar
 
Join Date: Sep 2009
Location: Syd
Posts: 184
This guy seems to have given it a go (and posted the rom code) - at least I think that's what Im looking at..
I cant help you with the code, but I will be doing the A590 14mhz mod will be happy to test this if you make any progress
breech is offline  
Old 05 June 2013, 19:37   #4
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 839
** NEWS UPDATE **

I patched 4 bytes of code in the ODD ROM (U12)* and now I can boot with 33C93A registers set for 14MHz! The 33C93A_14MHz Util is NO longer needed for C= V7.0 ROMs (but a new 33C93A_Config tool is available for testing patched ROMs).

So far working good with old (flaky) Quantum 52 & 105 + 550 MB Compaq HDs. You have to set JP5-4 on + Synch enable jumper on some HDs.

Dynamic calculation of Synch period still not patched but I don't think that's really necessary now since the A2091 scsi.device was ALREADY using the same default value as the A3000 scsi.device.

A very special thanks to Don Adan for his valuable resourced disassembly of this real scsi.device!

*NOTE: The even numbered ROM actually refers to the odd byte!
Attached Files
File Type: zip A2091O14.zip (5.0 KB, 514 views)

Last edited by SpeedGeek; 25 May 2014 at 17:22.
SpeedGeek is offline  
Old 18 August 2013, 14:01   #5
waltermixxx
Registered User
 
Join Date: Dec 2009
Location: Toronto, Canada
Posts: 63
I Tried it and it seems to work like a charm.
thank you
waltermixxx is offline  
Old 25 May 2014, 18:53   #6
Don_Adan
Registered User
 
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,958
Quote:
Originally Posted by SpeedGeek View Post
** NEWS UPDATE **

I patched 4 bytes of code in the ODD ROM (U12)* and now I can boot with 33C93A registers set for 14MHz! The 33C93A_14MHz Util is NO longer needed for C= V7.0 ROMs (but a new 33C93A_Config tool is available for testing patched ROMs).

So far working good with old (flaky) Quantum 52 & 105 + 550 MB Compaq HDs. You have to set JP5-4 on + Synch enable jumper on some HDs.

Dynamic calculation of Synch period still not patched but I don't think that's really necessary now since the A2091 scsi.device was ALREADY using the same default value as the A3000 scsi.device.

A very special thanks to Don Adan for his valuable resourced disassembly of this real scsi.device!

*NOTE: The even numbered ROM actually refers to the odd byte!

I have latest (?) A2091 and A590 scsi.device v40+, if you need these versions for your works, send to me mail.
Don_Adan is offline  
Old 30 May 2014, 02:09   #7
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 839
Quote:
Originally Posted by Don_Adan View Post
I have latest (?) A2091 and A590 scsi.device v40+, if you need these versions for your works, send to me mail.
Hi Don,

OK, I'll send you an email.

P.S. I never did get a resourced version of scsi.device to assemble with DevPac. There are just to many errors. Switching resource to old syntax reduced the errors but doesn't eliminate them completely.
SpeedGeek is offline  
Old 31 May 2014, 22:39   #8
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 839
OK, here's some good and bad news:

I received the V40+ versions from Don Adan. Thanks!

I tested the two A2091 BindDrivers versions (there are also two separate versions for the A590 but for no practical reason I can think of) and they seem to limit the Max. transfer rate to 1.4MB/sec.

I even patched the latest V40.4 (from the V2 directory) for 14MHz operation and tested it with Synch transfer mode enabled but I still get 1.4MB/sec Max. So, as far as I can tell they're a big downgrade from V37.64 (V7.0) which can easily manage a 3MB/sec transfer rate.

Last edited by SpeedGeek; 01 June 2014 at 00:34.
SpeedGeek is offline  
Old 31 May 2014, 23:00   #9
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,332
I wonder if it was compiled with debug or some rubbish like that?
alexh is online now  
Old 01 June 2014, 16:17   #10
JanciB
Registered User
 
JanciB's Avatar
 
Join Date: May 2013
Location: Bratislava / Slovakia
Age: 47
Posts: 241
The v40+ version for A590 supports hdd bigger than 8GB?
JanciB is offline  
Old 22 May 2021, 23:54   #11
Dale423
Registered User
 
Join Date: Jan 2020
Location: Bentonville, AR USA
Posts: 74
Quote:
Originally Posted by SpeedGeek View Post
OK, here's some good and bad news:

I received the V40+ versions from Don Adan. Thanks!

I tested the two A2091 BindDrivers versions (there are also two separate versions for the A590 but for no practical reason I can think of) and they seem to limit the Max. transfer rate to 1.4MB/sec.

I even patched the latest V40.4 (from the V2 directory) for 14MHz operation and tested it with Synch transfer mode enabled but I still get 1.4MB/sec Max. So, as far as I can tell they're a big downgrade from V37.64 (V7.0) which can easily manage a 3MB/sec transfer rate.
I have done the 14mhz mod on the A590. I have stock 7.0 ROMS. I am little confused as what I need to do to get past this 1.4mb barrier? I am using 3.1.4 SCSI.DEVICE. Do I need to burn a modified version of the 7.0 Roms?
Dale423 is offline  
Old 23 May 2021, 12:56   #12
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 839
Quote:
Originally Posted by Dale423 View Post
I have done the 14mhz mod on the A590. I have stock 7.0 ROMS. I am little confused as what I need to do to get past this 1.4mb barrier? I am using 3.1.4 SCSI.DEVICE. Do I need to burn a modified version of the 7.0 Roms?
IIRC your question was answered on the Amibay A2091 14MHz thread last year. The same answer applies here. The only reasons you would use this C= v7.0 ROM patch are:

1) To enable synchronous mode, which doesn't always provide higher transfer rates than over-clocked asychronous mode.
2) To use multiple SCSI target devices with the proper SCSI timeout value.

BTW, please don't confuse the psuedo (IDE) scsi.device versions with the real scsi.device versions. Thanks.

Last edited by SpeedGeek; 23 May 2021 at 13:02.
SpeedGeek is offline  
Old 23 May 2021, 14:43   #13
Dale423
Registered User
 
Join Date: Jan 2020
Location: Bentonville, AR USA
Posts: 74
Quote:
Originally Posted by SpeedGeek View Post
IIRC your question was answered on the Amibay A2091 14MHz thread last year. The same answer applies here. The only reasons you would use this C= v7.0 ROM patch are:

1) To enable synchronous mode, which doesn't always provide higher transfer rates than over-clocked asychronous mode.
2) To use multiple SCSI target devices with the proper SCSI timeout value.

BTW, please don't confuse the psuedo (IDE) scsi.device versions with the real scsi.device versions. Thanks.
Yes realize that now in relation to the scsi.device. I do see the one in ROM being used is the V37.64. My issue is that I am only seeing 1.4mb/sec with the 590 and 14mhz mod on a stock 500 with 3.1.4 and 3.2 kickstart. The 590 does have 2mb of RAM. I did burn the modified U12 7.0 ROM but saw no change. Just wondering if I am missing something.
Dale423 is offline  
Old 08 December 2022, 14:00   #14
levo-ace
Registered User
 
Join Date: Dec 2022
Location: MILTON KEYNES
Posts: 70
I have just upgraded my A590 to 20Mhz ( https://www.levosretrocomputerprojec...a590-20mhz-mod ) and would like to know if you still have the details of what you changed in the rom!

I have done a comparison between the two and only 4 locations have changed.
00157 , 01EF8 and 01F2E from 07 to 47
0016E from 17 to 2E

I assume these are values written to the own id and the synchronus transfer register .
Is this right , and do all three 07 to 47 changes write to the own id register?

I would like to change some values and correct the timing for the 20Mhz speed , although it seems stable now , unless i use an external drive.

You can use an eeprom instead of an eprom . I am using a winbond 27e257 but you need to remember that A14 ist tied high and A13 does change so you need to load double copies of the eprom data in the 2 top locations (one at 4000 and one at 6000 ). and it is pin compatible , just pop it in the socket!

Last edited by levo-ace; 08 December 2022 at 14:12.
levo-ace is offline  
Old 08 December 2022, 17:14   #15
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 839
Quote:
Originally Posted by levo-ace View Post
I have just upgraded my A590 to 20Mhz ( https://www.levosretrocomputerprojec...a590-20mhz-mod ) and would like to know if you still have the details of what you changed in the rom!

I have done a comparison between the two and only 4 locations have changed.
00157 , 01EF8 and 01F2E from 07 to 47
0016E from 17 to 2E

I assume these are values written to the own id and the synchronus transfer register .
Is this right , and do all three 07 to 47 changes write to the own id register?

I would like to change some values and correct the timing for the 20Mhz speed , although it seems stable now , unless i use an external drive.

You can use an eeprom instead of an eprom . I am using a winbond 27e257 but you need to remember that A14 ist tied high and A13 does change so you need to load double copies of the eprom data in the 2 top locations (one at 4000 and one at 6000 ). and it is pin compatible , just pop it in the socket!
First, you should read the 33C93A datasheet which explains that the input CLK is subject to an internal CLK divisor with the final result being approx. 5 MHz. So 10/2 or 15/3 or 20/4 = 5 MHz.

The datasheet also explains the SCSI timeout and synchronous offset calculations. So you have nothing to gain with the 20 MHz clock speed except a headache trying to figure out how to modify the SCSI driver code for these new timing parameters. I must apologize for the sarcastic reply (but it helps in clarifying the point).
SpeedGeek is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
A2091ToFast: Even more A2091/A590 speedup possible! SpeedGeek Coders. System 8 24 July 2015 14:47
A590 14 Mhz SCSI Mod SpeedGeek Hardware mods 1 14 November 2012 16:50
A590/A2091 SCSI boot ROM not recognized pucci support.WinUAE 0 12 September 2011 23:39
three in one? (SCSI Patch,Mac Patch,MapRom) RogerWilco09 support.Apps 0 05 May 2009 16:56
What scsi.device for a A2091 in a 4000D? davideo support.Hardware 10 09 August 2008 01:28

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:58.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.12070 seconds with 14 queries