\r
; Tick ISR Prototype\r
;------------------------------------------------------------------------------\r
- PUBWEAK `??MD_INTTM0EQ0??INTVEC 640`\r
+ PUBWEAK `??MD_INTTM0EQ0??INTVEC 544`\r
PUBLIC MD_INTTM0EQ0\r
\r
MD_INTTM0EQ0 SYMBOL "MD_INTTM0EQ0"\r
-`??MD_INTTM0EQ0??INTVEC 640` SYMBOL "??INTVEC 640", MD_INTTM0EQ0\r
+`??MD_INTTM0EQ0??INTVEC 544` SYMBOL "??INTVEC 544", MD_INTTM0EQ0\r
\r
;------------------------------------------------------------------------------\r
; portSAVE_CONTEXT MACRO\r
\r
;------------------------------------------------------------------------------\r
COMMON INTVEC:CODE:ROOT(2)\r
- ORG 640\r
-`??MD_INTTM0EQ0??INTVEC 640`:\r
+ ORG 544\r
+`??MD_INTTM0EQ0??INTVEC 544`:\r
JR MD_INTTM0EQ0\r
\r
RSEG NEAR_ID:CONST:SORT:NOROOT(2)\r
DB CG_SECURITY9\r
\r
\r
+; set microcontroller Option bytes\r
+\r
+ COMMON INTVEC:CODE:ROOT(2)\r
+ ORG 122\r
+`OPTBYTES`:\r
+ DB 0xFD\r
+ DB 0xFF\r
+ DB 0xFF\r
+ DB 0xFF\r
+ DB 0xFF\r
+ DB 0xFF\r
+\r
+#if configOCD_USAGE == 1\r
+\r
+ COMMON INTVEC:CODE:ROOT(4)\r
+ ORG 0x230\r
+ PUBLIC ROM_INT2\r
+ROM_INT2:\r
+ DB 0xff, 0xff, 0xff, 0xff\r
+ DB 0xff, 0xff, 0xff, 0xff\r
+ DB 0xff, 0xff, 0xff, 0xff\r
+ DB 0xff, 0xff, 0xff, 0xff\r
+\r
+\r
+ COMMON INTVEC:CODE:ROOT(4)\r
+ ORG 0x60\r
+ PUBLIC ROM_INT\r
+ROM_INT:\r
+ DB 0xff, 0xff, 0xff, 0xff\r
+ DB 0xff, 0xff, 0xff, 0xff\r
+ DB 0xff, 0xff, 0xff, 0xff\r
+ DB 0xff, 0xff, 0xff, 0xff\r
+\r
+#endif /* configOCD_USAGE */\r
+\r
END\r
\r