1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00
cc65/libsrc/atari/cartstart.s

21 lines
456 B
ArmAsm
Raw Normal View History

2014-01-06 19:24:29 +00:00
; Cartridge start routine
;
; Christian Groessler, 06-Jan-2014
.ifndef __ATARIXL__
2014-01-14 22:12:35 +00:00
.export cartstart
2014-01-06 19:24:29 +00:00
2014-01-16 22:53:53 +00:00
.import start, copydata
2014-01-06 19:24:29 +00:00
2014-01-14 22:12:35 +00:00
.include "atari.inc"
2014-01-06 19:24:29 +00:00
; start routine of cartridge
; copy data segment to RAM and chain to entry point of crt0.s
2014-01-16 22:53:53 +00:00
cartstart: jsr copydata
2014-01-14 22:12:35 +00:00
jsr start ; run program
jmp (DOSVEC) ; return to DOS
2014-01-06 19:24:29 +00:00
2014-01-14 22:12:35 +00:00
.endif ; .ifndef __ATARIXL__