move some apps to the programs/testing folder
git-svn-id: svn://kolibrios.org@7899 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
3
programs/testing/mgb/trunk/Tupfile.lua
Normal file
3
programs/testing/mgb/trunk/Tupfile.lua
Normal file
@@ -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({"mgb.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "mgb")
|
6
programs/testing/mgb/trunk/build.bat
Normal file
6
programs/testing/mgb/trunk/build.bat
Normal file
@@ -0,0 +1,6 @@
|
||||
@erase lang.inc
|
||||
@echo lang fix en >lang.inc
|
||||
@fasm -m 16384 mgb.asm mgb
|
||||
@kpack mgb
|
||||
@erase lang.inc
|
||||
@pause
|
13
programs/testing/mgb/trunk/build.sh
Executable file
13
programs/testing/mgb/trunk/build.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
# This script does for linux the same as build.bat for DOS,
|
||||
# it compiles the KoOS kernel, hopefully ;-)
|
||||
|
||||
echo "lang fix en"
|
||||
echo "lang fix en" > lang.inc
|
||||
fasm -m 16384 mgb.asm mgb
|
||||
rm -f lang.inc
|
||||
exit 0
|
||||
|
||||
|
||||
|
||||
|
19
programs/testing/mgb/trunk/makefile
Normal file
19
programs/testing/mgb/trunk/makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
#!gmake
|
||||
|
||||
# Macro
|
||||
FASM=/opt/bin/fasm
|
||||
KPACK=/opt/bin/kpack
|
||||
LANG=lang.inc
|
||||
FILE=mgb
|
||||
SOURCE=${FILE}.asm
|
||||
OUT=${FILE}.bin
|
||||
|
||||
en:
|
||||
echo "lang fix en" > ${LANG}
|
||||
${FASM} ${SOURCE} ${OUT}
|
||||
it:
|
||||
echo "lang fix it" > ${LANG}
|
||||
${FASM} ${SOURCE} ${OUT}
|
||||
|
||||
clean:
|
||||
rm -f ${LANG} ${OUT}
|
1203
programs/testing/mgb/trunk/mgb.asm
Normal file
1203
programs/testing/mgb/trunk/mgb.asm
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user