home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / m6809 / 572 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  2.5 KB

  1. Xref: sparky comp.sys.m6809:572 comp.sys.m68k:1541
  2. Newsgroups: comp.sys.m6809,comp.sys.m68k
  3. Path: sparky!uunet!nntp.telebit.com!eric
  4. From: eric@telebit.com (Eric Smith)
  5. Subject: Re: 68008 address demultiplers?.is it this simple?
  6. In-Reply-To: steveh@tasman.cc.utas.edu.au's message of Mon, 11 Jan 1993 01:29:08 GMT
  7. To: steveh@tasman.cc.utas.edu.au
  8. Message-ID: <ERIC.93Jan11160751@iceland.telebit.com>
  9. X-Disclaimer: Everything I write is false.
  10. Sender: news@telebit.com
  11. Nntp-Posting-Host: iceland
  12. Followups-To: comp.sys.m68k
  13. Organization: Telebit Corporation
  14. References: <steveh.726715748@tasman>
  15. Date: Tue, 12 Jan 1993 00:07:51 GMT
  16. Lines: 41
  17.  
  18. >>On Mon, 11 Jan 1993 01:29:08 GMT, steveh@tasman.cc.utas.edu.au (Steve Howell) said:
  19. > can i do the following with a mc68008?
  20. > 1) can i use the upper address lines thru say a 74ls138 (3-to-8) decoder
  21. > to create the enable signal for each pheripherial?.. or do i need some
  22. > complex PAL or something (like everone elses uses that ive seen!)
  23.  
  24. Yes, typically you would tie the /AS signal from the 68k to the enable input
  25. of the '138 in order to generate chip selects for various chips.
  26.  
  27. For memory, you would use the /DS and R/W signals from the 68k to generate the
  28. /WE and /OE signals for the memory.
  29.  
  30. > 2) the E timing signal on the 68000. is it on the 68008?
  31.  
  32. The 68008 has E and VPA, but not VMA.  The data sheet gives a circuit that may
  33. be used to externally generate VMA.
  34.  
  35. If you need VMA, you may be better off using the 68HC001, which is just like
  36. the 68HC000, but allows you to select 8-bit bus operation.  You may find that
  37. it is cheaper than the 68008 also.
  38.  
  39. > 3) what is the base address for RAM ($0000 is what a 6809 is at, but i hear
  40. >    its not this simple with 68k devices?.. is this right)
  41.  
  42. The 68k will fetch the reset vector and initial stack pointer from memory at
  43. $00000000 to $00000007.  You can put ROM there if you don't ever need to
  44. change the vectors (or you have a 68010 or newer).  Or you can use hardware
  45. to supply the vectors from ROM, but usually have RAM there.  This is typically
  46. done in one of two ways:  (1) use an ouput port bit to switch between ROM and
  47. RAM, with RESET selecting ROM, or (2) have the hardware automagically switch
  48. to RAM after the appropriate number of bus cycles after RESET.  In the latter
  49. case, you would have to map the ROM at a higher address as well, so that the
  50. RESET vector can point into it.
  51.  
  52. > 4) Can i put ROM anywhere i like in the address map? (as long as its big
  53. >    enough)
  54.  
  55. Yes, provided that the RESET vector gets read somehow.
  56.  
  57. Cheers,
  58. Eric
  59.