Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show all replies
Re: Radeon/Mediator as FastMem (HowTo)
« 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 mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show all replies
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #1 on: August 30, 2009, 05:51:28 PM »
Quote from: Piru;521492
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?


The application would never know if the memory was paged or not.
 

Offline mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show all replies
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #2 on: August 30, 2009, 07:19:02 PM »
Quote from: Piru;521508
It isn't that easy. Even the most advanced virtual memory system ever written for amigaos doesn't work right for all applications. You need to have blacklists of misbehaving applications (or whitelists of well behaving ones).

Just look into http://aminet.net/package/util/misc/VMM_src and you'll soon figure out it is hardly trivial, nor can it be made 100% transparent.


Huge difference between paging memory from disk and paging memory from bank switched RAM.
 

Offline mongo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 964
    • Show all replies
Re: Radeon/Mediator as FastMem (HowTo)
« Reply #3 on: August 30, 2009, 07:34:57 PM »
Quote from: Kronos;521511
Other than it should be faster actually not .......

One could send out memory-pages per serial cable to another computer, would still make no differnce (expect for speed).


No!

To page memory from disk requires that the OS be running and in a state that allows you to do disk I/O. To page from bank switched RAM, you don't need the OS at all. This is why you don't have the same problems as with paging from disk.