Welcome, Guest. Please login or register.

Author Topic: using RAD: as memory  (Read 2755 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline hamtronixTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2006
  • Posts: 566
    • Show only replies by hamtronix
using RAD: as memory
« on: July 26, 2007, 01:53:27 PM »
While I have been waiting for my HD to show up to get my system working again I have been messing about and I discovered something (it's new to me anyway).

When I mount the RAD: device it shows up on the WB as a regular ol' 880k drive icon. I can copy things into it but they do not survive a warm boot.

When I use DMS to create a disk image to it the icon changes to look like a disk was inserted and acts like a disk. With the exception that it retains the data on a warm boot.

Since I am operating on one floppy this is extremely useful (I forgot the amount of swapping!) My question is;

Can I change the regular RAM disk to retain files like the RAD: disk?

Can I increase the size of the RAD: disk and still retain the files? This would allow me to muck about much quicker and would be extremely useful. I have 40 MB of Fast memory so it isnt a problem.

Why does RAD: only retain files when it thinks it is a regular disk and not when it is just plain ol' RAD:

I suppose I can create many RAD: disks.
CD TV / Remote / Trackball Remote / Keyboard / CDTV 1411 External Drive / C= 1405 256K RAM / Smell the fear!
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: using RAD: as memory
« Reply #1 on: July 26, 2007, 02:13:24 PM »
Quote
Can I change the regular RAM disk to retain files like the RAD: disk?

No.

Quote
Can I increase the size of the RAD: disk and still retain the files?

Yes. Check the RAD icon tooltypes (highcyl). The default is 79, which gives you 880KB. So 1 cyl is 11KB. Thus for example to get roughly 2MB RAD, you would use highcyl of 2048/11 = 186.

Quote
Why does RAD: only retain files when it thinks it is a regular disk and not when it is just plain ol' RAD:

It should always retain the files, regardless of how you use it.

Quote
I suppose I can create many RAD: disks.

Correct. Just use unique unit for each.
 

Offline hamtronixTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2006
  • Posts: 566
    • Show only replies by hamtronix
Re: using RAD: as memory
« Reply #2 on: July 26, 2007, 02:21:35 PM »
Thanks for the information. I just copied my WB 3.1 to the RAD: now I warm boot into WB at ~ 5 seconds (some slow up due to RAM on accelerator / caches...)

Wow, this is great a virtual HD...

I wonder why RAM: cannot be told to retain like this? Is it some deep hard coded software issue or some thing to do with how MOUNT works?
CD TV / Remote / Trackball Remote / Keyboard / CDTV 1411 External Drive / C= 1405 256K RAM / Smell the fear!
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: using RAD: as memory
« Reply #3 on: July 26, 2007, 02:28:20 PM »
Quote
I wonder why RAM: cannot be told to retain like this? Is it some deep hard coded software issue or some thing to do with how MOUNT works?

RAD is specially coded to retain the contents, RAM is not.

However, you can look into replacements, such as statram.
 

Offline hamtronixTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2006
  • Posts: 566
    • Show only replies by hamtronix
Re: using RAD: as memory
« Reply #4 on: July 26, 2007, 02:39:38 PM »
thanks for the quick responses.

I just tried to use the regular format command to get my 2MB RAD: HD up and it tanked my system. Is there a special command or other program I should use to format a non-standard size?
CD TV / Remote / Trackball Remote / Keyboard / CDTV 1411 External Drive / C= 1405 256K RAM / Smell the fear!
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: using RAD: as memory
« Reply #5 on: July 26, 2007, 03:08:28 PM »
Quote
I just tried to use the regular format command to get my 2MB RAD: HD up and it tanked my system.

That sounds more like problem with your system. Bad memory or something.

Quote
Is there a special command or other program I should use to format a non-standard size?

No. Any size is equally standard.

Ah, and BTW: You don't need to format RAD, just initialize the filesystem. "Format DRIVE RAD: Name Foo FFS QUICK" should do the job.
 

Offline orange

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 2799
  • Country: 00
    • Show only replies by orange
Re: using RAD: as memory
« Reply #6 on: July 26, 2007, 03:49:39 PM »
hm, could you use other filesystems like PFS or SFS as well?
would there be any advanage?

except for fast warm reboots (which happen not-so-often here) is there some other uses of spending RAM on RAD?
“Giving up is always an option, but not always a failure.”
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: using RAD: as memory
« Reply #7 on: July 26, 2007, 04:43:07 PM »
Quote
hm, could you use other filesystems like PFS or SFS as well?

Yes.
Quote
would there be any advanage?

Very little.

Quote
except for fast warm reboots (which happen not-so-often here) is there some other uses of spending RAM on RAD?

Well, back when I only had A500 with two floppy drives, I used to have SAS/C main disk on RAD: ... includes on one floppy, and 2nd was the project disk ;-)
 

Offline hamtronixTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2006
  • Posts: 566
    • Show only replies by hamtronix
Re: using RAD: as memory
« Reply #8 on: July 26, 2007, 04:52:53 PM »
on my current one floppy system it is a godsend to not have to swap and to try out programs without screwing things up and having to reboot from floppy and swap swap swap...

It gives me an incredibly fast booting system on top of it.
CD TV / Remote / Trackball Remote / Keyboard / CDTV 1411 External Drive / C= 1405 256K RAM / Smell the fear!
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: using RAD: as memory
« Reply #9 on: July 26, 2007, 06:26:14 PM »
Just one comment:  Depending on your accelerator or memory card, not all Fast RAM holds the kicktag support.  You may be eating up Chip RAM with your RAD: device.
 

Offline hamtronixTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2006
  • Posts: 566
    • Show only replies by hamtronix
Re: using RAD: as memory
« Reply #10 on: July 26, 2007, 07:07:41 PM »
Quote

SamuraiCrow wrote:
Just one comment:  Depending on your accelerator or memory card, not all Fast RAM holds the kicktag support.  You may be eating up Chip RAM with your RAD: device.


Luckily the Derringer allows me to map everything to its own Fast RAM so it actually gives me more Chip RAM. Right now I have 990,520 Chip RAM free. Which seems extremely acceptable to me.
CD TV / Remote / Trackball Remote / Keyboard / CDTV 1411 External Drive / C= 1405 256K RAM / Smell the fear!
 

Offline pault1

  • Newbie
  • *
  • Join Date: Feb 2007
  • Posts: 28
    • Show only replies by pault1
    • http://www.calweb.com/~pault
Re: using RAD: as memory
« Reply #11 on: July 26, 2007, 07:11:56 PM »
The RAD: disk changed a couple of times historically or I may be thinking of the ASDG creation of a similar name.  When I got my A1000 expanded to a whole 2.5 MB of RAM, no HD, I mounted a floppy sized RAD: then my startup-sequence consisted of Diskcopy df0: rad: then rebooting.  IIRC it would look for the RAD:, find it, skip the floppy, and have a 5 second reboot cycle until you powered down the machine or something crashed hard enough to wipe things out.  If you set Diskcopy to its fastest mode (I think it was NOVERIFY) it still, with the diskcopy then reboot, booted way faster than a total boot from floppy the first time, and of course TONS faster on subsequent boots.

The advantage to the diskcopy was that you could copy an image of the boot floppy as fast as the drive could step tracks.  If the RAD: was not 1 floppy exactly then this would not work.  Nowadays if you needed to use a floppy, I'd copy maybe 2 disks of material to a floppy by using something like DMS, then stream + expand it to whatever size RAD: you wanted, then reboot to set all assigns to the new system location. :idea:
 

Offline hamtronixTopic starter

  • Hero Member
  • *****
  • Join Date: Aug 2006
  • Posts: 566
    • Show only replies by hamtronix
Re: using RAD: as memory
« Reply #12 on: July 26, 2007, 07:14:37 PM »
Thats real automation!

I do it the old fashion way. I have modified my backup of the WB 3.1 disk with the progs for my accelerator and 2 RAD: disks. Then boot with that to WB. And just drag the WB DF0: to the proper RAD: drive. I let it diskcopy and then reboot.
CD TV / Remote / Trackball Remote / Keyboard / CDTV 1411 External Drive / C= 1405 256K RAM / Smell the fear!