Since I am re-writing the bankswitching for Carrot Kingdom™, I am curious if there is an optimal generic way in the past 30 years to use direct/indirect addressing of data from another bank within my display kernel. This would really help speed up development being more well organized and generic maintainable code.
I would like to keep all the graphics data in one bank (right now it is mirrored in each bank) like I do with the level data currently. The level data only needs to be used in one section of code so it is easy to have one hot spot to jump back and forth between the banks as it executes.
For the graphics data it needs to be more generic since it is used in many more places, and the best I can think is to have multiple hot spot points to jump back and forth but this seems irritating as it would add more to keep track of and more overhead.
Any suggestions for this? Thanks my friends! But time to get back to homework. =.=
For reference something like this.
Bank 1 Kernel:
lda GraphicCarrot,x or (GraphicCarrot),y ;Load from Bank Graphics
Bank 2 Graphics: