Files
cc65/libsrc/atari/cartstart.s
2014-01-16 23:56:32 +01:00

24 lines
520 B
ArmAsm

; Cartridge start routine
;
; Christian Groessler, 06-Jan-2014
.ifndef __ATARIXL__
.export cartstart
.import start, copydata
.importzp ptr1, ptr2, tmp1, tmp2
.include "atari.inc"
.segment "CODE"
; start routine of cartridge
; copy data segment to RAM and chain to entry point of crt0.s
cartstart: jsr copydata
jsr start ; run program
jmp (DOSVEC) ; return to DOS
.endif ; .ifndef __ATARIXL__