From 54393e1e1a96d044769fc258392dd677a2710bf9 Mon Sep 17 00:00:00 2001 From: Phillip Stevens Date: Fri, 17 Apr 2020 09:35:56 +1000 Subject: [PATCH] z180 - configure ISR relocation --- portable/SDCC/Z180/port.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/portable/SDCC/Z180/port.c b/portable/SDCC/Z180/port.c index 35e00fd3b..5806dd2db 100644 --- a/portable/SDCC/Z180/port.c +++ b/portable/SDCC/Z180/port.c @@ -56,6 +56,7 @@ extern volatile TCB_t * volatile pxCurrentTCB; */ #define configTICK_RATE_HZ (256) /* Timer configured */ +#define configISR_ORG ASMPC /* ISR relocation */ #define configISR_IVT 0xFFE6 /* PRT1 address */ #ifdef __SCCZ80 @@ -206,7 +207,7 @@ BaseType_t xPortStartScheduler( void ) __preserves_regs(a,b,c,d,e,iyh,iyl) __nak void vPortEndScheduler( void ) __preserves_regs(b,c,d,e,h,l,iyh,iyl) { - /* + /* * It is unlikely that the Z80 port will get stopped. * If required simply disable the tick interrupt here. */