Welcome, Guest. Please login or register.

Author Topic: Radeon/Mediator as FastMem (HowTo)  (Read 11077 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline RatteTopic starter

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show only replies by Ratte
Radeon/Mediator as FastMem (HowTo)
« on: July 11, 2009, 01:09:37 PM »
This guide is for ZIII-Amigas (A3000/4000) only !!!

http://www.a1k.org/forum/showthread.php?goto=newpost&t=17108 (org. german-guide)

Even before I bought a Mediator for my A4k (Mediator4000Di) I thought about the idea to add some of the gfxmemory from a radeon to the amiga memorypool.
Last night I had some time to try it out.
(If there is allready a guide or tool out there ... i didnt found it.)

My current setup is a A4k (Blizzard4030/50Mhz) with 2 mb chipmem & 16MB fastmem (onboard) and a Mediator4000Di with a 64MB Radeon 9250.

How to ...
First open/create the file "sys: prefs/env-archive/mediator/radeonmem" and replace/insert the comment "15 MB" direct at the begining of the file.
Save the setting and reboot to activate it.

Now your radeon as "only" 16MB graphicsmem (doublesize of a cvppc).
1 MB is reserved for PCI-communication ( thats the reason why we used "15 MB" ).
All other memory is unused (64MB Radeon = 48MB unused / 256MB Radeon= 240MB unused)

Next step:
Start the tool "CheckBoards" from the Picasso96-archiv (its inside of the "debug"-directory).
CheckBoards should find a gfx-board named Radeon with ? 3dfx Chipset (driver-bug) ? and a memorysize of 15712256 bytes if you dont made any mistakes.
If you own more than one pci-card, keep the "MemoryBase" of the gfxboard in mind!

With the Mediator-Software you received a tool named "pciinfo" in your c:-directory.
If you call "pciinfo" you´ll get a full list of all installed pci-cards including the used memoryareas.
Compare your "MemoryBase" from CheckBoards with the MemoryAreas from pciinfo.
If you found the correct pci-card keep also the end of its memoryarea in mind.
My 64MB Radeon is (for example) at $5000.0000 - $53ff.ffff.
Our current setting is using only the first 16MB for gfx ... $5100.0000 - $53ff.ffff are unused and free!!!

Last step is to add the memory to the memorypool:
Download the "addmem" tool from aminet.
And add the following line to the end of your "user-startup" inside of the sys:s-directory:
addmem 51000000 to 53ffffff pri 10 name pci-memory
The memoryareas could be differ from my example, it depends on your setup.

A "avail flush" could be nice behind the addmem-command,but it is not really needed.
Reboot and ...
... Done.

Have fun with your cheap memexpansion.
(btw. os4-research cant be done, as long as iam waiting for my repaired csppc from a german reseller)

regards
Ratte / a1k.org
 

Offline cv643d

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1197
    • Show only replies by cv643d
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #1 on: July 11, 2009, 02:56:37 PM »
Nice, so you could add 240 MB fast mem for free ? :)

Is the mem as fast as Z3 memory?
Amiga articles
"New shell. It was finished a while back, but I still see bugs, haha" - SSolie
 

Offline aggro_mix

  • Full Member
  • ***
  • Join Date: May 2004
  • Posts: 149
    • Show only replies by aggro_mix
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #2 on: July 11, 2009, 05:43:20 PM »
So Radeon 9250 works "out of the box" in Mediator 3000/4000?
 

Offline AmigaMance

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #3 on: July 11, 2009, 06:01:01 PM »
I wish this could be done with CyberGraphX too.
A1200 PPC user.
 

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: Radeon/Mediator as FastMem (HowTo)
« Reply #4 on: July 11, 2009, 08:03:20 PM »
Quote from: cv643d;515339
Is the mem as fast as Z3 memory?

Much slower, especially when reading. VMEM is not meat to be read.
 

Offline RatteTopic starter

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show only replies by Ratte
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #5 on: July 11, 2009, 09:50:07 PM »
Quote from: Piru;515363
Much slower, especially when reading. VMEM is not meat to be read.


