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