Your sketch doesn't show any pullup resistors, so when the switch is at position '1', EPROM 2 CS line will be floating, and randomly select/deselect.
So you need two resistors (say 4K7) connected from each EPROM CE line to +5V.
silverfox0786 said:
ok great now im starting to understand more Thanks
will this work