my problem is, i've now added a 74LS373N octal latch which i am attempting to map so that it latches the data writes to any address under $8000. i've got code on the EEPROM that does an endless loop of:
LDA #$AA
STA $0000
so that it is always writing 10101010. i have the data bus wired to the latch, and 8 LEDs on it's output but all it seems to do is light up the patterns based on what being read from the ROM.
i must not be wiring this up right. can anybody help me out with how the LS373 should be connected to pull this off?
should i be inverting both the 6502 R/W and A15 lines, ANDing the two inversions together, invert the output of that AND, and send that inversion to the CLK pin on the LS373?
thanks!