Skip to main content
This topic has been closed for replies.

2 replies

stefanlukas9
Associate
Posted on October 31, 2005 at 12:55

in order to hold up the compatibility to our old bootloader we need to fix the adress of the following structure to 0xbb (UZPAGE). And the linker should reserve this adress only for THIS single structure!

@tiny struct

{ unsigned char EnableIAP:1;

unsigned char IAPBusy:1;

unsigned char ChangeBaudrate:1;

unsigned char KeyboardOff:1;

} ucIapStatus;

is this possible?

luca239955_st
Associate II
Posted on November 02, 2005 at 05:34

struct

{

unsigned char EnableIAP:1;

unsigned char IAPBusy:1;

unsigned char ChangeBaudrate:1;

unsigned char KeyboardOff:1;

} ucIapStatus @0xbb;

should do what you ask.

Regards,

Luca (Cosmic)