Commit Graph

68 Commits

Author SHA1 Message Date
ec3af7f664 Fixed get os version in SHELL
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-03-31 03:17:16 +03:00
ace_dent
64d4ca96c4 Optimize logo.png
Lossless optimization of png files:
- 2x `logo.png` slimmed 2623 bytes, ~5% saving.

git-svn-id: svn://kolibrios.org@9988 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-07 14:31:25 +00:00
e944bfc31a libc.obj: added _ksys_blitter (sysfn73), add forgotten static in libimg.h
git-svn-id: svn://kolibrios.org@9973 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-02-07 18:37:23 +00:00
turbocat
ec9a93aa6a libc.obj:
- now using vsscanf from BaseLibc;
 - delete extra pragma
 - disable sort includes(clang-format)

git-svn-id: svn://kolibrios.org@9868 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-08-02 13:30:05 +00:00
turbocat
a7f779193d libc.obj : added a very simple example of working with futexes
git-svn-id: svn://kolibrios.org@9867 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-08-02 05:39:06 +00:00
turbocat
68a5f069bd ksys.h: fixed data types in futex wrappers
git-svn-id: svn://kolibrios.org@9864 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-29 20:55:22 +00:00
turbocat
7a21f11ebd Rollback to 9861.
git-svn-id: svn://kolibrios.org@9863 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-26 08:57:22 +00:00
turbocat
1e116c9679 libc.obj : Try fix "%o" scanf bug.
git-svn-id: svn://kolibrios.org@9862 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-26 08:32:48 +00:00
eastorwest
b3232bd390 fix sscanf
git-svn-id: svn://kolibrios.org@9861 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-23 15:02:09 +00:00
turbocat
cf7da98be8 libc.obj set "tan" as global
git-svn-id: svn://kolibrios.org@9846 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-19 19:27:38 +00:00
turbocat
3f52f417fc libc.obj: remove gcc dependency from tupfile.
git-svn-id: svn://kolibrios.org@9844 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-19 15:51:48 +00:00
turbocat
4f75a74c2c libc.obj: now builded to kos32-tcc
git-svn-id: svn://kolibrios.org@9843 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-19 15:47:00 +00:00
turbocat
a0f200534d ksys.h:
- Fixed formatting;
 - Added wrapper for sysfunction 65.

git-svn-id: svn://kolibrios.org@9836 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-15 10:45:06 +00:00
vitalkrilov
b66e372685 ksys.h:
- KSYS_SLOT_STATE_FREE has right value (9, not 6) now
- few style changes (snake_case)

git-svn-id: svn://kolibrios.org@9830 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-05 08:46:07 +00:00
vitalkrilov
c48822e03e sysfuncr.txt: added missing docs for SysFn77.10, SysFn77.11, SysFn77.13 from wiki
ksys.h:
- libc.obj's file synced with newlib's (r9788)
- added scancodes enum
- added wrappers for SysFn66.4 and SysFn66.5 (sys. hotkeys)
- added wrappers for SysFn77.0 -- SysFn77.3 (futexes)

git-svn-id: svn://kolibrios.org@9829 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-04 22:48:35 +00:00
Coldy
1ed1f3a5b1 libc.obj:
- headers update (now used true functions with attributes instead of pointers)
 - fixed some samples
kos_mbedtls:
microtar:
changes for compatible to latest version tcc and the libc.obj headers

git-svn-id: svn://kolibrios.org@9812 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-10 18:58:40 +00:00
Coldy
6753818fc0 Rollback to previous revision (unforeseen consequences)
git-svn-id: svn://kolibrios.org@9811 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-09 18:19:05 +00:00
Coldy
75d51a28c0 libc.obj: headers update (now used true functions with attributes instead of pointers)
git-svn-id: svn://kolibrios.org@9810 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-09 17:34:55 +00:00
turbocat
e9318b1780 ksys.h for tcc (duplicate r9784)
git-svn-id: svn://kolibrios.org@9786 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-25 20:05:53 +00:00
turbocat
2a2a059aa9 libc.obj: added tan.asm
git-svn-id: svn://kolibrios.org@9775 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 19:10:24 +00:00
turbocat
82646d764b libc.obj:
- Added inttypes header;
 - Fixed warnings in mouse api wrappers;
 - Preparation for build only via tcc+fasm.


git-svn-id: svn://kolibrios.org@9774 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 19:07:54 +00:00
vitalkrilov
eeb3d0e5b9 libc.obj: updated libc.def, fixed bug with log10
git-svn-id: svn://kolibrios.org@9773 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 17:30:33 +00:00
vitalkrilov
fda5ad66db libc.obj: added log2, log10, round functions
git-svn-id: svn://kolibrios.org@9772 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 17:08:10 +00:00
turbocat
56ff702799 ksys.h:
- Added to Newlib and should be in sync with the file from libc.obj; 
- Added new wrappers.