Yes, you are right.
Today I found some time to make some tests.
I started "Analyser" and made MemTests for over an hour ... no errors.
On a1k.org we had an older discussion regarding a (new) ZIII-memoryexpansion and we had collected some benchmarkresults from different memorys and expansions.

The Radeon/Mediator-Combo seems to be comparable to the DBK3128.
The user ville9/a1k.org send us results from his DKB3128.
reading 7.7 mb/s & writing 4.6 mb/s
The Radeon/Mediator results are:
reading 5.1 mb/s & writing 7.7 mb/s
A FastlaneZIII is faster ...
reading 15.5 mb/s & writing 8.6 mb/s

In normal use it is not different to any other memory.
But it is not comparable to memory on cpu-cards!

On the other side, this memory is really cheap ...
« Last Edit: July 11, 2009, 09:52:36 PM by Ratte »
 

Offline cv643d

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1197
    • Show only replies by cv643d
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #6 on: July 11, 2009, 10:52:01 PM »
Yes, who would say no thanks to 240 MB slow mem? :)
Amiga articles
"New shell. It was finished a while back, but I still see bugs, haha" - SSolie
 

Offline HammerD

Re: Radeon/Mediator as FastMem (HowTo)
« Reply #7 on: July 12, 2009, 12:19:12 AM »
No, you need a true 5V card.  Best to buy it from Elbox's online store to ensure the card will work.
AmigaOS 4.x Beta Tester - Classic Amiga enthusiast - http://www.hd-zone.com is my Amiga Blog, check it out!
 

Offline Akiko

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 1026
    • Show only replies by Akiko
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #8 on: July 12, 2009, 01:07:35 AM »
This would be absolutely invaluable for CyberstormPPC OS4 classic users! :-)

Hopefully the next update from Hyperion will see native Radeon 9250 drivers.
 

Offline RatteTopic starter

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show only replies by Ratte
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #9 on: July 12, 2009, 07:04:52 AM »
The delivered Radeon9250 64MB bundled with the Mediator (bought 1-2 month ago) is a normal 3,3V Radeon.
Elbox modified the Card with a powerconverter ...
... on the same way it can be done with a 256mb version from ebay. :)

btw. the radeon.card driver for p96 is for 9200 and 9250 radeons.

pictures from the bundled radeon-card with powerconverter
http://www.a1k.org/forum/showpost.php?p=264387&postcount=31
(click on the pictures for fullsize)

ragards
Ratte/a1k.org
« Last Edit: July 12, 2009, 07:10:26 AM by Ratte »
 

Offline Gulliver

Re: Radeon/Mediator as FastMem (HowTo)
« Reply #10 on: August 30, 2009, 03:35:19 PM »
Why will it only work on ZIII? Could it also work on an accelerated (030/040/060) Amiga 1200 with a mediator?
 

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: Radeon/Mediator as FastMem (HowTo)
« Reply #11 on: August 30, 2009, 04:08:07 PM »
Quote from: Gulliver;521482
Why will it only work on ZIII?

ZIII can be addressed directly.
Quote
Could it also work on an accelerated (030/040/060) Amiga 1200 with a mediator?

No
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #12 on: August 30, 2009, 04:13:45 PM »
The A1200-Mediator only has an 8MB-Zorro-window to the A1200...

One could do some heavy MMU-trick, think about virtual-memory that isn't paged to disk but to VMEM, but I doubt you'll find anybody interested in writing such a hack.
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show only replies by mongo
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #13 on: August 30, 2009, 04:23:29 PM »
Quote from: Kronos;521486
The A1200-Mediator only has an 8MB-Zorro-window to the A1200...

One could do some heavy MMU-trick, think about virtual-memory that isn't paged to disk but to VMEM, but I doubt you'll find anybody interested in writing such a hack.


If someone wants to buy me a Mediator for my A1200, I'd be happy to write it.
 

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: Radeon/Mediator as FastMem (HowTo)
« Reply #14 on: August 30, 2009, 05:00:14 PM »
Quote from: mongo;521487
If someone wants to buy me a Mediator for my A1200, I'd be happy to write it.

You're aware of the fact that many applications allocate memory as assume it doesn't get paged away? And that MEMF_PUBLIC doesn't work as a "swappability" flag?