A place that you can discuss reproduction of classic titles or "licensed-for-reproduction" homebrew for personal use.
Moderators: B00daW, Moderators
Forum rules
1.
NO BLATANT PIRACY. This includes reproducing homebrew less than 10 years old, with the exception of
free software.
2. No advertising your reproductions, with the exception of free software.
3. Be nice. See
RFC 1855 if you aren't sure what this means.
-
lidnariq
- Posts: 10241
- Joined: Sun Apr 13, 2008 11:12 am
- Location: Seattle
Post
by lidnariq » Mon Dec 21, 2020 3:10 pm
mightydidz wrote: ↑Mon Dec 21, 2020 2:59 pm
According to 74'138 datasheet it would be Y0 output?
Yes.
The eight latches of the ’HCT373 devices are transparent D-type latches. While the latch-enable (LE) input is high, the Q outputs follow the data (D) inputs. When LE is taken low, the Q outputs are latched at the levels that were set up at the D inputs.
Oh, hm. You won't be able to use most transparent latches after all, because the 74'138 emits
low when the correct inputs are selected, but the 74'373 holds the current value when its +LATCH input is low.
I'm still uncertain about the other latch inputs/outputs. How do I use them for my application?
Don't need to.
It would let you make a 4MB cart.
-
mightydidz
- Posts: 74
- Joined: Wed Jan 24, 2018 12:04 pm
Post
by mightydidz » Mon Dec 21, 2020 3:47 pm
Should I use a different latch instead?
74HCT374 is an octal positive-edge triggered D-type flip-flop with 3‑state outputs. The device features a clock (CP) and output enable (OE) inputs. The flip‑flops will store the state of their individual D-inputs that meet the set-up and hold time requirements on the LOW-to-HIGH clock (CP) transition. A HIGH on OE causes the outputs to assume a high-impedance OFF-state. Operation of the OE input does not affect the state of the flip-flops. Inputs also include clamp diodes, this enables the use of current limiting resistors to interface inputs to voltages in excess of VCC.
Using Y0 on CP?
What exactly do I connect to Dy and Qy?
Where do PRG-A18 comes into play?
-
lidnariq
- Posts: 10241
- Joined: Sun Apr 13, 2008 11:12 am
- Location: Seattle
Post
by lidnariq » Mon Dec 21, 2020 4:06 pm
mightydidz wrote: ↑Mon Dec 21, 2020 3:47 pm
[...] 74HCT374 [...]
'374 would be fine, but overkill. That has 8 bits of latch, you only need 1.
Using Y0 on CP?
Yes, because /Y0 will go high when the inputs are no longer correct (e.g. /ROMSEL rising), which is the same time that the various discrete logic mappers capture the data bus.
What exactly do I connect to Dy and Qy? Where do PRG-A18 comes into play?
Think of it as identical to an normal UOROM board. You're just converting a plain UOROM board into one that can play a 512KB game.
-
lidnariq
- Posts: 10241
- Joined: Sun Apr 13, 2008 11:12 am
- Location: Seattle
Post
by lidnariq » Mon Dec 21, 2020 5:04 pm
mightydidz wrote: ↑Mon Dec 21, 2020 4:53 pm
Isn't a UOROM using quad D latch and quad OR gate to bank PRG up to 256KiB?
Yes? How do you think it works?
Do I also need to have one bank always visible?
Yes, that's why I compared it to UNROM.
Would something like SN74LVC1G374 would be more reasonable? Or maybe SN74LVC1G79. Do I need an /OE?
Just based on cost and ease of assembly. Both of those are fine. You don't need an /OE pin, although it
might let you replace the extra OR gate with a resistor pullup.
-
mightydidz
- Posts: 74
- Joined: Wed Jan 24, 2018 12:04 pm
Post
by mightydidz » Mon Dec 21, 2020 5:16 pm
Here is my schematic.
Is it ok?
-
Attachments
-

-
lidnariq
- Posts: 10241
- Joined: Sun Apr 13, 2008 11:12 am
- Location: Seattle
Post
by lidnariq » Mon Dec 21, 2020 5:27 pm
You forgot to include R/W.
-
mightydidz
- Posts: 74
- Joined: Wed Jan 24, 2018 12:04 pm
Post
by mightydidz » Mon Dec 21, 2020 5:55 pm
oups, your right, i forgot to include it into my schematic.
Lets say I want to remove the or gate and use /oe instead with a pull-up.
You said it "might" work. is there a risk of not working right or glitching?
Here is how i want to try it
-
Attachments
-

-
lidnariq
- Posts: 10241
- Joined: Sun Apr 13, 2008 11:12 am
- Location: Seattle
Post
by lidnariq » Mon Dec 21, 2020 6:08 pm
Pullup needs to be on PRG A18, not on CPU A14. Otherwise I think that looks right.
Krzysiobal has used some carts using this "pullup resistor + output enable", and it's present in
this Korean karaoke game.
-
mightydidz
- Posts: 74
- Joined: Wed Jan 24, 2018 12:04 pm
Post
by mightydidz » Mon Dec 21, 2020 6:33 pm
thanks, I'll give it a try soon.