Files
cc65/libsrc/atari/cartstart.s
2014-01-17 11:48:12 +01:00

22 lines
495 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"
; 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__