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