2 ; Maciej 'YTM/Elysium' Witkowiak
5 ; This is source for loadable VLIR-structured program part
7 ; include some GEOS defines
9 .include "../../../libsrc/geos/inc/const.inc"
10 .include "../../../libsrc/geos/inc/jumptab.inc"
11 .include "../../../libsrc/geos/inc/geossym.inc"
12 .include "../../../libsrc/geos/inc/geosmac.ca65.inc"
14 ; export names of functions that will be used in main program
16 .export VLIR1_Function1
17 .export VLIR1_Function2
20 ; go into VLIR1 segment - everything that is here will go into
25 VLIR1_Function1: jmp Function1 ; jump table, not really necessary
26 VLIR1_Function2: jmp Function2
29 ; rodata - if this is defined in .segment "RODATA"
30 ; it will end in VLIR0 part, you don't want that
33 .byte DBTXTSTR, TXT_LN_X, TXT_LN_2_Y
35 .byte DBTXTSTR, TXT_LN_X, TXT_LN_3_Y
37 .byte OK, DBI_X_0, DBI_Y_2
40 line1: .byte "This is in module 1",0
41 line2: .byte "This is in module 1",0
44 Function1: LoadW r0, paramString