Mickey Mouse logic, address decoding, power management, etc.
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: Mickey Mouse logic, address decoding, power management,
No worries. Critique leads to a better product. Unfortunately, in the DIY world as well as in the corporate world, the eternal battle between engineer and bean counter continues apace.
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: Mickey Mouse logic, address decoding, power management,
No True Scotsman wrote:
Mouser doesn't have the 74FCT521 in DIP, Jameco doesn't list it period, and it's insanely expensive coming from the UK on Ebay, at ~23 USD for one chip.them yet
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: Mickey Mouse logic for address decoding?
Now that I'm buying the WDC chip, this bit of advice comes into play:
Referring to Figure 8 from the Rockwell datasheet again, I would need to remove the inverter between the clock and the NAND gate to stop the clock on Φ2 low, correct? (I'm using a 1MHz oscillator in a can, not the clock shown in Figure 6.)
GARTHWILSON wrote:
All the 65c02's can be stopped indefinitely with Φ2 high, unlike the NMOS 6502's. WDC's can be stopped in either phase, and stopping with Φ2 low would probably be good for keeping things de-selected (or at least outputs disabled), thus taking less power when you want to get down to microamps.
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Mickey Mouse logic for address decoding?
GARTHWILSON wrote:
...WDC's can be stopped in either phase, and stopping with Φ2 low would probably be good for keeping things de-selected (or at least outputs disabled), thus taking less power when you want to get down to microamps.
The 65C02 stabilizes the address bus during Ø2 low—on the 65C816, for example, that happens right around 12ns after the clock’s fall. Hence the addressed device will see a chip select despite Ø2 having been halted in the low phase. In order to not generate a chip select with Ø2 continuously low, logic would have to be added to either include Ø2 in address qualification (definitely not recommended, and won’t work with 65xx I/O hardware), or to have the glue logic stay quiescent when the clock is intentionally halted low.
While either method would somewhat reduce power dissipation, I have to question whether it would be enough to offset the power that would be consumed by the logic that is monitoring the clock state.
x86? We ain't got no x86. We don't NEED no stinking x86!
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: Mickey Mouse logic for address decoding?
BigDumbDinosaur wrote:
While either method would somewhat reduce power dissipation, I have to question whether it would be enough to offset the power that would be consumed by the logic that is monitoring the clock state.
As an aside, I've been thinking we shouldn't refer to this as "stopping the clock," since the clock isn't actually being stopped, but rather blocked.
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: Mickey Mouse logic, address decoding, power management,
I forgot to mention that the Arduino will also dim the TFT backlight and has its own power management features. So it won't be running full blast all the time.
I placed my Mouser order for the parts needed to facilitate a successful build. I take advantage of quantity discounts on 74xx and the like to get the most from the shipping fees. My total order was $88.88 for the following items:
1 x W65C02 (replaces suspect R65C02)
1 x Arduino Nano ESP32 (replaces older DEVKIT V1)
10 x 74F521 comparator (replaces 74HC866)
10 x 74HCT138 IO decoder (vs. HC138, per recommendation)
10 x 74HCT139 RAM/ROM & RD/WR decoder (vs. HC139, per recommendation)
10 x 6N138 opto-isolator (for plug-in MIDI adapter)
10 x CD74HC193 counter (not related to this project)
10 x CD74HC165 shift register (not related to this project)
I'm buying the Saronix oscillator for my DUART from a US seller on Ebay who has quite the selection of unusual parts. The listings of sellers like these are like going to a swap meet. You never know what cool stuff you might find.
I placed my Mouser order for the parts needed to facilitate a successful build. I take advantage of quantity discounts on 74xx and the like to get the most from the shipping fees. My total order was $88.88 for the following items:
1 x W65C02 (replaces suspect R65C02)
1 x Arduino Nano ESP32 (replaces older DEVKIT V1)
10 x 74F521 comparator (replaces 74HC866)
10 x 74HCT138 IO decoder (vs. HC138, per recommendation)
10 x 74HCT139 RAM/ROM & RD/WR decoder (vs. HC139, per recommendation)
10 x 6N138 opto-isolator (for plug-in MIDI adapter)
10 x CD74HC193 counter (not related to this project)
10 x CD74HC165 shift register (not related to this project)
I'm buying the Saronix oscillator for my DUART from a US seller on Ebay who has quite the selection of unusual parts. The listings of sellers like these are like going to a swap meet. You never know what cool stuff you might find.
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Mickey Mouse logic, address decoding, power management,
No True Scotsman wrote:
10 x 74F521 comparator (replaces 74HC866)
x86? We ain't got no x86. We don't NEED no stinking x86!
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: Mickey Mouse logic, address decoding, power management,
It's either that or the HC866. I'm not buying any more comparators, nor making any more substitutions.
I was under the impression that when people throw recommendations for individual parts out there, they're taking into account the other parts it will have to play with.
I was under the impression that when people throw recommendations for individual parts out there, they're taking into account the other parts it will have to play with.
Re: Mickey Mouse logic, address decoding, power management,
The /P=Q output from the F521 looks like it's only connected to the HCT138 and HCT139. They're both TTL level inputs so it will be fine.
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Mickey Mouse logic, address decoding, power management,
No True Scotsman wrote:
It's either that or the HC866. I'm not buying any more comparators, nor making any more substitutions.
Quote:
I was under the impression that when people throw recommendations for individual parts out there, they're taking into account the other parts it will have to play with.
Sometimes recommendations don’t take into account the subtle differences between logic families or a particular logic family’s characteristic behavior in certain situations. For example, I could recommend, “use a 74AC... something or other” in your unit. I may be presuming you know about the aggressive outputs of 74AC devices and their possibly deleterious effect on overall circuit behavior. You, in taking my recommendation, should do your due diligence to determine if that aggressive behavior will be a problem in your design.
AndrewP wrote:
The /P=Q output from the F521 looks like it's only connected to the HCT138 and HCT139. They're both TTL level inputs so it will be fine.
As I siggested above, the logic should be re-evaluated to see if the identity comparator can be designed out.
x86? We ain't got no x86. We don't NEED no stinking x86!
-
No True Scotsman
- Posts: 127
- Joined: 22 Mar 2023
Re: Mickey Mouse logic, address decoding, power management,
Whether the comparator can be factored out or not, I'm done buying parts. It would be more cost-effective to buy a kit at this point. It's not as though I need to "learn how computers work" or anything like that. I maintained a transistor computer in the Navy. Troubleshooting faults at the transistor level was my job. I poked programs into the registers with my fingers, three bits at a time. I have a pretty good idea of what's gong on under the hood.
I really just want something to write on that doesn't get on my nerves.
I really just want something to write on that doesn't get on my nerves.