home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.m68k
- Path: sparky!uunet!europa.asd.contel.com!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cpsc.ucalgary.ca!xenlink!newt.cuc.ab.ca!deraadt
- From: deraadt@newt.cuc.ab.ca (Theo de Raadt)
- Subject: Re: A few Questions on the 68000 and 68008...
- In-Reply-To: byron@cc.gatech.edu's message of Mon, 11 Jan 1993 15: 06:01 GMT
- Message-ID: <DERAADT.93Jan11120547@newt.newt.cuc.ab.ca>
- Sender: news@newt.cuc.ab.ca
- Nntp-Posting-Host: newt.fsa.ca
- Organization: little lizard city
- References: <steveh.726716248@tasman> <1993Jan11.150601.25120@cc.gatech.edu>
- Date: Mon, 11 Jan 1993 19:05:47 GMT
- Lines: 35
-
- In article <1993Jan11.150601.25120@cc.gatech.edu> byron@cc.gatech.edu (Byron A Jeff) writes:
- 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.
-
- On a 68008, since it takes 8 cycles to fetch the start vectors, this is
- trivally implimented with a single 8 bit shift register. Set it up to parallel
- load '1' on all 8 input lines. Hook up the reset line to force a parallel load.
- Shift in a '0' on the serial input. Clock it with the 68008's AS* line. The
- output of this shift register will be '1' for 8 bus cycles after reset, then
- it will go low.
-
- Generate two memory selects: one for ram, one for rom. XOR each of them
- with the output line from the above shift register. Voila, you now have
- chip selects that are swapped for the first 8 cycles of memory access.
-
- The 68008, taking 8 bus cycles, is the easiest. With the the 68000 you
- can do it by hooking up the low 4 parallel-load lines to '1' and the other
- 4 to '0'. On the 68020/30 since it's only 2 cycles, you can hack with
- a 7474. They could have made it a bit easier.... put a BOOT* line on the
- processor..
- <tdr.
- --
-
- This space not left unintentionally unblank. deraadt@newt.cuc.ab.ca
-