Search found 10 matches

by MiraLagatta
Mon Oct 31, 2022 5:01 am
Forum: Newbies
Topic: Question about 6502 datasheet Timing chart (page25)
Replies: 15
Views: 2151

Re: Question about 6502 datasheet Timing chart (page25)

Indeed, as the target speed is 1MHz, it's not fair to criticise that the design won't go at great speeds. It's not meant to, and the comment is just a temptation to scope creep.

Keep it simple, stick to your goals, and get it working. Plenty of possibilities for going further, after you have ...
by MiraLagatta
Sat Oct 29, 2022 11:18 pm
Forum: Newbies
Topic: Question about 6502 datasheet Timing chart (page25)
Replies: 15
Views: 2151

Re: Question about 6502 datasheet Timing chart (page25)

For the benefit of your readers, your glue logic would be easier to visualize in schematic form.

[s]Will do, once I get it drawn up.[/s]

BTW: if a picture is worth 1,000 words, is a video worth 60,000 words per second? :P

Here is my proposed address decoder:
My Address Decoder - BW.png

Also ...
by MiraLagatta
Sat Oct 29, 2022 4:00 pm
Forum: Newbies
Topic: Question about 6502 datasheet Timing chart (page25)
Replies: 15
Views: 2151

Re: Question about 6502 datasheet Timing chart (page25)

Reading FAT32 from SD cards is not out of the question even without an Arduino in between - if you're happy to borrow code, I shared a fairly compact implementation on github a few years ago, and have been using it pretty much unchanged since then, especially for large data files.
You can see it ...
by MiraLagatta
Sat Oct 29, 2022 7:52 am
Forum: Newbies
Topic: Question about 6502 datasheet Timing chart (page25)
Replies: 15
Views: 2151

Re: Question about 6502 datasheet Timing chart (page25)

This question arose mostly due to me second guessing what I thought I already knew. Its good to have confirmation that I was on the right track. Thanks to BDDinosaur and Garth Wilson, I have a much better understanding of what I'm looking at in the datasheets.

Now, I'm confident that I can crunch ...
by MiraLagatta
Fri Oct 28, 2022 9:51 pm
Forum: Newbies
Topic: Question about 6502 datasheet Timing chart (page25)
Replies: 15
Views: 2151

Re: Question about 6502 datasheet Timing chart (page25)

Thanks again BDDinosaur! Based on both responses, I believe I should refer to the 5V (14MHz max) column since that is the voltage I intend to use. This goes a long way towards furthering my understanding of the timing diagram and the animated timing diagram that was linked in Garth's primer.
by MiraLagatta
Fri Oct 28, 2022 9:13 pm
Forum: Newbies
Topic: Question about 6502 datasheet Timing chart (page25)
Replies: 15
Views: 2151

Question about 6502 datasheet Timing chart (page25)

I know the max frequency is voltage dependant, but are the timings given in nanoseconds dependant on the voltage or frequency? Or is it more complex and depends on which specific timing I'm referring to?

The chart on page 25 of WDC's 6502 datasheet only gives timings between 5V (14 MHz max) to 1 ...
by MiraLagatta
Fri Oct 28, 2022 2:13 am
Forum: Newbies
Topic: Newbie trying to understand Ben Eater's Address Decoder
Replies: 8
Views: 1567

Re: Newbie trying to understand Ben Eater's Address Decoder

And again—if you have a slow RAM that needs more time, you can select it before Φ2 rises, as long as you don't bring its WE\ line low until Φ2 rises. That will require deriving separate RD\ and WR\ signals though, for its OE\ and WE\ pins, respectively, like BDD shows here. If your RAM is fast ...
by MiraLagatta
Thu Oct 27, 2022 1:54 pm
Forum: Newbies
Topic: Newbie trying to understand Ben Eater's Address Decoder
Replies: 8
Views: 1567

Re: Newbie trying to understand Ben Eater's Address Decoder

To clarify, I'm using the RAM that came in Ben Eater's kit: HM62256BLP-70, which has a 70ns minimum access time according to its datasheet. The fastest I plan to run is 1MHz, which is the oscillator that also came in the kit. With 1000ns per cycle at 1 MHz, I don't think timing will be much of an ...
by MiraLagatta
Thu Oct 27, 2022 5:17 am
Forum: Newbies
Topic: Newbie trying to understand Ben Eater's Address Decoder
Replies: 8
Views: 1567

Re: Newbie trying to understand Ben Eater's Address Decoder

The legendary Garth Wilson himself answers my first post! I am so honored!

So, if I understand everything I've read, it is only after the clock goes high that everything - address, data, and R/W, are guaranteed to be valid coming from the 6502, and throwing the chip select low triggers either the ...
by MiraLagatta
Thu Oct 27, 2022 3:16 am
Forum: Newbies
Topic: Newbie trying to understand Ben Eater's Address Decoder
Replies: 8
Views: 1567

Newbie trying to understand Ben Eater's Address Decoder

While I won't dispute the fact that it works, why does Ben Eater (and so many others) gate the RAM chip enable on the clock signal rather than the R/W signal? Simplicity? Chip count? Something else?

With the gated chip enable, the only time the RAM would do anything is on the high end of the clock ...