Welcome, Guest. Please login or register.

Author Topic: What is ram-handler?  (Read 2120 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
What is ram-handler?
« on: May 31, 2006, 05:31:58 PM »
I have added almost everything from the OS3.9 "AmigaOS ROM Update" in to a 3.1 image, which successfully boots when BlizKicked, with the NOROMUPDATE flag set on setpatch.

The only thing I can't add is ram-handler, Remus complains that it contains BSS hunks. How important is it that I update this file to the 3.9 version? Bear in mind that it must be inside the ROM image, not loaded as a BlizKick module, as I want to burn the kickstart image to an EPROM.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Tricky

  • Full Member
  • ***
  • Join Date: Aug 2005
  • Posts: 127
    • Show only replies by Tricky
    • http://www.jigsawlounge.co.uk/kungfu/
Re: What is ram-handler?
« Reply #1 on: May 31, 2006, 05:34:08 PM »
is this not what handles the RAM disk? I didn't realise it was in the ROM, I thought it was loaded from disk when needed.
[A1200/060, 32Mb fast RAM, 1.2Gb HDD, 19\\" Acer TFT Monitor]
I never write anything that won\\\'t run on a stock A1200.  That\\\'s the Jigsaw Lounge Guarantee.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: What is ram-handler?
« Reply #2 on: May 31, 2006, 05:37:07 PM »
I guessed that ram-handler handles the ram :-) Version 39.4 is resident in my 3.1 image, and 44.23 is in the AmigaOS ROM Update. The system appears to be working ok with 39.4 and everything else on 44.x, but I would prefer to insert it into the image if possible.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Tricky

  • Full Member
  • ***
  • Join Date: Aug 2005
  • Posts: 127
    • Show only replies by Tricky
    • http://www.jigsawlounge.co.uk/kungfu/
Re: What is ram-handler?
« Reply #3 on: May 31, 2006, 05:40:58 PM »
I'm fairly sure it was a file on disk on WB1.2/1.3... I'd guess even in the old days, the O/S needed RAM to work before it could load anything!
[A1200/060, 32Mb fast RAM, 1.2Gb HDD, 19\\" Acer TFT Monitor]
I never write anything that won\\\'t run on a stock A1200.  That\\\'s the Jigsaw Lounge Guarantee.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: What is ram-handler?
« Reply #4 on: May 31, 2006, 05:42:54 PM »
Well the custom chips and Kickstart have access to chip ram... maybe ram-handler is only needed for fast ram?

There's definitely no ram-handler file on my 3.9 setup. (just searched)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline alexh

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 3644
    • Show only replies by alexh
    • http://thalion.atari.org
Re: What is ram-handler?
« Reply #5 on: May 31, 2006, 05:43:27 PM »
Are you using the latest version of ReMUS?
 

Offline Tricky

  • Full Member
  • ***
  • Join Date: Aug 2005
  • Posts: 127
    • Show only replies by Tricky
    • http://www.jigsawlounge.co.uk/kungfu/
Re: What is ram-handler?
« Reply #6 on: May 31, 2006, 05:47:42 PM »
@Moto

just looked it up, can't find anything specific to ram-handler, but handlers are for filesystem devices, which includes the RAM disk.  They are stored in L: (unless they're in the ROM)
[A1200/060, 32Mb fast RAM, 1.2Gb HDD, 19\\" Acer TFT Monitor]
I never write anything that won\\\'t run on a stock A1200.  That\\\'s the Jigsaw Lounge Guarantee.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: What is ram-handler?
« Reply #7 on: May 31, 2006, 05:52:10 PM »
I'm using 0.94, which is the latest version on Doobrey's web site.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Matt_H

Re: What is ram-handler?
« Reply #8 on: May 31, 2006, 06:10:15 PM »
I think the Docs for Remus said ram-handler had to be run through a splitter program. Don't remember the exact details - I haven't investigated very thorougly.

At any rate, there's a patch on Aminet for the 3.9 ram-handler that tells you how much space is left in Ram Disk:. By default, it always says 100% full, xxxKB in use. With the update, it'll say 2% full, xxxKB in use. I'd recommend adding it to your image for a maximally updated 3.9 ROM :-)
 

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: What is ram-handler?
« Reply #9 on: May 31, 2006, 06:12:25 PM »
ram-handler was on disk with ks 1.x, but was moved inside the ROM for 2.0++.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: What is ram-handler?
« Reply #10 on: May 31, 2006, 06:23:35 PM »
@Matt_H
Hmmm just tried patching it with the version from Aminet, but get the same error when trying to insert it into the ROM. If I copy it to L: will it override the version in ROM?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show only replies by Doobrey
    • http://www.doobreynet.co.uk
Re: What is ram-handler?
« Reply #11 on: May 31, 2006, 06:36:56 PM »
@motorollin,
 You're on the right lines.. ram-handler from OS3.9 does need patching.
Look in the patches dir wherever you installed Remus, and there's a patch that removes the BSS hunk (and also does whatever Thor patched in his ram-handler patch, so there's no need to do it again).

spatch -oram-handler_44.24  -pram-handler_44-24.pch  ram-handler_44.23

Which reminds me... spatch isn't included in the archive :roll:
Spatcher_1.0(aminet) has it with a GUI to make life easier
On schedule, and suing
 

Offline Matt_H

Re: What is ram-handler?
« Reply #12 on: May 31, 2006, 06:42:48 PM »
Quote

motorollin wrote:
@Matt_H
Hmmm just tried patching it with the version from Aminet, but get the same error when trying to insert it into the ROM. If I copy it to L: will it override the version in ROM?


Probably irrelevant now that we have the 'official' solution from Doobrey, but you'd need to copy the patched version to L: and then load it into memory with a LoadModule command just before SetPatch. LoadModule should be included in the patch archive.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: What is ram-handler?
« Reply #13 on: May 31, 2006, 07:00:41 PM »
You rock Doobrey :-) The patched ram-handler (using your patch, not the one from Aminet) was inserted fine in to the ROM image. And as a nice side effect, the RAM disk now shows 1% fill and 117.5MB free :-D

Now, just got to find a burner and some EPROMs......

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Doobrey

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 1876
    • Show only replies by Doobrey
    • http://www.doobreynet.co.uk
Re: What is ram-handler?
« Reply #14 on: May 31, 2006, 07:44:11 PM »
Quote

motorollin wrote:
 And as a nice side effect, the RAM disk now shows 1% fill and 117.5MB free :-D


I can't take credit for that, it's one of the things Thor fixed in his patch.


Quote

Now, just got to find a burner and some EPROMs......


Whatever you do, don't show a video of it booting on the internet
Or Amiga Inc will send the boys 'round , bloody incompetant morons:roll:
On schedule, and suing