[comp.sys.amiga.tech] Fast/Chip memory

zmact58@tsun11.doc.ic.ac.uk.doc.ic.ac.uk (S J Lacey) (11/10/89)

My problem basically revolves around asking AllocMem() for fast memory.
What ever I ask for (Fast/Chip/Public), I seem to get Chip memory. I
should point out that this is on an Amiga 1000 with 1Meg of ram. Ta.

Steve J Lacey.

---- Whatever I say is to be believed at your own risk...

 sjl@cc.ic.ac.uk                  Department Of Computing
 zmact58@doc.ic.ac.uk             Imperial College
                                  180, Queen's Gate
                                  South Kensington
                                  London SW7

cmcmanis%pepper@Sun.COM (Chuck McManis) (11/14/89)

In article <1353@gould.doc.ic.ac.uk> (S J Lacey) writes:
>My problem basically revolves around asking AllocMem() for fast memory.
>What ever I ask for (Fast/Chip/Public), I seem to get Chip memory. I
>should point out that this is on an Amiga 1000 with 1Meg of ram. Ta.

It's possible you don't have enough Fast memory for the allocation so
the routines give you Chip memory. Please never, ever, ask for just 
"Fast" memory because on many machines (in particular 1M 2000's with
1M agnui) there won't be any Fast memory and your program will fail
even though there is enough memory to answer the request. If you think
things are behaving strangely, run the Frags program from the Lattice
distribution disk, or one of the early Fish disks to show you what your
memory map looks like. 


--Chuck McManis
uucp: {anywhere}!sun!cmcmanis   BIX: cmcmanis  ARPAnet: cmcmanis@Eng.Sun.COM
These opinions are my own and no one elses, but you knew that didn't you.
"If it didn't have bones in it, it wouldn't be crunchy now would it?!"