Max ERPOM access delay?

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
User avatar
atarimike
Posts: 38
Joined: Mon May 23, 2005 8:43 pm
Location: Davis, CA

Max ERPOM access delay?

Post by atarimike »

What is the maximum safe access delay for using EPROMs in carts?

If my math is correct, one NES clock cycle is about 560 ns. I'm not sure when the bus needs data after it asserts a chips CS line, but it seems like ~500 ns access time would be the slowest, or perhaps 500/2 for 250 ns. That's still pretty slow for EPROMs, right?
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

Well, for PRGROM about anything will do (to be exact you have to mesure the high time of M2, and that is the exact maximum acess time allowed), and you'd need to be more carefull with CHRROM, because the processor is 3 times slower (I guess 120ns or less EPROMs are okay, like SNES' Fastrom games). Again, the only real answer is to take an oscilloscope and measure the low time of CHR /RD.
Useless, lumbering half-wits don't scare us.
dvdmth
Posts: 354
Joined: Wed Mar 22, 2006 8:00 am

Post by dvdmth »

If I remember right, for NTSC, the PRG /CS line is active for 6 master cycles (at 21.477272 MHz), or about 279 ns. The CHR /RD line (during screen rendering) is active for four master cycles, or about 186 ns. PAL timing is slower, so if it works for NTSC it'll also work for PAL.
Post Reply