Compare commits
87 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
975284f5f3 | ||
8ece779b4b | |||
a218a83bd5 | |||
c762489408 | |||
3d02856efe | |||
4a166ede82 | |||
46e816c366 | |||
65239bc359 | |||
f222e98a09 | |||
c0324e5907 | |||
415eaef8db | |||
4f08d0ad8b | |||
b6a0bf7729 | |||
412e42a342 | |||
66816d7a7e | |||
e23778f306 | |||
4dac8068a5 | |||
d470cce4d8 | |||
f9693d139b | |||
c0607ba4f5 | |||
f80a8960b0 | |||
48bd92cda2 | |||
09cb62069d | |||
ae43d8f454 | |||
d7a4b62ed5 | |||
c7231e7d53 | |||
a53bea545e | |||
bb2607b7d8 | |||
f4fd3f6ea0 | |||
2d3e0ac7f4 | |||
4ad795c835 | |||
27f290d51b | |||
349dbb6edf | |||
f133c9d045 | |||
85276ce3ee | |||
3997519acd | |||
5ca5de2ec9 | |||
|
07d896f571 | ||
55296eb7c8 | |||
4165acdf83 | |||
51ac7f789b | |||
a7816e7613 | |||
bcfae55643 | |||
db1cb66d35 | |||
e626066eef | |||
d6a40ce092 | |||
142ed3aef0 | |||
8f444289e0 | |||
e9e08c56b6 | |||
0eabeee0d3 | |||
917cebdce1 | |||
|
9b1c982736 | ||
c3dbc03cb9 | |||
d3208b5671 | |||
e9a34d071d | |||
e61afd673e | |||
7ab6b3e984 | |||
8735d3ceac | |||
fe541dca92 | |||
|
33d9aafa30 | ||
|
fcfa96f74d | ||
|
dc416dc668 | ||
|
857a5d17e2 | ||
|
4cc0fb283b | ||
|
a2db07d6e1 | ||
|
865fd3a825 | ||
|
4febef90c3 | ||
|
176ea5ae89 | ||
|
3dccbc50a0 | ||
|
4e2a675928 | ||
|
b64f009425 | ||
|
d2b2b58158 | ||
|
25335bf375 | ||
|
9c44899099 | ||
|
6fbd7cd2f9 | ||
|
d8b8010bbd | ||
|
e72feb4052 | ||
|
1ecb0687a0 | ||
|
d5512ddc5b | ||
|
eae9e31a6e | ||
|
566428b0cc | ||
|
3c309b14e1 | ||
|
6345e58caa | ||
31193af81e | |||
6c4f535ed8 | |||
c6fff882d8 | |||
|
2a06cba912 |
21
.editorconfig
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# https://EditorConfig.org
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
# charset = utf-8 # not system wide, just in the kernel
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.{asm,inc}]
|
||||||
|
indent_size = 8
|
||||||
|
|
||||||
|
[kernel/**.{asm,inc}]
|
||||||
|
charset = utf-8
|
||||||
|
|
||||||
|
[*.{bat,cmd}]
|
||||||
|
# Prefer Windows line endings
|
||||||
|
end_of_line = crlf
|
9
.gitignore
vendored
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
### Windows ###
|
||||||
|
Thumbs.db
|
||||||
|
Thumbs.db:encryptable
|
||||||
|
ehthumbs.db
|
||||||
|
ehthumbs_vista.db
|
||||||
|
|
||||||
|
### macOS ###
|
||||||
|
.DS_Store
|
||||||
|
._*
|
@ -31,10 +31,11 @@ A1. Fine. You will need a corresponding compiler, obviously.
|
|||||||
If the compiler produces an error "file not found" regarding 'lang.inc',
|
If the compiler produces an error "file not found" regarding 'lang.inc',
|
||||||
the program can be compiled using different languages of interface.
|
the program can be compiled using different languages of interface.
|
||||||
Create a file 'lang.inc' in the same folder as <input.asm> like follows:
|
Create a file 'lang.inc' in the same folder as <input.asm> like follows:
|
||||||
lang fix en
|
lang fix en_US
|
||||||
Here the last word selects the language. Valid languages are
|
Here the last word selects the language. Valid languages are
|
||||||
en, ru, et, it, sp. Not all programs provide all translations,
|
en_US, ru_RU, et_EE, it_IT, es_ES, ca_ES. Not all programs provide all
|
||||||
en should always be available, ru is the most frequent after en.
|
translations, en_US should always be available, ru_RU is the most frequent
|
||||||
|
after en_US.
|
||||||
|
|
||||||
* For a NASM program, get NASM at http://www.nasm.us/.
|
* For a NASM program, get NASM at http://www.nasm.us/.
|
||||||
To compile, find the main .asm file of the program and run
|
To compile, find the main .asm file of the program and run
|
||||||
@ -42,7 +43,7 @@ A1. Fine. You will need a corresponding compiler, obviously.
|
|||||||
Multi-language is rarely supported in this category, but you could still
|
Multi-language is rarely supported in this category, but you could still
|
||||||
see sometimes an error "file not found" regarding 'lang_nasm.inc'. If so,
|
see sometimes an error "file not found" regarding 'lang_nasm.inc'. If so,
|
||||||
create a file 'lang_nasm.inc' in the same folder as <input.asm> like follows:
|
create a file 'lang_nasm.inc' in the same folder as <input.asm> like follows:
|
||||||
%define lang 'en'
|
%define lang 'en_US'
|
||||||
Read the entry about fasm for description of valid languages.
|
Read the entry about fasm for description of valid languages.
|
||||||
|
|
||||||
* For a c-- program, try to avoid compiling it and instead rewrite the code
|
* For a c-- program, try to avoid compiling it and instead rewrite the code
|
||||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 699 B After Width: | Height: | Size: 590 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 960 B |
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 256 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 645 B |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 37 KiB |
@ -4,14 +4,15 @@ tup.include(HELPERDIR .. "/use_gcc.lua")
|
|||||||
tup.include(HELPERDIR .. "/use_newlib.lua")
|
tup.include(HELPERDIR .. "/use_newlib.lua")
|
||||||
tup.include(HELPERDIR .. "/use_sdl_newlib.lua")
|
tup.include(HELPERDIR .. "/use_sdl_newlib.lua")
|
||||||
|
|
||||||
SDK_DIR = "../../sdk"
|
SDK_DIR_CWD = tup.getcwd() .. "/../../sdk"
|
||||||
|
SDK_DIR_VAR = tup.getvariantdir() .. "/../../sdk"
|
||||||
|
|
||||||
CFLAGS = CFLAGS .. " -Dstricmp=strcasecmp -DZLIB_SUPPORT -Dstrnicmp=strncasecmp -DUSE_SDL -DNDEBUG -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32"
|
CFLAGS = CFLAGS .. " -Dstricmp=strcasecmp -DZLIB_SUPPORT -Dstrnicmp=strncasecmp -DUSE_SDL -DNDEBUG -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32"
|
||||||
INCLUDES = INCLUDES .. " -I. -I " .. SDK_DIR .. "/sources/zlib"
|
INCLUDES = INCLUDES .. " -I. -I " .. SDK_DIR_CWD .. "/sources/zlib"
|
||||||
LDFLAGS = LDFLAGS .. " -Lsdl --subsystem native"
|
LDFLAGS = LDFLAGS .. " -L" .. tup.getvariantdir() .. "/sdl --subsystem native"
|
||||||
LIBS = "-ls -lz.dll " .. LIBS
|
LIBS = "-ls -lz.dll " .. LIBS
|
||||||
|
|
||||||
table.insert(LIBDEPS, SDK_DIR .. "/lib/<libz.dll.a>")
|
table.insert(LIBDEPS, SDK_DIR_VAR .. "/lib/<libz.dll.a>")
|
||||||
table.insert(LIBDEPS, "sdl/<libs>")
|
table.insert(LIBDEPS, "sdl/<libs>")
|
||||||
|
|
||||||
compile_gcc{"filter.c", "fireworks.c", "main.c", "menu.c", "stub.c"}
|
compile_gcc{"filter.c", "fireworks.c", "main.c", "menu.c", "stub.c"}
|
||||||
|
@ -3,7 +3,7 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../programs" or tup.ge
|
|||||||
tup.include(HELPERDIR .. "/use_gcc.lua")
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
||||||
tup.include(HELPERDIR .. "/use_newlib.lua")
|
tup.include(HELPERDIR .. "/use_newlib.lua")
|
||||||
|
|
||||||
LDFLAGS = LDFLAGS .. " -Llibudis86"
|
LDFLAGS = LDFLAGS .. " -L" .. tup.getvariantdir() .. "/libudis86"
|
||||||
LIBS = "-ludis86 " .. LIBS
|
LIBS = "-ludis86 " .. LIBS
|
||||||
table.insert(LIBDEPS, "libudis86/<libudis86>")
|
table.insert(LIBDEPS, "libudis86/<libudis86>")
|
||||||
INCLUDES = INCLUDES .. " -Ilibudis86"
|
INCLUDES = INCLUDES .. " -Ilibudis86"
|
||||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 362 KiB After Width: | Height: | Size: 286 KiB |
@ -28,7 +28,7 @@ FOLDERS = {
|
|||||||
for i,v in ipairs(FOLDERS) do
|
for i,v in ipairs(FOLDERS) do
|
||||||
compile_gcc(v .. "*.c", v .. "%B.o")
|
compile_gcc(v .. "*.c", v .. "%B.o")
|
||||||
tup.append_table(OBJS,
|
tup.append_table(OBJS,
|
||||||
tup.foreach_rule(v .. "*.asm", "nasm -f coff -Ihermes -o %o %f", v .. "%B.o")
|
tup.foreach_rule(v .. "*.asm", "nasm -f coff -Ihermes/ -o %o %f", v .. "%B.o")
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
tup.rule(OBJS, "kos32-ar rcs %o %f", {"../../../lib/libSDLn.a", "../../../lib/<libSDLn>"})
|
tup.rule(OBJS, "kos32-ar rcs %o %f", {"../../../lib/libSDLn.a", "../../../lib/<libSDLn>"})
|
||||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 871 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 1.9 KiB |
@ -1,6 +1,6 @@
|
|||||||
if tup.getconfig("NO_GCC") ~= "" or tup.getconfig("NO_FASM") ~= "" then return end
|
if tup.getconfig("NO_GCC") ~= "" or tup.getconfig("NO_FASM") ~= "" then return end
|
||||||
tup.include("../../../../../programs/use_gcc.lua")
|
tup.include("../../../../../programs/use_gcc.lua")
|
||||||
SDK_DIR = "../../.."
|
SDK_DIR = tup.getvariantdir() .. "/../../.."
|
||||||
CFLAGS = "-c -O2 -fno-builtin -fno-ident -fomit-frame-pointer -DMISSING_SYSCALL_NAMES"
|
CFLAGS = "-c -O2 -fno-builtin -fno-ident -fomit-frame-pointer -DMISSING_SYSCALL_NAMES"
|
||||||
LDFLAGS = "-shared -s -T libcdll.lds --out-implib " .. SDK_DIR .. "/lib/libc.dll.a --image-base 0"
|
LDFLAGS = "-shared -s -T libcdll.lds --out-implib " .. SDK_DIR .. "/lib/libc.dll.a --image-base 0"
|
||||||
-- LDFLAGS = LDFLAGS .. " --output-def libc.orig.def"
|
-- LDFLAGS = LDFLAGS .. " --output-def libc.orig.def"
|
||||||
|
@ -406,7 +406,7 @@ KOSAPI int __strcmp(const char* s1, const char* s2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* ####################################################################### */
|
/* ####################################################################### */
|
||||||
/* ############### С wrappers for system calls Kolibri OS ################ */
|
/* ############### С wrappers for system calls KolibriOS ################# */
|
||||||
/* ####################################################################### */
|
/* ####################################################################### */
|
||||||
|
|
||||||
/*=============== Function -1 - terminate thread/process ===============*/
|
/*=============== Function -1 - terminate thread/process ===============*/
|
||||||
@ -1223,10 +1223,10 @@ KOSAPI void _ksys_debug_puts(const char* s)
|
|||||||
KOSAPI void ksys_draw_bitmap_palette(void* bitmap, int x, int y, int w, int h, int bpp, void* palette, int offset)
|
KOSAPI void ksys_draw_bitmap_palette(void* bitmap, int x, int y, int w, int h, int bpp, void* palette, int offset)
|
||||||
{
|
{
|
||||||
asm_inline(
|
asm_inline(
|
||||||
"pushl %%ebp,\n\t" // save EBP register
|
"pushl %%ebp\n\t" // save EBP register
|
||||||
"movl 0x24(%%ebp), %%ebp\n\t" // 0x24 - "offset" param
|
"movl 0x24(%%ebp), %%ebp\n\t" // 0x24 - "offset" param
|
||||||
"int $0x40\n\t"
|
"int $0x40\n\t"
|
||||||
"popl %%ebp" // restore EBP register
|
"popl %%ebp" // restore EBP register
|
||||||
:
|
:
|
||||||
: "a"(65),
|
: "a"(65),
|
||||||
"b"(bitmap),
|
"b"(bitmap),
|
||||||
|
@ -3,7 +3,9 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../../programs" or tup
|
|||||||
tup.include(HELPERDIR .. "/use_gcc.lua")
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
||||||
tup.include(HELPERDIR .. "/use_newlib.lua")
|
tup.include(HELPERDIR .. "/use_newlib.lua")
|
||||||
|
|
||||||
LDFLAGS = " -shared -s -T dll.lds --entry _DllStartup --image-base=0 --out-implib ../../lib/libsqlite3.dll.a -L../../lib "
|
VAR_LIB = tup.getvariantdir() .. "/../../lib"
|
||||||
|
|
||||||
|
LDFLAGS = " -shared -s -T dll.lds --entry _DllStartup --image-base=0 --out-implib " .. VAR_LIB .. "/libsqlite3.dll.a -L" .. VAR_LIB
|
||||||
|
|
||||||
CFLAGS = CFLAGS .. " -U__MINGW32__ -UWIN32 -UWindows -U_WINDOWS -U_WIN32 -U__WIN32__ -U_WIN32 -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.36.0\" -DPACKAGE_STRING=\"sqlite-3.36.0\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.36.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=0 -DHAVE_DLFCN_H=0 -DHAVE_FDATASYNC=0 -DHAVE_USLEEP=0 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_EDITLINE_READLINE_H=1 -DHAVE_EDITLINE=1 -DHAVE_ZLIB_H=1 -I. -D_REENTRANT=1 -DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY -DSQLITE_HAVE_ZLIB=1 -DSQLITE_OS_OTHER=1 -USQLITE_OS_WIN_H -DSQLITE_TEMP_STORE=3 -D_NO_STDERR "
|
CFLAGS = CFLAGS .. " -U__MINGW32__ -UWIN32 -UWindows -U_WINDOWS -U_WIN32 -U__WIN32__ -U_WIN32 -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.36.0\" -DPACKAGE_STRING=\"sqlite-3.36.0\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.36.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=0 -DHAVE_DLFCN_H=0 -DHAVE_FDATASYNC=0 -DHAVE_USLEEP=0 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_EDITLINE_READLINE_H=1 -DHAVE_EDITLINE=1 -DHAVE_ZLIB_H=1 -I. -D_REENTRANT=1 -DSQLITE_THREADSAFE=0 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY -DSQLITE_HAVE_ZLIB=1 -DSQLITE_OS_OTHER=1 -USQLITE_OS_WIN_H -DSQLITE_TEMP_STORE=3 -D_NO_STDERR "
|
||||||
|
|
||||||
@ -12,5 +14,5 @@ compile_gcc{"sqlite3.c", "kolibri_vfs.c"}
|
|||||||
|
|
||||||
OBJS.extra_inputs = {"../../lib/<libc.dll.a>", "../../lib/<libdll.a>"}
|
OBJS.extra_inputs = {"../../lib/<libc.dll.a>", "../../lib/<libdll.a>"}
|
||||||
|
|
||||||
tup.rule(OBJS, "kos32-ld sqlite3.def" .. LDFLAGS .. "-o %o %f -lgcc -lc.dll -ldll " .. tup.getconfig("KPACK_CMD"),
|
tup.rule(OBJS, "kos32-ld sqlite3.def" .. LDFLAGS .. " -o %o %f -lgcc -lc.dll -ldll " .. tup.getconfig("KPACK_CMD"),
|
||||||
{"../../bin/sqlite3.dll", extra_outputs = {"../../lib/libsqlite3.dll.a", "../../lib/<libsqlite3.dll.a>"}})
|
{"../../bin/sqlite3.dll", extra_outputs = {"../../lib/libsqlite3.dll.a", "../../lib/<libsqlite3.dll.a>"}})
|
||||||
|
@ -6,14 +6,14 @@ end
|
|||||||
tup.include(HELPERDIR .. "/use_gcc.lua")
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
||||||
tup.include(HELPERDIR .. "/use_newlib.lua")
|
tup.include(HELPERDIR .. "/use_newlib.lua")
|
||||||
|
|
||||||
INCLUDES= INCLUDES .. " -I .. "
|
INCLUDES += " -I .. "
|
||||||
|
|
||||||
CFLAGS = CFLAGS .. " -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -DSQLITE_OS_OTHER=1 -DHAVE_UNISTD_H=0 -D_NO_STDERR -DSQLITE_OMIT_POPEN -DSQLITE_THREADSAFE=0 -D_KOLIBRI -DSQLITE_OMIT_VIRTUALTABLE -U__linux__ -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.36.0\" -DPACKAGE_STRING=\"sqlite-3.36.0\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.36.0\""
|
CFLAGS += " -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -DSQLITE_OS_OTHER=1 -DHAVE_UNISTD_H=0 -D_NO_STDERR -DSQLITE_OMIT_POPEN -DSQLITE_THREADSAFE=0 -D_KOLIBRI -DSQLITE_OMIT_VIRTUALTABLE -U__linux__ -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.36.0\" -DPACKAGE_STRING=\"sqlite-3.36.0\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.36.0\""
|
||||||
|
|
||||||
LDFLAGS = LDFLAGS .. " --subsystem console "
|
LDFLAGS += " --subsystem console "
|
||||||
|
|
||||||
table.insert(LIBDEPS,"../../../lib/<libsqlite3.dll.a>")
|
table.insert(LIBDEPS, "../../../lib/<libsqlite3.dll.a>")
|
||||||
LIBS = LIBS .. " -lsqlite3.dll"
|
LIBS += " -L" .. tup.getvariantdir() .. "/../../../lib -lsqlite3.dll"
|
||||||
|
|
||||||
-- Compile --
|
-- Compile --
|
||||||
compile_gcc{
|
compile_gcc{
|
||||||
@ -22,6 +22,3 @@ compile_gcc{
|
|||||||
|
|
||||||
-- Link --
|
-- Link --
|
||||||
link_gcc("sqlite3")
|
link_gcc("sqlite3")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,14 +3,15 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../../programs" or tup
|
|||||||
tup.include(HELPERDIR .. "/use_gcc.lua")
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
||||||
tup.include(HELPERDIR .. "/use_newlib.lua")
|
tup.include(HELPERDIR .. "/use_newlib.lua")
|
||||||
|
|
||||||
LDFLAGS = " -shared -s -T dll.lds --entry _DllStartup --image-base=0 --out-implib ../../lib/libz.dll.a -L../../lib "
|
VAR_LIB = tup.getvariantdir() .. "/../../lib"
|
||||||
|
|
||||||
|
LDFLAGS = " -shared -s -T dll.lds --entry _DllStartup --image-base=0 --out-implib " .. VAR_LIB .. "/libz.dll.a -L" .. VAR_LIB
|
||||||
|
|
||||||
CFLAGS = CFLAGS .. " -DHAVE_UNISTD_H -U_Win32 -U_WIN32 -U__MINGW32__"
|
CFLAGS = CFLAGS .. " -DHAVE_UNISTD_H -U_Win32 -U_WIN32 -U__MINGW32__"
|
||||||
|
|
||||||
compile_gcc{"adler32.c", "compress.c", "crc32.c", "deflate.c", "gzclose.c", "gzlib.c", "gzread.c", "gzwrite.c", "infback.c", "inffast.c", "inflate.c", "inftrees.c", "trees.c", "uncompr.c", "zutil.c"}
|
compile_gcc{"adler32.c", "compress.c", "crc32.c", "deflate.c", "gzclose.c", "gzlib.c", "gzread.c", "gzwrite.c", "infback.c", "inffast.c", "inflate.c", "inftrees.c", "trees.c", "uncompr.c", "zutil.c"}
|
||||||
--tup.rule(OBJS, "kos32-ar rcs %o %f", {"../../lib/libz.a", "../../lib/<libz>"})
|
|
||||||
|
|
||||||
OBJS.extra_inputs = {"../../lib/<libc.dll.a>", "../../lib/<libdll.a>"}
|
OBJS.extra_inputs = {"../../lib/<libc.dll.a>", "../../lib/<libdll.a>"}
|
||||||
|
|
||||||
tup.rule(OBJS, "kos32-ld zlib.def" .. LDFLAGS .. "-o %o %f -lgcc -lc.dll -ldll " .. tup.getconfig("KPACK_CMD"),
|
tup.rule(OBJS, "kos32-ld zlib.def " .. LDFLAGS .. " -o %o %f -lgcc -lc.dll -ldll " .. tup.getconfig("KPACK_CMD"),
|
||||||
{"../../bin/libz.dll", extra_outputs = {"../../lib/libz.dll.a", "../../lib/<libz.dll.a>"}})
|
{"../../bin/libz.dll", extra_outputs = {"../../lib/libz.dll.a", "../../lib/<libz.dll.a>"}})
|
||||||
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 185 B |
Before Width: | Height: | Size: 623 B After Width: | Height: | Size: 187 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 190 B |
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 189 B |
Before Width: | Height: | Size: 353 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 355 B After Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 5.1 KiB |
1113
data/Tupfile.lua
@ -1 +0,0 @@
|
|||||||
lang fix ca
|
|
1
data/ca_ES/lang.inc
Normal file
@ -0,0 +1 @@
|
|||||||
|
lang fix ca_ES
|
@ -1,7 +1,7 @@
|
|||||||
KolibriOS
|
KolibriOS
|
||||||
version 0770
|
version 0770
|
||||||
svnr 4483
|
svnr 4483
|
||||||
language ca
|
language ca_ES
|
||||||
|
|
||||||
;just comment
|
;just comment
|
||||||
; Hi, curious person! :-)
|
; Hi, curious person! :-)
|
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 230 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 200 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 193 B After Width: | Height: | Size: 83 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
@ -7,7 +7,7 @@ sleep 200
|
|||||||
|
|
||||||
echo
|
echo
|
||||||
echo ==============
|
echo ==============
|
||||||
echo runing palitra
|
echo running palitra
|
||||||
echo ==============
|
echo ==============
|
||||||
|
|
||||||
/sys/media/palitra H 00AEC3D8 003A95BF
|
/sys/media/palitra H 00AEC3D8 003A95BF
|
||||||
@ -20,7 +20,7 @@ sleep 200
|
|||||||
|
|
||||||
echo
|
echo
|
||||||
echo ==============
|
echo ==============
|
||||||
echo runing fillscr
|
echo running fillscr
|
||||||
echo ==============
|
echo ==============
|
||||||
|
|
||||||
/sys/media/fillscr 105,145,200, 105,145,200, 105,145,200, 60,60,128, 82,102,164, 60,60,128, 60,60,128, 60,60,128, 60,60,128
|
/sys/media/fillscr 105,145,200, 105,145,200, 105,145,200, 60,60,128, 82,102,164, 60,60,128, 60,60,128, 60,60,128, 60,60,128
|
||||||
@ -29,7 +29,7 @@ sleep 200
|
|||||||
|
|
||||||
echo
|
echo
|
||||||
echo ==============
|
echo ==============
|
||||||
echo runing @notify
|
echo running @notify
|
||||||
echo ==============
|
echo ==============
|
||||||
|
|
||||||
/sys/@notify "Hello, I am a @notify app!"
|
/sys/@notify "Hello, I am a @notify app!"
|
||||||
|
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 417 B |
Before Width: | Height: | Size: 495 B After Width: | Height: | Size: 433 B |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 87 B After Width: | Height: | Size: 82 B |
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 194 B After Width: | Height: | Size: 111 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 703 B After Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 92 B After Width: | Height: | Size: 81 B |