cbmeeks is only going for 2MHz max here though, so there's not really any need to select the EPROM before phase 2 and get all the access time that becomes available that way unless the EPROMs are antiques of 250ns or slower.
I think I finally have my decoding down. Suggestions needed.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: I think I finally have my decoding down. Suggestions nee
Avoiding bus contention if you were to accidentally write to an EPROM address, with a minimum of parts, seems to be the main focus on this one. I would say however that such writes are not really a concern. The program-bug conditions that would make them happen will be rare and probably be encountered only during program development and then fixed, and be at too low of a duty cycle to cause any hardware damage, and the bug would probably make your program crash anyway even with the hardware protection against writing to EPROM.
cbmeeks is only going for 2MHz max here though, so there's not really any need to select the EPROM before phase 2 and get all the access time that becomes available that way unless the EPROMs are antiques of 250ns or slower.
EPROMs will produce the first roadblock as you turn the clock rate up though.
cbmeeks is only going for 2MHz max here though, so there's not really any need to select the EPROM before phase 2 and get all the access time that becomes available that way unless the EPROMs are antiques of 250ns or slower.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: I think I finally have my decoding down. Suggestions nee
BigDumbDinosaur wrote:
Also, the simultaneous assertion of /CE and /OE on the EPROM will have some negative effects on performance.
It's best if /CE is asserted as soon as the address bus goes valid with an EPROM address, even though Ø2 is still low. /OE should only be asserted when Ø2 goes high. Controlling both inputs from a single source, as shown in the above circuit, narrows the window of opportunity to read the EPROM before the end of the bus cycle. This because it takes time for the EPROM to come out of the high-Z state and connect to the bus, which can only occur when both /CE and /OE have been asserted. Asserting /CE is what "wakes up" the device from low power mode and typically takes the most time. Hence the suggestion that /CE be asserted as soon as a valid address exists. Reading the device should be gated only with /OE.
It's best if /CE is asserted as soon as the address bus goes valid with an EPROM address, even though Ø2 is still low. /OE should only be asserted when Ø2 goes high. Controlling both inputs from a single source, as shown in the above circuit, narrows the window of opportunity to read the EPROM before the end of the bus cycle. This because it takes time for the EPROM to come out of the high-Z state and connect to the bus, which can only occur when both /CE and /OE have been asserted. Asserting /CE is what "wakes up" the device from low power mode and typically takes the most time. Hence the suggestion that /CE be asserted as soon as a valid address exists. Reading the device should be gated only with /OE.
TIA... Mike
Last edited by Michael on Thu Jul 08, 2021 5:21 am, edited 2 times in total.
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: I think I finally have my decoding down. Suggestions nee
Michael wrote:
Does anyone know by how much PHI1 leads PHI2, please? I'm not sure I understand the timing diagrams in the Datasheets.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: I think I finally have my decoding down. Suggestions nee
Michael wrote:
Does anyone know by how much PHI1 leads PHI2, please? I'm not sure I understand the timing diagrams in the Datasheets.
Note that the 65C816 does not have clock outputs—only a clock input exists. If you are designing something in which you eventually may want to install the 65C816 and need a two-phase clock you'll have to roll your own. The below circuit uses a TTL can oscillator and one section of a 74ABT74 flip-flop to produce a two-phase clock with a very sharp rise and fall and no lead or lag between outputs.
x86? We ain't got no x86. We don't NEED no stinking x86!