Not sure what you're getting at here. Isn't it fairly simple to have the assembler put the LUT in a different bank? Ideally the one you're aiming the data bank register at, which would be in a LoROM region in order to retain access to MMIO and shadow RAM.psycopathicteen wrote:If a routine uses a small LUT, I would like to keep it in the same bank as the routine, and be able to access it with short absolute addressing.
I've used the "put the LUT in the code segment and just jump over it" trick before, but it's hardly good practice for a game...