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:
parent
4786caf496
commit
ae922930a1
@ -71,6 +71,7 @@ S_OBJS = c_acptr.o \
|
|||||||
gotoxy.o \
|
gotoxy.o \
|
||||||
gotoy.o \
|
gotoy.o \
|
||||||
initcwd.o \
|
initcwd.o \
|
||||||
|
loadaddr.o \
|
||||||
open.o \
|
open.o \
|
||||||
oserrlist.o \
|
oserrlist.o \
|
||||||
oserror.o \
|
oserror.o \
|
||||||
|
16
libsrc/cbm/loadaddr.s
Normal file
16
libsrc/cbm/loadaddr.s
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user