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

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news.dcs.warwick.ac.uk!not-for-mail
  3. From: J.Sole@dcs.warwick.ac.uk (Jonathon Sole)
  4. Subject: Re: Amiga Memory Map Needed!!!
  5. X-Nntp-Posting-Host: stone
  6. Message-ID: <1996Jan21.224748.509@dcs.warwick.ac.uk>
  7. Sender: news@dcs.warwick.ac.uk (Network News)
  8. Organization: Department of Computer Science, Warwick University, England
  9. References: <13213474@sourcery.han.de> <4dl0pe$1jr0@serra.unipi.it> <ckzgrKK00iUyQ3QgxT@andrew.cmu.edu>
  10. Date: Sun, 21 Jan 1996 22:47:48 GMT
  11.  
  12. In article <ckzgrKK00iUyQ3QgxT@andrew.cmu.edu> Berend Ozceri <bo24+@andrew.cmu.edu> writes:
  13. >Excerpts from netnews.comp.sys.amiga.programmer: 18-Jan-96 Re: Amiga
  14. >Memory Map Needed!!! by A. Naimoli@cli.di.unipi. 
  15. >> : The only path you can travel that doesn't make you stop because of these
  16. >> : obstacles is in following the operating system.
  17. >>  
  18. >>  Ok, so location $4 points to EXEC, but:
  19. >>  
  20. >>         1) I wonder: why not 0?
  21. >
  22. >Most probably because location 0 is used during cold boots (i.e. the PC
  23. >of the 680x0 is set to 0) and code starts executing from that address.
  24. >There is some overlay magic done to shadow Kickstart ROM to lower memory
  25. >during the early stages of the boot process.
  26.  
  27. The pointer to Exec is at location 4 instead of 0 is probably so that
  28. programs with bugs that use NULL pointers don`t trash the pointer to
  29. Exec.  I`ve always wondered why the pointer to Exec wasn`t placed higher
  30. up in memory, ie after the exception vectors, less likely to be trashed
  31. there.
  32.  
  33. Jon Sole
  34. University of Warwick
  35.  
  36.  
  37.  
  38.