From e5cbba264f8d58dbeb06214cae4639786fd34f80 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 22 Feb 2009 18:04:25 +0000 Subject: [PATCH] Move the irqcount variable from BSS into DATA, since it is used by the interrupt handler, which is installed *before* zerobss is called. git-svn-id: svn://svn.cc65.org/cc65/trunk@3950 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/plus4/crt0.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/plus4/crt0.s b/libsrc/plus4/crt0.s index 032ad7947..42833b87a 100644 --- a/libsrc/plus4/crt0.s +++ b/libsrc/plus4/crt0.s @@ -200,10 +200,10 @@ brk_jmp: jmp $0000 spsave: .res 1 +irqcount: .byte 0 + .segment "ZPSAVE" zpsave: .res zpspace -.bss -irqcount: .byte 0 -- 2.39.5