The 74LS138 is a 3 line to 8 line decoder, so just using two of its inputs it could select one of the four ROMs, and its outputs are active low and suited to ROM selecting. It looks like there are pullups, so I would guess that the switches ground these, have a combination of 4 states to select which ROM is active. Possibly also, one the active low G2 inputs on that 74LS138 is connected to the enable pin on the ROM socket where it plugs onto the main pcb. So that, depending on the state of the switches, one of the four ROMs on this add on board gets selected when the ROM socket on the main board is selected. It looks like a useful add on.