home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / m68k / 1538 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.9 KB  |  35 lines

  1. Newsgroups: comp.sys.m68k
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!udel!rochester!cantaloupe.srv.cs.cmu.edu!tgl
  3. From: tgl+@cs.cmu.edu (Tom Lane)
  4. Subject: Re: A few Questions on the 68000 and 68008...
  5. Message-ID: <C0pBJH.42r.2@cs.cmu.edu>
  6. Sender: news@cs.cmu.edu (Usenet News System)
  7. Nntp-Posting-Host: g.gp.cs.cmu.edu
  8. Organization: School of Computer Science, Carnegie Mellon
  9. References:  <steveh.726716248@tasman> <1993Jan11.162236.8907@phx.mcd.mot.com>
  10. Date: Mon, 11 Jan 1993 18:04:27 GMT
  11. Lines: 22
  12.  
  13. gcall@systemname.uucp (Glen Call) writes:
  14. > You can put RAM just about anywhere.  Since the 68k processors vector fetch from
  15. > $000000 upon power-up or reset, you will want either ROM or some kind of
  16. > pre-initialized memory (spells ROM to me :-) at 0 following power-up.  Many 
  17. > systems just shadow the ROM to $000000 for the first 4 word reads.  Why not put
  18. > ROM at $000000?  Reason: the 680000 and 68008 have the vector table fixed at
  19. > $000000-$0003FF.  Many people prefer to have their vector table RAM resident.
  20.  
  21. HP's 68000-based machines use a different method.  The ROM always lives at
  22. locations 0 and up; the reset vector at location 0 points to startup code,
  23. also in the ROM.  RAM in these systems starts at location $FFFFFFFF and
  24. grows down for however much RAM you have.  The interrupt vectors in (ROM)
  25. locations 8,12,etc point to RAM locations $FFFFFFFA, $FFFFFFF4, etc, which
  26. are initialized to contain JMP-abs-long instructions (6 bytes each) to the
  27. real interrupt handlers.  This gives you changeable interrupt vectors
  28. without any extra hardware to diddle the ROM into and out of location 0.
  29. It does cost you an extra JMP instruction per interrupt service, though.
  30.  
  31. If you are using 68010 or newer, a much better solution is to change the VBR
  32. (interrupt vector base register) to point to RAM after powerup.
  33.  
  34.                 regards, tom lane
  35.