Problem with banked memory model

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with banked memory model

Jump to solution
988 Views
MarcosAquino_Ch
Contributor I

Hi !

 

I'm using AC128 with codewarrior 6.2.  The codewarrior show de message : L1102: Out of allocation space in segment ROM at address 0x7FE5. I don't undestrand how to use banked model now....

Somebody help me?

(Sorry for my bad english, i'm a punk and don't go to school...)

Labels (1)
Tags (1)
0 Kudos
1 Solution
586 Views
kef
Specialist I

AC128 default prm file places nonbanked routines and constants only to segment ROM (20f0-7fff). It looks like you are out of this nonbanked space. To use ROM1 (c000-ff9b) for nonbanked routines and data you should:

 

1) Find INTO ROM; in your prm file and change it to INTO ROM, ROM1;

 

2) You need to add -OnB=b compiler switch to compiler command line. Or go to compiler setting and enable Disable Branch Optimizer = Disable Branch JSR to BSR optimization.  

 

View solution in original post

0 Kudos
2 Replies
587 Views
kef
Specialist I

AC128 default prm file places nonbanked routines and constants only to segment ROM (20f0-7fff). It looks like you are out of this nonbanked space. To use ROM1 (c000-ff9b) for nonbanked routines and data you should:

 

1) Find INTO ROM; in your prm file and change it to INTO ROM, ROM1;

 

2) You need to add -OnB=b compiler switch to compiler command line. Or go to compiler setting and enable Disable Branch Optimizer = Disable Branch JSR to BSR optimization.  

 

0 Kudos
586 Views
MarcosAquino_Ch
Contributor I

tks man!!

0 Kudos