Skip to main content
Visitor II
November 2, 2005
Question

Ram Addressing

  • November 2, 2005
  • 2 replies
  • 722 views
Posted on November 02, 2005 at 05:34

Ram Addressing

    This topic has been closed for replies.

    2 replies

    Visitor II
    October 31, 2005
    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?

    Visitor II
    November 2, 2005
    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)