1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00
cc65/libsrc/atari5200/cartentry.s

14 lines
387 B
ArmAsm
Raw Permalink Normal View History

2014-03-01 16:20:09 +00:00
; Cartridge entry point
;
; Christian Groessler, 01-Mar-2014
.export __CART_ENTRY__: absolute = 1
2014-05-28 21:39:31 +00:00
.import __CARTSIZE__, start
.forceimport __CART_YEAR__, __CART_NAME__
2014-03-01 16:20:09 +00:00
.segment "CARTENTRY"
.word start ; entry point
.assert (__CARTSIZE__ = $4000 || __CARTSIZE__ = $8000), error, "Cartridge size must either be $4000 or $8000"