1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00

New module that contains the load address expected by the Commodore machines

in the first two bytes of a file loaded with LOAD.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4855 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2010-11-13 16:56:42 +00:00
parent 4786caf496
commit ae922930a1
2 changed files with 17 additions and 0 deletions

View File

@ -71,6 +71,7 @@ S_OBJS = c_acptr.o \
gotoxy.o \
gotoy.o \
initcwd.o \
loadaddr.o \
open.o \
oserrlist.o \
oserror.o \

16
libsrc/cbm/loadaddr.s Normal file
View File

@ -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