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:
17 .export start, show_load
35 .byte "Loading....", ATEOL
37 ; We load color values directly into registers
46 ; We load our display list over page 6
56 .byte DL_CHR20x8x2 | DL_LMS
63 ; first text line: 20 bytes
64 scrcode " HeLlO wOrLd! "
65 ; second text line, 40 bytes
66 .byte 0, 0, 0, 0, 0, 0, 0, 0,70,71,70,71,70,71,70,71,70,71,70,71
67 .byte 70,71,70,71,70,71,70,71,70,71,70,71, 0, 0, 0, 0, 0, 0, 0, 0
69 ; We write directly to the display list pointer
73 ; And we load our main program