TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Frank Adam
from: Michael Stapleton
date: 1996-08-12 08:19:00
subject: Re: Memory blocks snuffed ?

-=> On 09 Jul 96  10:14:10 you wrote to me <=-

Hi Frank,
Sorry about the delay, I've been having BBS troubles.

MS> You can't make many assumptions about how an OS handles memory.

FA> Yeah, oh well it was a good idea while it lasted.  Perhaps 4-5
FA> pages of #ifs would do it.:)

It's still a good idea, and I don't think it'd take too many pages
of #ifs to cover a large number of compilers & OSs.  Still, it would
be a nasty job for one person; I expect that it would be simpler if
each section was written by someone who is expert in that
compiler/OS.

MS> I'd be surprised if your routines worked on my Amiga.  :)

FA> True, it didn't work on my Casio FX-100 either. run> :-)

:) Or my Tandy EC-4020 programmable calculator.  :)

Actually, (if memory serves me correctly) your routines wouldn't
require much modification to work properly on the Amiga.  OTOH, I
only use the malloc() family routines when I'm writing portable
code, since I normally use the AmigaOS AllocMem() function for
Amiga-specific programs.  FWIW, we also have a cute function called
AllocEntry(), which allocates several blocks at once, using a linked
list.

Michael Stapleton of Graphic Bits.

 * AmyBW v2.10 *
... This tagline is encrypted
--- AdeptXBBS v1.07f (Registered)
* Origin: Mach One BBS (3:713/615)
SEEN-BY: 50/99 620/243 623/630 711/401 409 410 413 430 808 809 932 934
SEEN-BY: 712/515 713/111 317 601 611 615 618 700 826 888 914 714/906 800/1
@PATH: 713/888 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.