home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.m68k
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!cc.gatech.edu!news
- From: byron@cc.gatech.edu (Byron A Jeff)
- Subject: Re: A few Questions on the 68000 and 68008...
- Message-ID: <1993Jan11.150601.25120@cc.gatech.edu>
- Sender: news@cc.gatech.edu
- Reply-To: byron@cc.gatech.edu (Byron A Jeff)
- Organization: Georgia Institute of Technology
- References: <steveh.726716248@tasman>
- Date: Mon, 11 Jan 1993 15:06:01 GMT
- Lines: 71
-
- In article <steveh.726716248@tasman> steveh@tasman.cc.utas.edu.au (Steve Howell) writes:
- >
- >
- >
- >
- >ok.. its been somewhat confirmed that a 6809 is not avail in a SMD package, so
- >i guess the time has come to go 68k at long last.
- >
- >just a few questions before i dive in...
- >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!)
- >
- >3) what is the base adress for RAM ($0000 is what a 6809 is at, but i hear its
- >not this simple with 68k devices?.. is this right?)
- >
- >4) Can i put ROM anywhere i like in the address map? (as long as its big enough)
-
- These three questions are related. The problem arises from the fact that the
- interrupt vector table (IVT) of these two chips cannot be relocated from its
- preset location of $0000. The IVT contains both the interrupt vectors for
- hardware and software interrupts and the reset vector and initial stack
- pointer.
-
- The problem is that typically you'd like the reset and stack vectors to be
- in EPROM, and the rest in RAM. Since the IVT can't be moved two basic choices
- are available:
-
- 1) Have the whole IVT in EPROM. In this case a decoder is fine, the RAM is
- not at $0000 because the EPROM is.
-
- 2) Boot from the EPROM then relocate it. This is where the PAL is handy
- because you can program the states into it. Basically a reset causes
- a state where the EPROM is mapped to $0000. After the reset vector and
- initial stack is read (first 8 reads for a 68008, first 4 for a 68000)
- the state changes mapping RAM to $0000 (so it now contains the IVT) and
- the EPROM somewhere else.
-
- Note that for every processor above the 68000 there is a Vector Base Register
- (VBR) defined which holds the base address of the IVT and can be relocated
- at any time.
-
- Now an aside: I've a opportunity over the years to build single board computers
- with almost every family member of the 68K family. Unless your project is
- extremely simple (or completely embedded) I'd suggest skipping the 68008, 68000
- and 68010 a starting directly with either the 68020 or 68340. While it is true
- that these are bigger and more complex chips they have some features that
- ultimately simplify their use. Both the VBR and the ability to dynamically
- size the bus (meaning you can have a mix of 8, 16, and 32 bit devices) is
- a definite win. Because they are in PGA packages they take up less space
- than a 68000 or 68008. And a 20 Mhz 68020 can be had for $40 from places like
- B.G. Micro (who advertises in ComputerCraft Magazine).
-
- Just my thoughts,
-
- Later,
-
- BAJ
-
- >2) the E timming signal on the 68000. is it on the 68008?
-
- I don't remember.
-
- BAJ
-
- ---
- Another random extraction from the mental bit stream of...
- Byron A. Jeff - PhD student operating in parallel!
- Georgia Tech, Atlanta GA 30332 Internet: byron@cc.gatech.edu
-