Whats the benefit of using near calls + linker trampolines .v. all-far-calls?
First of all let’s be clear on what is the difference between near & far calls. As shown in this c64, c64Plus Compiler Overview (slides 27, 28), near-code with linker trampolines (where necessary) is the recommended model. spraa46 Chapter 6 gives a detailed explanation of near .v. far – we repeat the key points here. NOTE – this FAQ focuses on code. Information on near .v. far data can be found in the C6000 memory models topic. Let’s see what near .v.