Name: AllocAllRAM
Address: G0$5006

Function: Allocates all banks in expansion RAM.

Pass: Nothing.

Uses: Expansion RAM's BAM workspace at $5045-$5064. RAM BAM's checksum at $5024.

Return: .Y = $FF

Destroyed: .A & .Y

Synopsis: It allows a program to allocate all banks in expansion RAM for their own use. Then a new checksum is computed for the expansion RAM's BAM and is stored at $5024. Make sure that GetRAMBam has been called and that there is a Wheels' expansion RAM BAM already in place in Wheels' local RAM workspace.

See Also: AllocRAMBlock, FreeRAMBlock, RamBlkAlloc.

EOF