NOTE: This program currently assumes that the momentum lookup proms are being addressed with 3 bits selecting the page and 8 bits selecting the input. If it is going to be addressed with 2 bits selecting the page and 9 bits selecting the input, then code needs to be changed in the routine MOMENTUM_PROM_ADDRESS to get the address bit assignments correct, and the parameter declarations for PAGE_LENGTH in GEN_ALL_PROMS and GEN_ONE_PROM need to be changed from 256 to 512.