Welcome, Guest. Please login or register.

Author Topic: Is there a way to run the format command from RAM?  (Read 3260 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline kedawaTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2004
  • Posts: 700
    • Show only replies by kedawa
Is there a way to run the format command from RAM?
« on: January 07, 2013, 01:36:24 AM »
I have a massive stack of old PC disks to test and an A500 with only one floppy drive, and I would like to set it up so that I don't have to insert the Workbench 1.3 disk every time I want to format a disk.

I've tried making the command resident, but it gives me an error, and I've tried putting format in the ram disk, but it still asks for the disk, even though the ram disk is in the system path.

I don't know what else to try.
 

Offline ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: Is there a way to run the format command from RAM?
« Reply #1 on: January 07, 2013, 02:00:01 AM »
Put format in RAM:

Then type in shell
RAM:Format df0:
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline Matt_H

Re: Is there a way to run the format command from RAM?
« Reply #2 on: January 07, 2013, 02:02:33 AM »
I can't think of a reason that shouldn't work. Trying specifying RAM:format in the shell. Alternatively, set up your system in RAD:.
 

Offline orange

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 2796
    • Show only replies by orange
Re: Is there a way to run the format command from RAM?
« Reply #3 on: January 07, 2013, 02:22:45 AM »
I'd use d-copy. its a better way to test the disk. iirc, it has 'safe' option which verifies after finishing complete diskette. 'normal' verifies after each track. because, sometimes the track can be ok just for a short time after writing, enough to verify as 'OK'. also d-copy lets you set speed and number of retries and more.
Better sorry than worry.
 

Offline kedawaTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2004
  • Posts: 700
    • Show only replies by kedawa
Re: Is there a way to run the format command from RAM?
« Reply #4 on: January 07, 2013, 04:13:33 AM »
Is that included with workbench?  Unfortunately I only have the disks that came with the Amiga and no way to get other software onto it.
Is RAM: the same as the ram disk?

Anyway, it's bed time, so I'll take another crack at it in the a.m.
 

Offline Matt_H

Re: Is there a way to run the format command from RAM?
« Reply #5 on: January 07, 2013, 04:21:59 AM »
Yes, it's the same. RAM: is the device name. "Ram Disk" is the volume name. Similarly, for your floppy drive, DF0: is the device name, "Workbench1.3" is the volume name of your disk.

RAD: is a recoverable Ram Disk that survives reboots. Hence, you can copy your Workbench disk to it and (warm) boot from it. I don't know how to configure it under 1.3, but I'm sure someone here can help with that.
 

Offline Bamiga2002

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 691
    • Show only replies by Bamiga2002
    • http://rutinskiband.net
Re: Is there a way to run the format command from RAM?
« Reply #6 on: January 07, 2013, 11:27:53 AM »
Try
Code: [Select]
Assign SYS: RAM: add before format command.
CD32
A500
 

Offline Thorham

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1150
    • Show only replies by Thorham
Re: Is there a way to run the format command from RAM?
« Reply #7 on: January 07, 2013, 12:51:08 PM »
Quote from: Bamiga2002;721591
Try
Code: [Select]
Assign SYS: RAM: add before format command.
Won't work, because ASSIGN doesn't set the required paths. Copying FORMAT to RAM: and executing it from there will work. Just use 'CD RAM:' after copying. The system will look in the current directory first, and since this is now RAM:, it will find FORMAT there.

The only thing that will prevent this from working is if FORMAT needs some other files from the Workbench disk, and that I don't remember, although I find it highly unlikely that it does.
 

Offline Bamiga2002

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 691
    • Show only replies by Bamiga2002
    • http://rutinskiband.net
Re: Is there a way to run the format command from RAM?
« Reply #8 on: January 07, 2013, 01:30:48 PM »
But if Format for some reason requests "Workbench1.3:" and that is assigned as SYS: (even if ran from RAM:), then assigning RAM: to SYS: would remove the annoying requester(?). Haven't tested it myself anyway.
CD32
A500
 

Offline Thomas

Re: Is there a way to run the format command from RAM?
« Reply #9 on: January 07, 2013, 01:41:28 PM »
Quote from: kedawa;721548
I have a massive stack of old PC disks to test and an A500 with only one floppy drive, and I would like to set it up so that I don't have to insert the Workbench 1.3 disk every time I want to format a disk.

I've tried making the command resident, but it gives me an error, and I've tried putting format in the ram disk, but it still asks for the disk, even though the ram disk is in the system path.

I don't know what else to try.




You can run format from the Shell as other people have already outlined. Copy the format program to ram: and in the shell window enter

ram:format drive df0: name empty99


Or, if you want to use the Initialize option from the Workbench menu, enter these commands in a shell window:

makedir ram:system
copy sys:system/format ram:system
assign sys: ram:

After that you can remove the Workbench floppy disk and don't need it again.

Offline Thomas

Re: Is there a way to run the format command from RAM?
« Reply #10 on: January 07, 2013, 01:45:21 PM »
Quote from: Bamiga2002;721591
Try
Code: [Select]
Assign SYS: RAM: add before format command.


'add' does not exist in 1.3.

Offline kedawaTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2004
  • Posts: 700
    • Show only replies by kedawa
Re: Is there a way to run the format command from RAM?
« Reply #11 on: January 07, 2013, 06:10:39 PM »
I just tried what Thomas suggested and it works fine now.
Thanks for the help everyone.
I'm assuming I can do this for other things as well, like diskcopy.
This will save me a lot of time when I back up all my stuff.
 

Offline desiv

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1270
    • Show only replies by desiv
Re: Is there a way to run the format command from RAM?
« Reply #12 on: January 07, 2013, 06:58:18 PM »
Can you "resident" the format command?

resident C:format
(Or something like that, not at my Amiga)..
Not sure if format is PURE or not..

desiv
Amiga 1200 w/ ACA1230/28 - 4G CF, MAS Player, ext floppy, and 1084S.
Amiga 500 w/ 2M CHIP and 8M FAST RAM, DCTV, AEHD floppy, and 1084S.
Amiga 1000 w/ 4M FAST RAM, DUAL CF hard drives, external floppy.
 

Offline kedawaTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2004
  • Posts: 700
    • Show only replies by kedawa
Re: Is there a way to run the format command from RAM?
« Reply #13 on: January 07, 2013, 07:17:57 PM »
I tried both with and without the PURE argument, and it returned an error either way.
 

Offline kedawaTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2004
  • Posts: 700
    • Show only replies by kedawa
Re: Is there a way to run the format command from RAM?
« Reply #14 on: January 07, 2013, 07:25:43 PM »
Quote from: Thomas;721604
'add' does not exist in 1.3.

Are you certain? according to this, the following line is part of a 1.3 startup-sequence:

Quote
path ram: c: sys:utilities sys:system s: sys:prefs add