From: uz Date: Sun, 22 Feb 2009 18:04:25 +0000 (+0000) Subject: Move the irqcount variable from BSS into DATA, since it is used by the X-Git-Tag: V2.13.0rc1~305 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e5cbba264f8d58dbeb06214cae4639786fd34f80;p=cc65 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 --- 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