Commit Graph

56 Commits

Author SHA1 Message Date
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
turbocat
2076a4a777 libc.obj:
- Added vsprintf to export
 - Added sdltest.c example

git-svn-id: svn://kolibrios.org@9204 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-26 17:55:43 +00:00
turbocat
4918685b4a libc.obj: Fixed calloc function
git-svn-id: svn://kolibrios.org@9189 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-13 19:02:24 +00:00
turbocat
9d2e5a6e3a libc.obj:
- Extra zero for use with gcc

git-svn-id: svn://kolibrios.org@9179 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-06 20:24:26 +00:00
turbocat
109befa1e4 libc.obj:
- fixed fread bug  

git-svn-id: svn://kolibrios.org@9165 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-29 18:27:24 +00:00
turbocat
785dcb3341 libc.obj:
- fixed return fwrite and fread as well as eof

git-svn-id: svn://kolibrios.org@9156 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-26 20:35:11 +00:00
turbocat
e5501138fe "thread_work" C example added to "build_all.sh"
git-svn-id: svn://kolibrios.org@9155 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-25 19:01:29 +00:00
turbocat
e7ec006b8b libc.obj:
- Added atof function
- Added example for working with threads

git-svn-id: svn://kolibrios.org@9137 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-15 20:21:32 +00:00
turbocat
52dd2872bf libc,obj:
- changed wrapper names

git-svn-id: svn://kolibrios.org@9094 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-27 00:20:54 +00:00
turbocat
e10c8c25cc libc.obj:
- restructured ksys.h

git-svn-id: svn://kolibrios.org@9093 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-26 23:42:35 +00:00
turbocat
8fa851ddb6 libc.obj:
strtol.с  - removed existing definitions;
fgets.c - uses fread() to read;
gets.c  - added additional check;

git-svn-id: svn://kolibrios.org@9081 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-24 21:28:39 +00:00
turbocat
f1b06bbf99 libc.obj:
updated constants

git-svn-id: svn://kolibrios.org@9077 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-23 20:24:26 +00:00
turbocat
678de81f24 kolibri-libc:
- added qsort and assert
- delete junk files
- updated libc loader


git-svn-id: svn://kolibrios.org@9013 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-06 18:18:46 +00:00