1 ; Maciej 'YTM/Elysium' Witkowiak
4 ; This is the source for the loadable VLIR-structured program part
6 ; include some GEOS defines
8 .include "../../libsrc/geos/inc/const.inc"
9 .include "../../libsrc/geos/inc/jumptab.inc"
10 .include "../../libsrc/geos/inc/geossym.inc"
11 .include "../../libsrc/geos/inc/geosmac.inc"
13 ; export names of functions that will be used in the main program
15 .export OVERLAY1_Function1
16 .export OVERLAY1_Function2
19 ; go into OVERLAY1 segment - everything that is here will go into
24 OVERLAY1_Function1: jmp Function1 ; jump table, not really necessary
25 OVERLAY1_Function2: jmp Function2
28 ; rodata - if this is defined in .segment "RODATA"
29 ; it will end up in the VLIR0 part, you don't want that
32 .byte DBTXTSTR, TXT_LN_X, TXT_LN_2_Y
34 .byte DBTXTSTR, TXT_LN_X, TXT_LN_3_Y
36 .byte OK, DBI_X_0, DBI_Y_2
39 line1: .byte "This is in module 1",0
40 line2: .byte "This is in module 1",0
43 Function1: LoadW r0, paramString