I got this message "error C172: '?DT?main': segment too big (act=137, max=128)" when I build my program. I dont know what's the problem can you give me a solution?
By the way how can I put code into the code segment or variables into RAM?
Thanks a million!
But are you aware, that switching to the large memory model isn't the only solution to your problem. That it's possible to just move individual variables to XDATA instead of forcing the compiler to switch all defaults by changing the memory model.
You want large variables in XDATA. But you don't want small and often used variables to also be forced to XDATA.
Thanks for your suggestion! I'll try it later, and I bet that will work.
By the way, could you give me some advice about my second problem? Thanks!