git-svn-id: svn://kolibrios.org@9767 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-15 14:02:43 +00:00
turbocat
99922e4c2c Update skipped files in previous commit
git-svn-id: svn://kolibrios.org@9766 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-15 09:11:49 +00:00
turbocat
cde4fa851d libc.obj:
- Formatted by clang-format (WebKit-style).
- Removed unnecessary errno linux. 
- Added KOS error codes. 
- String functions have been replaced with more optimal ones for x86. 
- Changed wrappers for 70 sysfunction.

git-svn-id: svn://kolibrios.org@9765 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-15 09:00:55 +00:00
vitalkrilov
dff8056cd6 Graph (branch: tcc_current): now you can provide a filename, when calling a program from shell, which should be opened on start.
tcc: ksys.h: added "const" to string argument of _ksys_debug_puts(...).

git-svn-id: svn://kolibrios.org@9764 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-13 00:31:51 +00:00
vitalkrilov
705c0883ac libc.obj: added missing sqrt, cosh functions
libc.def: added sqrt, cosh, sin, tan functions

git-svn-id: svn://kolibrios.org@9761 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-10 23:56:16 +00:00
turbocat
a89837dd81 libc.obj:
- Added pipe example;
 - Fixed Makefile.

git-svn-id: svn://kolibrios.org@9725 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-22 22:16:42 +00:00
Coldy
d37b797def libc.obj: Update fasm sample for auto load & linking
git-svn-id: svn://kolibrios.org@9718 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-15 16:43:51 +00:00
turbocat
36918e3217 libc.obj:
- Update crt0 
 - Removed autoloader generation(use libc.def).

git-svn-id: svn://kolibrios.org@9666 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-24 17:43:00 +00:00
turbocat
503ef75f8a ksys.h : style violation fixed.
git-svn-id: svn://kolibrios.org@9656 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-18 19:09:54 +00:00
turbocat
eb034ed6a1 ksys.h : added missing wrapper for sf 66.1 (thanks Vitalkrilov).
git-svn-id: svn://kolibrios.org@9655 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-18 19:05:45 +00:00
turbocat
0d9c69c2a0 libc.obj:
- Unified stdcall and cdecl;
 - Fixed clayer to use def format;
 - Fixed build examples.


git-svn-id: svn://kolibrios.org@9620 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 18:09:37 +00:00
vitalkrilov
46d9482bb0 Fixed misuse of "/rd/1" (changed to "/sys") for all other programs
git-svn-id: svn://kolibrios.org@9587 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-07 12:42:44 +00:00
turbocat
e08c6968ef ktcc: rollback to r9529
git-svn-id: svn://kolibrios.org@9558 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-02 12:16:17 +00:00
turbocat
b91e4571a3 ktcc: fixed crt0.asm build and added to lib folder
git-svn-id: svn://kolibrios.org@9556 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:53:09 +00:00
turbocat
c62ef7970d libc.obj: Use crt0.asm by Coldy as default
git-svn-id: svn://kolibrios.org@9554 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:38:32 +00:00
turbocat
0428045f25 libc.obj: Updated samples.
git-svn-id: svn://kolibrios.org@9553 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:37:00 +00:00
turbocat
1eff55fdee libc.obj: Fix clayer headers for work def.
git-svn-id: svn://kolibrios.org@9552 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:33:14 +00:00
IgorA
ee947e3840 fix 'sscanf' by vitalkrilov
git-svn-id: svn://kolibrios.org@9529 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-30 16:45:04 +00:00
turbocat
cfde3b082c libc.obj: added missing sin and tan
git-svn-id: svn://kolibrios.org@9515 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-28 18:17:27 +00:00
Kirill Lipatov (Leency)
56f2108b54 various updates, rework skin_feol_new
git-svn-id: svn://kolibrios.org@9482 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-27 01:12:27 +00:00
turbocat
c344589fa0 Fixed bug: https://board.kolibrios.org/viewtopic.php?f=24&p=77680#p77627 (thanks Coldy)
git-svn-id: svn://kolibrios.org@9463 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-23 17:07:46 +00:00
turbocat
9257d2c34c libc.obj:
- Added basename() and  dirname()
 - libc_test all tabs -> spaces

git-svn-id: svn://kolibrios.org@9262 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-12 22:45:22 +00:00
turbocat
f0928164bd libc.obj: fixed asctime() format and UTC mktime() bug.
git-svn-id: svn://kolibrios.org@9260 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-07 19:29:12 +00:00
turbocat
9ca128acbd Added libc_test.c for testing libc.obj (by "navichok26")
git-svn-id: svn://kolibrios.org@9242 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-03 18:52:54 +00:00
turbocat
82ddf447d5 libc.obj: Fixed div, ldiv, lldiv ( problem with the compatibility of returned structures in functions between tcc and gcc) thanks to Boppan).
git-svn-id: svn://kolibrios.org@9233 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-02 21:29:04 +00:00
turbocat
bd8a5b6e8e libc.obj:
- added strtod();
 - added "+" to fopen mode; 

git-svn-id: svn://kolibrios.org@9230 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-01 14:46:28 +00:00
turbocat
d38b3890d2 Added libshell for TCC
git-svn-id: svn://kolibrios.org@9207 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-26 19:56:07 +00:00