Hello, it really sounds incredible SDCC can do this automatically ! What if you call a function that itself call a function that will affect the bank switching ? Can SDCC detect such cases and do all the bank-switching automatically ? This really sounds incredible. If SDCC can do all this, it's one more reason to port it to the 6502 !
PS : What about interrupts that touches bank-switching ? Jonathan > > Three variables are defined, one in each address space. When accesing > these, sdcc will automatically insert the necessary calls to the > functions that set BBR (and will only insert the minimum number of such > calls necessary). > > Philipp > ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user