I have some link errors:
Link Error : L1907: Fixup overflow in initialise, to avail_msg_list type 1, at offset 0x3B
Link Error : L1907: Fixup overflow in initialise, to msg_order_list type 1, at offset 0x3D
Link Error : L1907: Fixup overflow in initialise, to message_lengths type 1, at offset 0x3F
Link Error : Link failed
I defined the segments I wanted the variable arrays to go in
#pragma DATA_SEG FAR_RAM
unsigned char avail_msg_list[30]; //table of empty record slots
unsigned char msg_order_list[30]; //table of order of messages
unsigned char message_lengths[30]; //length in pages of each message
#pragma DATA_SEG DEFAULT
I need these to go into non zero page RAM to free up the zero page area (9S08QE8)
I get the failures here:
for(i = 0; i < 30; i++)
{
avail_msg_list[i] = i + 1; //set up table with 1 to 30
msg_order_list[i] = 0; //zero msg order list so no msgs played
message_lengths[i] = 0; //zero message lengths table entries...probably not necessary
}
Any suggestions as to what I am doing wrong?
Steve