English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System > Coders. Scripting

 
 
Thread Tools
Old 18 August 2020, 10:01   #1
Starfox
Registered User

 
Join Date: Aug 2020
Location: Germany
Posts: 16
DiskSalv 1.42 Bug with Format at same drive

Good morning,


at the moment i write a Workaround for Disksalv 1.42 and the additional FORMAT Option.


Problem is that Disksalv gives an Error when Disksalv is at the same drive as the Source disk


Ex.: "Disksalv df0: df1: FORMAT" and Disksalv is stored at the same Source like DF0: in this case.


Then there is an Error "Replace Volume xy" can´t find Formatter and Disk-Validator.


If i choose "Disksalv df1: df2: FORMAT" and Disksalv ist stored on DF0: it works.


Now i would like to copy Disksalv at startup to RAM:


I´ve written this but Disksalv didn´t find Disk-Validator (don´t know why).


Code:
mount pipe:
makedir ram:l ; Creates the L Directory on Ram Disk

echo "Copy stuff to Ramdisk"
copy df0:disksalv ram:disksalv
copy df0:l/Disk-Validator ram:l/Disk-Validator
copy df0:format ram:format

cd ram:
disksalv df0: df1: FORMAT

Any Ideas ?
Attached Thumbnails
Click image for larger version

Name:	workbench1-crop-2008181003-01.png
Views:	108
Size:	4.4 KB
ID:	68529   Click image for larger version

Name:	workbench1-crop-2008181003-02.png
Views:	110
Size:	5.8 KB
ID:	68530  
Starfox is offline  
Old 18 August 2020, 14:00   #2
Starfox
Registered User

 
Join Date: Aug 2020
Location: Germany
Posts: 16
I have solved it with:


Code:
assign l: ram:l

but disksalv can´t find "format" stored in ram: same folder as disksalv is.


i start disksalv with ram:disksalv df0: df1: FORMAT
Starfox is offline  
Old 18 August 2020, 15:26   #3
Starfox
Registered User

 
Join Date: Aug 2020
Location: Germany
Posts: 16
Hmmm

Format didn´t work on command line.

Do Format need any other Files to work on a blank Floppy ?
Starfox is offline  
Old 18 August 2020, 19:26   #4
Starfox
Registered User

 
Join Date: Aug 2020
Location: Germany
Posts: 16
Update.

I have coded a little bit this afternoon.

It´s not a Problem of Format itself it´s a Problem how Disksalv find Format.

What i need is assign format from Ram Disk to Disksalv but how i do this ?

With Disk-Validator it work´s with
Code:
assign l: ram:l
But how to assign format stored in Ram:format ?

I´v tried
Code:
assign c: ram:format
because Disksalv searches also in c: for format, but this creates an Error from Disksalv itself "DISK FAIL: Trouble formatting, select action ?"
Starfox is offline  
Old 21 August 2020, 11:39   #5
Starfox
Registered User

 
Join Date: Aug 2020
Location: Germany
Posts: 16
Who want´s here´s my complete working code for Workbench 1.3 (Kick 1.3) Systems

What you need are following Files on a Floppy disk:

Directorys: L, C, DEVS and S for Startup-Sequence

ROOT Directory (attached File to this Thread):
ds
ds2
disksalv (Version 1.42 only)

From Workbench 1.3:

C: Directory:
c:makedir
c:copy
c:execute
c:format
c:run
c:cd
c:dir
c:assign
c:delete
c:echo
c:if
c:else
c:endif
c:ask
c:lab
c:skip
c:setenv
c:wait

L: Directory:
l: Disk-Validator
l:Ram-Handler

DEVS Directory:
devs:ramdrive.device

S: Directory:
s: your own startup-sequence
with the line execute "df0:ds"

or from command line only execute ds

Attached Files Disksalv.zip contains ds (copys Disksalv to Ram and Start the Programm) ds2 (the Script itself) and the original Disksalv 1.42

I have already attached a ready to Boot ADF contained in Repair-Tool.zip

** There is a warning after you have choosen Formating Disk with (y/n) to replace the Disk. This is normal and came from Disksalv itself. Click on Cancel !

If there is a bug or you have an enhancment feel free to Post it here
Attached Files
File Type: zip Disksalv.zip (19.9 KB, 98 views)
File Type: zip Repair-Tool.zip (483.2 KB, 95 views)

Last edited by Starfox; 22 August 2020 at 11:00.
Starfox 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
Disksalv 2 commodoresales New to Emulation or Amiga scene 3 25 March 2012 00:30
Recovering LhA archive from raw filesystem (DiskSalv failed) lem79 support.Other 10 28 May 2009 03:03
Dpaint IV AGA problem (DiskSalv 2 saved my arse) Akira support.Apps 7 23 February 2005 19:01
Disksalv 4 - crippled version? andreas support.Apps 4 05 April 2002 23:24

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:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.14372 seconds with 16 queries