diff --git a/libsrc/cbm/Makefile b/libsrc/cbm/Makefile index 99bf8c1d4..a012eb3ee 100644 --- a/libsrc/cbm/Makefile +++ b/libsrc/cbm/Makefile @@ -71,6 +71,7 @@ S_OBJS = c_acptr.o \ gotoxy.o \ gotoy.o \ initcwd.o \ + loadaddr.o \ open.o \ oserrlist.o \ oserror.o \ diff --git a/libsrc/cbm/loadaddr.s b/libsrc/cbm/loadaddr.s new file mode 100644 index 000000000..0675dd67d --- /dev/null +++ b/libsrc/cbm/loadaddr.s @@ -0,0 +1,16 @@ +; +; Ullrich von Bassewitz, 2010-11-13 +; +; This module supplies the load address that is expected by Commodore +; machines in the first two bytes of an excutable disk file. +; + + + ; The following symbol is used by linker config to force the module + ; to get included into the output file + .export __LOADADDR__: absolute = 1 + +.segment "LOADADDR" + + .addr *+2 +