Commit Graph

208 Commits

Author SHA1 Message Date
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
Coldy
4faa50bec6 fix autobuild
git-svn-id: svn://kolibrios.org@9783 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-24 17:46:31 +00:00
Coldy
db785142be ktcc: added __attribute__((dllimport)) support
git-svn-id: svn://kolibrios.org@9782 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-24 17:28:28 +00:00
turbocat
c5ebb23061 ktcc: removed old files
git-svn-id: svn://kolibrios.org@9777 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-21 20:50:12 +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
Coldy
5b5a240f91 tcc: added funcs in defs, added ini.def, tiny.o
git-svn-id: svn://kolibrios.org@9697 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-07 16:58:03 +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
0e9c10036a ktcc set kx folder as bin
git-svn-id: svn://kolibrios.org@9663 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-24 17:01:24 +00:00
turbocat
5ad2a02ead ktcc: delete old bin files
git-svn-id: svn://kolibrios.org@9662 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-24 16:57:30 +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
c156c16675 ktcc: Update libs and defs in kx dir.
git-svn-id: svn://kolibrios.org@9622 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 18:19:04 +00:00
turbocat
b8ce8e4da0 ktcc: update old boxlib loader
git-svn-id: svn://kolibrios.org@9621 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 18:13:55 +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
turbocat
c5f03d0dac ktcc:
- Fixed autolink bug;
 - Mixed up members of IMAGE_MEOS_FILE_HEADER structure fixed.

git-svn-id: svn://kolibrios.org@9619 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 17:45:45 +00:00
turbocat
4f51865ee3 ktcc: Fixed tcc_find_symbol_me.
git-svn-id: svn://kolibrios.org@9617 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 00:24:09 +00:00
turbocat
b50d4e8c3f ktcc:
- Added autolink libc.def and libtcc1;
- Fixed find crt0.o with arg -B (MUST BE REVISED);

git-svn-id: svn://kolibrios.org@9615 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-11 20:39:28 +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
5c8619e65c ktcc:
- fixed bug with crt0.o search when using -B parameter.
 - removed support for tcc.conf.

git-svn-id: svn://kolibrios.org@9557 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 20:05:13 +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
turbocat
b090eb116d ktcc: is now KX by default. Added new def files for import.
git-svn-id: svn://kolibrios.org@9551 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:31:26 +00:00
turbocat
5d71c48018 ktcc: Deleted residual files
git-svn-id: svn://kolibrios.org@9550 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:25:02 +00:00
turbocat
4f6fba63fd ktcc: Removed old samples and old libctest.
git-svn-id: svn://kolibrios.org@9549 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:23:35 +00:00
turbocat
e0891b157c ktcc: removed old COFF library wrappers.
git-svn-id: svn://kolibrios.org@9548 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:22:40 +00:00
turbocat
e0e11ba32b ktcc: Delete old libc sources
git-svn-id: svn://kolibrios.org@9547 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:20:03 +00:00
turbocat
a3a9827bf6 ktcc: fixed autobuild
git-svn-id: svn://kolibrios.org@9546 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:16:17 +00:00
turbocat
c5b0697beb ktcc: Added autolink libc.def and libtcc1.a
git-svn-id: svn://kolibrios.org@9545 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:13:06 +00:00
turbocat
ed503e101c ktcc: disabled auto-build for linux and windows (not enough tools).
git-svn-id: svn://kolibrios.org@9544 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 15:39:46 +00:00
turbocat
85c4fdb6b2 ktcc: added linux and windows tup-build.
git-svn-id: svn://kolibrios.org@9543 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 15:34:31 +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
Coldy
1f8ba94314 ktcc: Temporary disable KX extension (by default)
git-svn-id: svn://kolibrios.org@9523 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-29 19:53:10 +00:00