Welcome, Guest. Please login or register.

Author Topic: more RAM , how?  (Read 6676 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: more RAM , how?
« on: May 10, 2006, 02:44:39 PM »
Quote
HellCoder wrote:
If we can connect a PPC/PCI/USB to our amiga, why hasn't someone made a hardware thing to expand our chipmem ?Just a thought. :)

The 2MB chipmem limit is a limitation of the Amiga's custom chips. If you wanted more chipmem, you would have to replace the custom chips with new versions which supported more RAM.

PPC cards, PCI busses and USB controllers are not subject to this limitation as they do not rely on the custom chips (except to load driver software or libraries, which are small enough to fit in 2MB chipmem or can be coded to use fastmem).

--
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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: more RAM , how?
« Reply #1 on: May 10, 2006, 02:53:56 PM »
Quote
Piru wrote:
Quote
If you wanted more chipmem, you would have to replace the custom chips with new versions which supported more RAM.

It should perhaps also be pointed out that there is no such custom chips available.

Of course :-)

Quote
Piru wrote:
2MB is the chip memory limitation in hardware. WinUAE can have upto 8MB "chip" memory, though.

Yes but then you have to use Windows  :-P  :-P  :-P  :-P  :-P

--
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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: more RAM , how?
« Reply #2 on: May 11, 2006, 07:09:20 AM »
If I understand correctly, this is basically a paging file? So the custom chips fill up the 2MB physical RAM chips, then when they require more memory some pages of RAM are moved to a file, thus freeing up chip RAM. Is this right? Could the memory pages be swapped in to fast RAM instead to make it faster? Presumably the ROM would have to be patched to make use of the page swapping rather than just refusing to run the application when no physical chip RAM is available.

Is any of this actually 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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: more RAM , how?
« Reply #3 on: May 11, 2006, 08:32:25 AM »
Interesting. So there would be hardware in between the custom chips and the memory which can tell when the first bank of 2MB chips is full, then automatically switches to the second bank?

If the custom chips are addressing the same memory range no matter what bank was being used, how would the controller know which bank the required page is on?

--
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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: more RAM , how?
« Reply #4 on: May 11, 2006, 09:54:31 AM »
Quote
HellCoder wrote:
Perhaps you could say,.. Paula has map one, and Denise map two giving them both 2 MB each ?

That would seem to be cleaner. Is it only Paula and Denise who address chipmem?

--
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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: more RAM , how?
« Reply #5 on: May 11, 2006, 10:45:43 AM »
So who's gonna build this thing then? I want 128MB of chipmem :-)

--
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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: more RAM , how?
« Reply #6 on: May 11, 2006, 11:44:41 AM »
Because it's there :-)

Also, there are still some games which need 2MB of chipmem, so have to be run with no startup-sequence.

--
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 motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: more RAM , how?
« Reply #7 on: May 11, 2006, 12:45:02 PM »
Quote
Piru wrote:
There are other problems aswell: Software gets pointer to allocated memory (say above 2MB). Software pokes the address of the memory to custom chip register. The problem here is that the higher order bits are just ignored, so the chip (and thus the hw sniffing the address lines) has no way of knowing which bank it should access.

That's kind of what I was getting at when I said:

Quote
motorollin wrote:
If the custom chips are addressing the same memory range no matter what bank was being used, how would the controller know which bank the required page is on?


Quote
Piru wrote:
Forget it.

Forgotten :-)

--
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