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

  1. Newsgroups: comp.sys.m68k
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!cc.gatech.edu!news
  3. From: byron@cc.gatech.edu (Byron A Jeff)
  4. Subject: Re: A few Questions on the 68000 and 68008...
  5. Message-ID: <1993Jan11.150601.25120@cc.gatech.edu>
  6. Sender: news@cc.gatech.edu
  7. Reply-To: byron@cc.gatech.edu (Byron A Jeff)
  8. Organization: Georgia Institute of Technology
  9. References: <steveh.726716248@tasman>
  10. Date: Mon, 11 Jan 1993 15:06:01 GMT
  11. Lines: 71
  12.  
  13. In article <steveh.726716248@tasman> steveh@tasman.cc.utas.edu.au (Steve Howell) writes:
  14. >
  15. >
  16. >
  17. >
  18. >ok.. its been somewhat confirmed that a 6809 is not avail in a SMD package, so
  19. >i guess the time has come to go 68k at long last.
  20. >
  21. >just a few questions before i dive in...
  22. >can i do the following with a mc68008?
  23. >
  24. >1) can i use the upper address lines thru say a 74ls138 (3-to-8) decoder
  25. >to create the enable signal for each pheripherial?.. or do i need some
  26. >complex PAL or something (like everone elses uses that ive seen!)
  27. >
  28. >3) what is the base adress for RAM ($0000 is what a 6809 is at, but i hear its
  29. >not this simple with 68k devices?.. is this right?)
  30. >
  31. >4) Can i put ROM anywhere i like in the address map? (as long as its big enough)
  32.  
  33. These three questions are related. The problem arises from the fact that the
  34. interrupt vector table (IVT) of these two chips cannot be relocated from its
  35. preset location of $0000. The IVT contains both the interrupt vectors for
  36. hardware and software interrupts and the reset vector and initial stack 
  37. pointer.
  38.  
  39. The problem is that typically you'd like the reset and stack vectors to be
  40. in EPROM, and the rest in RAM. Since the IVT can't be moved two basic choices
  41. are available:
  42.  
  43. 1) Have the whole IVT in EPROM. In this case a decoder is fine, the RAM is
  44.    not at $0000 because the EPROM is.
  45.  
  46. 2) Boot from the EPROM then relocate it. This is where the PAL is handy
  47.    because you can program the states into it. Basically a reset causes
  48.    a state where the EPROM is mapped to $0000. After the reset vector and
  49.    initial stack is read (first 8 reads for a 68008, first 4 for a 68000)
  50.    the state changes mapping RAM to $0000 (so it now contains the IVT) and
  51.    the EPROM somewhere else.
  52.  
  53. Note that for every processor above the 68000 there is a Vector Base Register
  54. (VBR) defined which holds the base address of the IVT and can be relocated
  55. at any time.
  56.  
  57. Now an aside: I've a opportunity over the years to build single board computers
  58. with almost every family member of the 68K family. Unless your project is
  59. extremely simple (or completely embedded) I'd suggest skipping the 68008, 68000
  60. and 68010 a starting directly with either the 68020 or 68340. While it is true
  61. that these are bigger and more complex chips they have some features that
  62. ultimately simplify their use. Both the VBR and the ability to dynamically
  63. size the bus (meaning you can have a mix of 8, 16, and 32 bit devices) is
  64. a definite win. Because they are in PGA packages they take up less space
  65. than a 68000 or 68008. And a 20 Mhz 68020 can be had for $40 from places like
  66. B.G. Micro (who advertises in ComputerCraft Magazine).
  67.  
  68. Just my thoughts,
  69.  
  70. Later,
  71.  
  72. BAJ
  73.  
  74. >2) the E timming signal on the 68000. is it on the 68008?
  75.  
  76. I don't remember.
  77.  
  78. BAJ
  79.  
  80. ---
  81. Another random extraction from the mental bit stream of...
  82. Byron A. Jeff - PhD student operating in parallel!
  83. Georgia Tech, Atlanta GA 30332   Internet: byron@cc.gatech.edu
  84.