1 ; Multiple segment ATARI file format sample, using custom linker script.
3 ; This sample defines a custom display-list screen with no code, writing all
4 ; memory areas directly.
6 ; See the linker script (multi-xex.cfg) for the definition of memory areas and
10 ; cl65 -tatari -Cmulti-xex.cfg multi-xex.s -o prog.xex
16 ; Default RUNAD is "start", export that:
20 ; We load color values directly into registers
29 ; We load our display list over page 6
39 .byte DL_CHR20x8x2 | DL_LMS
46 ; first text line: 20 bytes
47 scrcode " HeLlO wOrLd! "
48 ; second text line, 40 bytes
49 .byte 0, 0, 0, 0, 0, 0, 0, 0,70,71,70,71,70,71,70,71,70,71,70,71
50 .byte 70,71,70,71,70,71,70,71,70,71,70,71, 0, 0, 0, 0, 0, 0, 0, 0
52 ; We write directly to the display list pointer
56 ; And we load our main program