1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-24 14:17:23 +00:00

Initialize _curunit from the zeropage value DEVNUM (aka First Address) in a constructor with a very high priority to be called before DEVNUM gets overwritten by other constructors.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4588 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2010-02-14 23:12:54 +00:00
parent d4592d1a7c
commit d1aad57b98
21 changed files with 109 additions and 7 deletions
+1
View File
@@ -49,6 +49,7 @@ OBJS = _scrsize.o \
conio.o \
cputc.o \
crt0.o \
devnum.o \
get_tv.o \
joy_stddrv.o \
kacptr.o \
+7
View File
@@ -0,0 +1,7 @@
;
; Oliver Schmidt, 2010-02-14
;
.include "plus4.inc"
.exportzp devnum := DEVNUM