mirror of
https://github.com/cc65/cc65.git
synced 2024-11-18 00:07:21 +00:00
21 lines
456 B
ArmAsm
21 lines
456 B
ArmAsm
; Cartridge start routine
|
|
;
|
|
; Christian Groessler, 06-Jan-2014
|
|
|
|
.ifndef __ATARIXL__
|
|
|
|
.export cartstart
|
|
|
|
.import start, copydata
|
|
|
|
.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__
|