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

53 lines
890 B
ArmAsm
Raw Normal View History

;
; 2019-12-21, Greg King
;
; This module supplies some load addresses that are expected
; by a Commander X16 in the first two bytes of banked RAM load files.
;
; The following symbol is used by a linker config. to force
; this module to get included into the output files.
.export __BANKRAMADDR__: abs = 1
.if 0 ; bank 0 is used by Kernal
.segment "BRAM00ADDR"
.addr *+2
.endif
.segment "BRAM01ADDR"
.addr *+2
.segment "BRAM02ADDR"
.addr *+2
.segment "BRAM03ADDR"
.addr *+2
.segment "BRAM04ADDR"
.addr *+2
.segment "BRAM05ADDR"
.addr *+2
.segment "BRAM06ADDR"
.addr *+2
.segment "BRAM07ADDR"
.addr *+2
.segment "BRAM08ADDR"
.addr *+2
.segment "BRAM09ADDR"
.addr *+2