Article View: comp.sys.amiga.tech
Article #11220Re: memalign (can it be simulated?)
From: Michael Richardson
Date: Thu, 26 Jan 1989 19:13
Date: Thu, 26 Jan 1989 19:13
35 lines
1533 bytes
1533 bytes
> The normal AllocMem is fine, I DO know the block size, but it wont
>guarantee a 4K boundary. I have thought about AllocMem'ing 8K, taking the
>middle 4K chunk and returning the rest, but I am not sure if this will
>work. Does AllocMem keep any information of blocks that are in use? If
>so, can I do things in a revision-independant way? Or do I have to
>walk to memory lists myself? (Worse solution.)
The good news is that Dave Thomas sent me a message to tell me that
AllocMem does no tracking of in use blocks. AllocMem'ing 8K will work!
Wow! _Personal_ replies! 8-) :-) 8^)...
--
:!mcr!:
Michael Richardson Amiga
v--------+
UUCP: uunet!attcan!lsuc!nrcaer!julie!mcr | INTERNET mcr@doe.carleton.ca
Fido: Michael Richardson @ 1:163/109.10<--+ Alter @ 7:483/109.10
--
:!mcr!:
Michael Richardson Amiga
v--------+
UUCP: uunet!attcan!lsuc!nrcaer!julie!mcr | INTERNET mcr@doe.carleton.ca
Fido: Michael Richardson @ 1:163/109.10<--+ Alter @ 7:483/109.10
Technical Details
Message-ID:
<0196.AA0196@julie>Path:
arc1-ca.pugleaf.net!utzoo!dciem!nrcaer!julie!mcrShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!dciem!nrcaer!julie!mcr From: mcr@julie.UUCP (Michael Richardson) Newsgroups: comp.sys.amiga.tech Subject: Re: memalign (can it be simulated?) Message-ID: <0196.AA0196@julie> Date: 26 Jan 89 19:13:42 GMT Article-I.D.: julie.0196.AA0196 Reply-To: <0164.AA0164@julie> Distribution: world Organization: Sandleman Software Works' Debugging Department, Ottawa, ON Lines: 35 Summary: yes