home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2496 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.8 KB  |  43 lines

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