/programs/demos/3DS/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("VIEW3DS.ASM", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "VIEW3DS") |
/programs/demos/3dcube2/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"3DCUBE2.ASM", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "3DCUBE2") |
/programs/demos/3detx60b/trunk/3DETX60B.ASM |
---|
2480,18 → 2480,18 |
;Texture pusck 32*32 256 |
texpack_gif: |
file 'TEXPACK.gif' |
file 'texpack.gif' |
rb 50 |
;Ground texture |
bmp_texmap: |
file 'TEXMAP.bmp' |
file 'texmap.bmp' |
rb 50 |
; Ground livel map |
gif_file_area5: |
file 'MAP.gif' ;level map |
file 'map.gif' ;level map |
rb 50 |
rb 8 |
/programs/demos/3detx60b/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"3DETX60B.ASM", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "3DETX60B") |
/programs/demos/3dsheart/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("3dsheart.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "3dsheart") |
/programs/demos/3dspiral/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("3dspiral.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "3dspiral") |
/programs/demos/3dtcub10/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"3DTCUB10.ASM", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "3DTCUB10") |
/programs/demos/3dwav/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("3dwav.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "3dwav") |
/programs/demos/aclock/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_NASM") ~= "" then return end |
tup.rule("aclock.asm", "nasm -f bin -o %o %f " .. tup.getconfig("KPACK_CMD"), "aclock") |
/programs/demos/aclock/trunk/aclock.asm |
---|
201,7 → 201,7 |
;******************************************************************** |
; uninitialized data |
;******************************************************************** |
section .bss |
section .bss align=4 |
wndColors resb MOS_WNDCOLORS_size |
procInfo resb MOS_PROCESSINFO_size |
/programs/demos/bcdclk/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"bcdclk.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "bcdclk") |
/programs/demos/bgitest/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"bgitest.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "bgitest") |
/programs/demos/buddhabrot/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("buddhabrot.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "buddhabrot") |
/programs/demos/colorref/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"colorref.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "colorref") |
/programs/demos/crownscr/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"crownscr.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "crownscr") |
/programs/demos/cslide/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"cslide.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "cslide") |
/programs/demos/cubeline/trunk/ProcessTab.h |
---|
1,24 → 1,26 |
#pragma pack(push, 1) |
struct process_table_entry_ |
{ |
__u32 cpu_usage __attribute__((packed)); |
__u16 pos_in_windowing_stack __attribute__((packed)); |
__u16 win_stack_val_at_ecx __attribute__((packed)); |
__u16 rez1 __attribute__((packed)); |
char name[11] __attribute__((packed)); |
__u8 rez2 __attribute__((packed)); |
__u32 memstart __attribute__((packed)); |
__u32 memused __attribute__((packed)); |
__u32 pid __attribute__((packed)); |
__u32 winx_start,winy_start __attribute__((packed)); |
__u32 winx_size,winy_size __attribute__((packed)); |
__u8 slot __attribute__((packed)); |
__u8 rez3 __attribute__((packed)); |
__u32 clarx_start,clary_start __attribute__((packed)); |
__u32 clarx_size,clary_size __attribute__((packed)); |
__u8 win_condition __attribute__((packed)); |
__u8 buf[955] __attribute__((packed)); |
} __attribute__((packed)); |
__u32 cpu_usage; |
__u16 pos_in_windowing_stack; |
__u16 win_stack_val_at_ecx; |
__u16 rez1; |
char name[11]; |
__u8 rez2; |
__u32 memstart; |
__u32 memused; |
__u32 pid; |
__u32 winx_start,winy_start; |
__u32 winx_size,winy_size; |
__u8 slot; |
__u8 rez3; |
__u32 clarx_start,clary_start; |
__u32 clarx_size,clary_size; |
__u8 win_condition; |
__u8 buf[955]; |
}; |
#pragma pack(pop) |
#define TYPEWIN(D,C,B,A,Y,RR,GG,BB) (D<<31)|(C<<30)|(B<<29)|(A<<28)|(Y<<24)|\ |
(RR<<16)|(GG<<8)|BB |
/programs/demos/cubeline/trunk/Tupfile.lua |
---|
0,0 → 1,7 |
if tup.getconfig("NO_GCC") ~= "" then return end |
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
tup.include(HELPERDIR .. "/use_gcc.lua") |
tup.include(HELPERDIR .. "/use_menuetlibc.lua") |
tup.include(HELPERDIR .. "/use_tinygl.lua") |
compile_gcc{"main.cpp", "fps.cpp"} |
link_gcc("cubeline") |
/programs/demos/cubeline/trunk/main.cpp |
---|
16,10 → 16,10 |
int Fps (long x, long y); |
extern "C"{ |
void app_main(void); |
int main(void); |
} |
struct { |
static struct { |
int x,y; |
int dx,dy; |
} win; |
29,19 → 29,19 |
#define KEY_ESC 1 |
#define KEY_F 33 |
char *title1 = "TinyGL in KolibriOS"; |
char *title2 = "F full screen"; |
char *title3 = "ESC - exit"; |
char *fps = "FPS:"; |
static char title1[] = "TinyGL in KolibriOS"; |
static char title2[] = "F full screen"; |
static char title3[] = "ESC - exit"; |
static char fps[] = "FPS:"; |
unsigned char FullScreen = 0; |
unsigned char skin = 3; |
static unsigned char FullScreen = 0; |
static unsigned char skin = 3; |
float angle; |
process_table_entry_* pri; |
KOSGLContext cgl; |
static float angle; |
static process_table_entry_* pri; |
static KOSGLContext cgl; |
void draw_cube() |
static void draw_cube() |
{ |
float x,y,z; |
glBegin(GL_LINES); |
130,7 → 130,7 |
glEnd(); |
} |
void DrawGL() |
static void DrawGL() |
{ |
glLoadIdentity(); // óñòàíàâëèâàåì åäåíè÷íóþ ìàòðèöó |
glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); |
145,7 → 145,7 |
kosglSwapBuffers(); |
} |
void reshape() |
static void reshape() |
{ |
__menuet__get_process_table((process_table_entry*)pri,-1); |
glViewport(0, 0, pri->winx_size, pri->winy_size-20); |
156,13 → 156,13 |
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); |
} |
void disabletgl() |
static void disabletgl() |
{ |
kosglDestroyContext(cgl); |
delete pri; |
} |
void Title() |
static void Title() |
{ |
__menuet__write_text(300,8,0x10ffffff,fps,strlen(fps)); |
__menuet__write_text(8,8,0x10ffffff,title1,strlen(title1)); |
170,7 → 170,7 |
__menuet__write_text(600,8,0x00ffffff,title3,strlen(title3)); |
} |
void draw_window(void) |
static void draw_window(void) |
{ |
// start redraw |
__menuet__window_redraw(1); |
182,7 → 182,7 |
Title(); |
} |
void app_main(void) |
int main(void) |
{ |
win.x = 100; |
241,11 → 241,11 |
break; |
case KEY_ESC: disabletgl(); |
return;} |
return 0;} |
break; |
case 3: disabletgl(); |
return; |
return 0; |
} |
}while(1); |
} |
/programs/demos/cubetext/trunk/ProcessTab.h |
---|
1,24 → 1,26 |
#pragma pack(push, 1) |
struct process_table_entry_ |
{ |
__u32 cpu_usage __attribute__((packed)); |
__u16 pos_in_windowing_stack __attribute__((packed)); |
__u16 win_stack_val_at_ecx __attribute__((packed)); |
__u16 rez1 __attribute__((packed)); |
char name[11] __attribute__((packed)); |
__u8 rez2 __attribute__((packed)); |
__u32 memstart __attribute__((packed)); |
__u32 memused __attribute__((packed)); |
__u32 pid __attribute__((packed)); |
__u32 winx_start,winy_start __attribute__((packed)); |
__u32 winx_size,winy_size __attribute__((packed)); |
__u8 slot __attribute__((packed)); |
__u8 rez3 __attribute__((packed)); |
__u32 clarx_start,clary_start __attribute__((packed)); |
__u32 clarx_size,clary_size __attribute__((packed)); |
__u8 win_condition __attribute__((packed)); |
__u8 buf[955] __attribute__((packed)); |
} __attribute__((packed)); |
__u32 cpu_usage; |
__u16 pos_in_windowing_stack; |
__u16 win_stack_val_at_ecx; |
__u16 rez1; |
char name[11]; |
__u8 rez2; |
__u32 memstart; |
__u32 memused; |
__u32 pid; |
__u32 winx_start,winy_start; |
__u32 winx_size,winy_size; |
__u8 slot; |
__u8 rez3; |
__u32 clarx_start,clary_start; |
__u32 clarx_size,clary_size; |
__u8 win_condition; |
__u8 buf[955]; |
}; |
#pragma pack(pop) |
#define TYPEWIN(D,C,B,A,Y,RR,GG,BB) (D<<31)|(C<<30)|(B<<29)|(A<<28)|(Y<<24)|\ |
(RR<<16)|(GG<<8)|BB |
/programs/demos/cubetext/trunk/Tupfile.lua |
---|
0,0 → 1,7 |
if tup.getconfig("NO_GCC") ~= "" then return end |
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
tup.include(HELPERDIR .. "/use_gcc.lua") |
tup.include(HELPERDIR .. "/use_menuetlibc.lua") |
tup.include(HELPERDIR .. "/use_tinygl.lua") |
compile_gcc{"*.cpp"} |
link_gcc("cubetext") |
/programs/demos/cubetext/trunk/main.cpp |
---|
14,7 → 14,7 |
int Fps (long x, long y); |
extern "C"{ |
void app_main(void); |
int main(void); |
} |
struct { |
132,7 → 132,7 |
Title(); |
} |
void app_main(void) |
int main(void) |
{ |
win.x = 100; |
211,11 → 211,11 |
break; |
case KEY_ESC: disabletgl(); |
return;} |
return 0;} |
break; |
case 3: disabletgl(); |
return; |
return 0; |
} |
}while(1); |
} |
/programs/demos/eyes/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"eyes.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "eyes") |
/programs/demos/fire/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("fire.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "fire") |
/programs/demos/fire2/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("fire2.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "fire2") |
/programs/demos/firework/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("firework.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "firework") |
/programs/demos/flatwav/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("FLATWAV.ASM", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "FLATWAV") |
/programs/demos/free3d/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("free3d.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "free3d") |
/programs/demos/free3d04/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"free3d04.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "free3d04") |
/programs/demos/gears/trunk/ProcessTab.h |
---|
1,24 → 1,26 |
#pragma pack(push, 1) |
struct process_table_entry_ |
{ |
__u32 cpu_usage __attribute__((packed)); |
__u16 pos_in_windowing_stack __attribute__((packed)); |
__u16 win_stack_val_at_ecx __attribute__((packed)); |
__u16 rez1 __attribute__((packed)); |
char name[11] __attribute__((packed)); |
__u8 rez2 __attribute__((packed)); |
__u32 memstart __attribute__((packed)); |
__u32 memused __attribute__((packed)); |
__u32 pid __attribute__((packed)); |
__u32 winx_start,winy_start __attribute__((packed)); |
__u32 winx_size,winy_size __attribute__((packed)); |
__u8 slot __attribute__((packed)); |
__u8 rez3 __attribute__((packed)); |
__u32 clarx_start,clary_start __attribute__((packed)); |
__u32 clarx_size,clary_size __attribute__((packed)); |
__u8 win_condition __attribute__((packed)); |
__u8 buf[955] __attribute__((packed)); |
} __attribute__((packed)); |
__u32 cpu_usage; |
__u16 pos_in_windowing_stack; |
__u16 win_stack_val_at_ecx; |
__u16 rez1; |
char name[11]; |
__u8 rez2; |
__u32 memstart; |
__u32 memused; |
__u32 pid; |
__u32 winx_start,winy_start; |
__u32 winx_size,winy_size; |
__u8 slot; |
__u8 rez3; |
__u32 clarx_start,clary_start; |
__u32 clarx_size,clary_size; |
__u8 win_condition; |
__u8 buf[955]; |
}; |
#pragma pack(pop) |
#define TYPEWIN(D,C,B,A,Y,RR,GG,BB) (D<<31)|(C<<30)|(B<<29)|(A<<28)|(Y<<24)|\ |
(RR<<16)|(GG<<8)|BB |
/programs/demos/gears/trunk/Tupfile.lua |
---|
0,0 → 1,7 |
if tup.getconfig("NO_GCC") ~= "" then return end |
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
tup.include(HELPERDIR .. "/use_gcc.lua") |
tup.include(HELPERDIR .. "/use_menuetlibc.lua") |
tup.include(HELPERDIR .. "/use_tinygl.lua") |
compile_gcc{"fps.cpp", "main.cpp"} |
link_gcc("gears") |
/programs/demos/gears/trunk/main.cpp |
---|
22,7 → 22,7 |
int Fps (long x, long y); |
extern "C"{ |
void app_main(void); |
int main(void); |
} |
struct { |
255,7 → 255,7 |
Title(); |
} |
void app_main(void) |
int main(void) |
{ |
win.x = 100; |
335,11 → 335,11 |
break; |
case KEY_ESC: disabletgl(); |
return;} |
return 0;} |
break; |
case 3: disabletgl(); |
return; |
return 0; |
} |
}while(1); |
} |
/programs/demos/life/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"life.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "life") |
/programs/demos/magnify/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"magnify.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "magnify") |
/programs/demos/movback/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"movback.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "movback") |
/programs/demos/plasma/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"plasma.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "plasma") |
/programs/demos/qjulia/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("QJULIA.ASM", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "QJULIA") |
/programs/demos/timer/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"timer.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "timer") |
/programs/demos/tinyfrac/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"tinyfrac.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "tinyfrac") |
/programs/demos/transp/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"transp.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "transp") |
/programs/demos/trantest/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"trantest.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "trantest") |
/programs/demos/tube/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("tube.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "tube") |
/programs/demos/unvwater/trunk/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"unvwater.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "unvwater") |
/programs/demos/use_mb/Tupfile.lua |
---|
0,0 → 1,3 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"use_mb.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "use_mb") |
/programs/demos/web/trunk/Tupfile.lua |
---|
0,0 → 1,2 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("web.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "web") |