Apps/tinfo: Rewrite from nasm to fasm
This commit is contained in:
@@ -441,6 +441,7 @@ tup.append_table(img_files, {
|
|||||||
{"TERMINAL", VAR_PROGS .. "/system/terminal/terminal"},
|
{"TERMINAL", VAR_PROGS .. "/system/terminal/terminal"},
|
||||||
{"TEST", VAR_PROGS .. "/testing/protection/trunk/test"},
|
{"TEST", VAR_PROGS .. "/testing/protection/trunk/test"},
|
||||||
{"TINYPAD", VAR_PROGS .. "/develop/tinypad/trunk/tinypad"},
|
{"TINYPAD", VAR_PROGS .. "/develop/tinypad/trunk/tinypad"},
|
||||||
|
{"TINFO", VAR_PROGS .. "/system/tinfo/tinfo"},
|
||||||
{"UNZ", VAR_PROGS .. "/fs/unz/unz"},
|
{"UNZ", VAR_PROGS .. "/fs/unz/unz"},
|
||||||
{"ZKEY", VAR_PROGS .. "/system/zkey/trunk/ZKEY"},
|
{"ZKEY", VAR_PROGS .. "/system/zkey/trunk/ZKEY"},
|
||||||
{"3D/3DWAV", VAR_PROGS .. "/demos/3dwav/trunk/3dwav"},
|
{"3D/3DWAV", VAR_PROGS .. "/demos/3dwav/trunk/3dwav"},
|
||||||
@@ -647,7 +648,6 @@ tup.append_table(img_files, {
|
|||||||
{"ACLOCK", VAR_PROGS .. "/demos/aclock/trunk/aclock"},
|
{"ACLOCK", VAR_PROGS .. "/demos/aclock/trunk/aclock"},
|
||||||
{"LOD", VAR_PROGS .. "/fs/lod/lod"},
|
{"LOD", VAR_PROGS .. "/fs/lod/lod"},
|
||||||
{"TIMER", VAR_PROGS .. "/other/Timer/timer"},
|
{"TIMER", VAR_PROGS .. "/other/Timer/timer"},
|
||||||
{"TINFO", VAR_PROGS .. "/system/tinfo/tinfo"},
|
|
||||||
{"DEVELOP/GENFILES", VAR_PROGS .. "/testing/genfiles/GenFiles"},
|
{"DEVELOP/GENFILES", VAR_PROGS .. "/testing/genfiles/GenFiles"},
|
||||||
{"MEDIA/FILLSCR", VAR_PROGS .. "/media/FillScr/fillscr"},
|
{"MEDIA/FILLSCR", VAR_PROGS .. "/media/FillScr/fillscr"},
|
||||||
})
|
})
|
||||||
|
@@ -1,2 +1,7 @@
|
|||||||
if tup.getconfig("NO_NASM") ~= "" then return end
|
if tup.getconfig("NO_FASM") ~= "" then return end
|
||||||
tup.rule("tinfo.asm", "nasm -f bin -o %o %f " .. tup.getconfig("KPACK_CMD"), "tinfo")
|
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
|
||||||
|
tup.include(HELPERDIR .. "/use_fasm.lua")
|
||||||
|
add_include(tup.getvariantdir())
|
||||||
|
|
||||||
|
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
|
||||||
|
tup.rule({"tinfo.asm", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "tinfo")
|
||||||
|
4
programs/system/tinfo/build_en.bat
Normal file
4
programs/system/tinfo/build_en.bat
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
@echo lang fix en_EN >lang.inc
|
||||||
|
@fasm.exe -m 16384 tinfo.asm tinfo.kex
|
||||||
|
@kpack tinfo.kex
|
||||||
|
pause
|
4
programs/system/tinfo/build_ru.bat
Normal file
4
programs/system/tinfo/build_ru.bat
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
@echo lang fix ru_RU >lang.inc
|
||||||
|
@fasm.exe -m 16384 tinfo.asm tinfo.kex
|
||||||
|
@kpack tinfo.kex
|
||||||
|
pause
|
@@ -1 +0,0 @@
|
|||||||
nasm -f bin tinfo.asm -o tinfo
|
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user