// File: 17c42_g.lkr
// Generic linker script for the PIC17C42 processor
//// Begin: Added in gputils
//=========================================================================
//
//      Gputils Specific Revision History
//
//=========================================================================
//
//      03 Aug 2014  Changed the gprs.
//
//// End: Added in gputils

LIBPATH  .

CODEPAGE   NAME=page      START=0x0      END=0x7FF
CODEPAGE   NAME=config    START=0xFE00   END=0xFE0F   PROTECTED

SHAREBANK  NAME=sfrnobnk  START=0x0      END=0xF      PROTECTED
SHAREBANK  NAME=sfrnobnk  START=0x100    END=0x10F    PROTECTED
SHAREBANK  NAME=sfrnobnk  START=0x200    END=0x20F    PROTECTED
SHAREBANK  NAME=sfrnobnk  START=0x300    END=0x30F    PROTECTED

DATABANK   NAME=sfr0      START=0x10     END=0x17     PROTECTED
DATABANK   NAME=sfr1      START=0x110    END=0x117    PROTECTED
DATABANK   NAME=sfr2      START=0x210    END=0x217    PROTECTED
DATABANK   NAME=sfr3      START=0x310    END=0x317    PROTECTED

SHAREBANK  NAME=gprs      START=0x18     END=0xFF
//// Begin: Changed in gputils
////SHAREBANK  NAME=gprs      START=0x118    END=0x1FF
////SHAREBANK  NAME=gprs      START=0x218    END=0x2FF
////SHAREBANK  NAME=gprs      START=0x318    END=0x3FF
SHAREBANK  NAME=gprs      START=0x118    END=0x1FF    PROTECTED
SHAREBANK  NAME=gprs      START=0x218    END=0x2FF    PROTECTED
SHAREBANK  NAME=gprs      START=0x318    END=0x3FF    PROTECTED
//// End: Changed in gputils

