Welcome, Guest. Please
login
or
register
.
Forums
Forums
Board
Topic
Home
Today's Posts
Gallery
Login
Register
Amiga.org
»
Amiga computer related discussion
»
Amiga Software Issues and Discussion
»
Choosing the type of memory to load stuff into.
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Choosing the type of memory to load stuff into. (Read 1619 times)
Description:
0 Members and 1 Guest are viewing this topic.
prowler
Full Member
Join Date: Sep 2002
Posts: 182
Choosing the type of memory to load stuff into.
«
on:
June 03, 2003, 02:47:09 AM »
I was wondering if there is a way to choose the type of memory to load stuff into.
My A3000 has 16Meg on the motherboard (pri of 30), 2Meg chip (pri of -10) and another 8 megs sitting on a GVP card (pri of 0). So everything goes into the 16 megs of fastmem first etc.
While this is all well and good for general operation I would like to say load the WB backdrop etc into say the GVP memory or maybe even into virtual memory (I have been playing around with VMM for the last few hours :-) ) to try and save the good stuff for applications etc.
Does anyone know if this is possible or if there is a programme out there that will interupt allocmem() calls for selected apps and allocate memory in a certain memory range so you can preserve the good stuff for when it is needed ?
Logged
xeron
Hero Member
Join Date: Mar 2002
Posts: 2533
Re: Choosing the type of memory to load stuff into.
«
Reply #1 on:
June 03, 2003, 09:27:56 AM »
It would be a bit of a hack, but it shouldn't be too hard to write a program to modify exec's memory list and change the priorities. In fact, one of the system monitors (like scout) might be able to do that.
Logged
Playstation Network ID: xeron6
csirac_
Full Member
Join Date: Feb 2002
Posts: 154
Re: Choosing the type of memory to load stuff into.
«
Reply #2 on:
June 03, 2003, 04:22:03 PM »
You could write a program that retrieved how much ram the machine has free, malloc() a chunk that would fill the 16MB space, let WB load (and the background) then free the malloc'd space again...
- Paul
Logged
prowler
Full Member
Join Date: Sep 2002
Posts: 182
Re: Choosing the type of memory to load stuff into.
«
Reply #3 on:
June 04, 2003, 04:26:30 AM »
Hrmmm, that's food for thought and something I didn't think of.
A small programme to allocate the memory then after a certain amount of time free it up again.
I wonder how hard or how safe it would be to change memory priority on the fly as well.
I will need to ponder these things
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Amiga.org
»
Amiga computer related discussion
»
Amiga Software Issues and Discussion
»
Choosing the type of memory to load stuff into.
There was an error while thanking
Thanking...