English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 24 March 2014, 18:11   #1
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 841
Lightbulb SCSINoLUN released

SCSINoLUN V1.5 ©SpeedGeek 2015.

INTRODUCTION:
SCSINoLUN is a small patch program intended for the OS3.5/3.9 versions of
HDtoolBox. Unfortunately, these versions no longer support the Tooltype
SCSI_MAX_LUN. This was very useful to many third party SCSI device
users (e.g. omniscsi.device) because they lack the ability to disable LUN scans at the driver level. It can take a full minute or longer to scan the SCSI bus for all LUNs which is very annoying especially if you don't need any LUN support!

SCSINoLUN doesn't prevent HDtoolBox (or any other SCSI tools) from scanning for LUNs. But it does dramatically speed up the LUN scan (even faster than the scsi.device with LUNs disabled). My system now completes the scan in approx. 6 seconds! But of course, your mileage will vary with CPU and SCSI controller speed.

REQUIREMENTS:
- Any 68K Amiga with a SCSI controller supporting scsidisk.h unit numbers
(e.g. A2091 = Yes, A2090 = No)
- System hardware not needing LUN support (e.g. SCSI card reader = No)
- Device name with 'scsi' characters (in lower case) and a maximum length of 24 characters
- OS2.x or higher (OS1.3 maybe it works, but don't send me any bug reports!)

Enjoy!
Attached Files
File Type: lha SCSINOLUN15.LHA (2.4 KB, 96 views)

Last edited by SpeedGeek; 28 February 2016 at 14:35.
SpeedGeek is offline  
Old 02 April 2014, 05:30   #2
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 841
** NEWS UPDATE **

V1.1 released - removed Debug symbols to make the executable a few hundred bytes smaller (Sorry, default assembler option caused bloated code).
SpeedGeek is offline  
Old 23 April 2015, 23:29   #3
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 841
** 2ND NEWS UPDATE **

v1.2 Released - Optimized parse board number code (8 bytes saved!)
SpeedGeek is offline  
Old 25 April 2015, 13:00   #4
voxel
Amiga Nuts!
 
voxel's Avatar
 
Join Date: Sep 2006
Location: Le Mayet d'Ecole, 03800, FRANCE
Posts: 176
cool! thanks speedy ^^)
voxel is offline  
Old 25 April 2015, 14:01   #5
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 841
** 3RD NEWS UPDATE **

v1.3 released - added simple parse LUN skip code for clipboard.device open calls

(Thanks to christof "at" kass.de for the bug report!)
SpeedGeek is offline  
Old 27 April 2015, 15:24   #6
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 841
** 4TH NEWS UPDATE **

v1.4 released - Replaced skip code with new qualify code for scsi.device open calls

UPDATE:
Due to the possibility of virtual devices using Unit numbers > 9 (even
devices which don't actually use this many Units like AHI) the only reliable
fix for SCSINoLUN was to qualify scsi.device open calls before parsing any
LUNs. Unfortunately, the new qualify code makes the patch a little larger
and slower than previous releases.
SpeedGeek is offline  
Old 01 May 2015, 15:41   #7
SpeedGeek
Moderator
 
SpeedGeek's Avatar
 
Join Date: Dec 2010
Location: Wisconsin USA
Age: 60
Posts: 841
** 5TH NEWS UPDATE **

v1.5 released - Optimized and combined Board/LUN parse code (20 bytes saved!)

UPDATE:
Due to the possibility of virtual devices using Unit numbers > 9 (even
devices which don't actually use this many Units like AHI) the only reliable
fix for SCSINoLUN was to qualify scsi.device open calls before parsing any
LUNs. Fortunately, the Parse LUN code has been optimized further to
compensate for overhead of the qualify code.

EDIT:
The few who downloaded v1.5 on or before May 2, 2015 may have downloaded a bugged version of v1.5. Sorry, but it wasn't worth doing another version release and it's been corrected now.

Last edited by SpeedGeek; 02 May 2015 at 17:11.
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
Never released??? tomcat666 project.aGTW 18 18 January 2010 14:44
emuControlCenter 0.9.8 R2 released ecc News 0 02 December 2008 23:04
WinUAE 1.5.3 released Toni Wilen News 24 12 November 2008 23:29
16.6 Released alexh project.WHDLoad 6 09 June 2006 10:02
calcheduler released Paul News 0 10 December 2004 16:56

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 21:15.

Top

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