home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: news.shlink.de!wiloyee!chaos
- From: chaos@wiloyee.shnet.org
- Subject: Re: Amiga Memory Map Needed!!!
- X-Newsreader: TIN [version 1.2 PL2]
- Organization: Studentenhochhaus Wedel Deutschland
- Message-ID: <DM1LC2.MBK@wiloyee.shnet.org>
- References: <310495eb@gauss.demon.co.uk> <1109oaw60.alamito@marketgraph.xs4all.nl> <4eisdt$dkn@sunsystem5.informatik.tu-muenchen.de>
- Date: Wed, 31 Jan 1996 11:02:26 GMT
-
- Juergen "Rally" Fischer (fischerj@informatik.tu-muenchen.de) wrote:
-
- : About Execbase:
-
- : Am I right it doesn't change once the computer has booted ?
-
- 100%, even for future amigas and amiga emulations on your "home-cray"
-
- : The question is if I catch it once at programstart, does it make a difference.
-
- this would be a very good idea, because $4 is usually chipmemory, and you
- woun't like so many useless chipmem accesses. many c-compilers do this.
-
- : Same question goes for other libs:
-
- : if I open a lib each time I call a function of it (for example gfx.library),
- : will this puzzle up something, i.e is my task to do all lib calls
- : with one lib-handle ?
-
- no lib will move once a single task has opened it. if you close it again, it
- might get flushed out of memory and reloaded when opened next, possibly at
- another adress. OpenLibrary() "locks" the library, CloseLibrary() releases
- this "lock". Execbase is allways open and allways locked and will never
- change. if i remember correct, the exec library is even outside the memory
- managment, because it has to be allocated before you can call AllocMem. The
- ExecBase contains some structures needed for AllocMem(), typical egg and hen
- problem.
-
- : ------------------------------------------------------------------------
- : fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) =:)
-
- Dierk "Chaos" ohlerich
-