Commit Graph

46 Commits

Author SHA1 Message Date
superturbocat2001
c68065b23e - Added new function to libimg.h
- Updated libimg example
( applicable to ktcc )

git-svn-id: svn://kolibrios.org@8541 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-23 08:16:35 +00:00
superturbocat2001
fa2d611c7e Fixed strerror function and added socket error handling.
Cleared all libck warnings. 
Updated libimg.h

git-svn-id: svn://kolibrios.org@8540 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-18 22:04:07 +00:00
superturbocat2001
a61177b2ae - Moved error codes to errno.h
- Removed non-working files for compilation via gcc.

git-svn-id: svn://kolibrios.org@8536 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-15 21:48:24 +00:00
superturbocat2001
38cd0f8a9a - Updated tcp_demo example.
git-svn-id: svn://kolibrios.org@8521 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-05 15:29:30 +00:00
superturbocat2001
a0d5358c87 - Fix scrollbar crash BoxLib example.
git-svn-id: svn://kolibrios.org@8508 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-03 19:21:28 +00:00
superturbocat2001
4d192ca472 - Fixed boxlib loader
- Updated example boxlib.c

git-svn-id: svn://kolibrios.org@8465 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-21 18:12:23 +00:00
superturbocat2001
1dab73b754 - Added macros X_W and Y_H and deleted debug kos32sys1.h
- Moved debug functions to libc.a
- Removed console.h since libcon no longer exists
- Added tcc_http_demo to build_all.sh
(Applies to ktcc)

git-svn-id: svn://kolibrios.org@8464 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-21 18:08:02 +00:00
51f9df912f ktcc: http_tcp_demo refactoring & net/network.h small fix
git-svn-id: svn://kolibrios.org@8450 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 22:44:07 +00:00
045e0dbdd2 ktcc: added sample http_tcp_demo - working with http using only tcp sockets
git-svn-id: svn://kolibrios.org@8448 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 18:38:07 +00:00
superturbocat2001
18fd7921cf - Added libdialog binary
- Fixed buid_all.sh

git-svn-id: svn://kolibrios.org@8428 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-16 18:13:19 +00:00
superturbocat2001
826c0501b8 - Added libdialog.a (proc_lib loader) and sample
- Deleted old console example (replacement: consoleio)
- Added RGB struct to kos32sys1.h
(applies to ktcc)

git-svn-id: svn://kolibrios.org@8426 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-16 17:15:39 +00:00
superturbocat2001
561e5c5b1c - Fixed math.h
git-svn-id: svn://kolibrios.org@8406 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 15:18:31 +00:00
superturbocat2001
e3dcd433b3 - Added TinyGL for ktcc
- Added TinyGL example "gears"

git-svn-id: svn://kolibrios.org@8405 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 14:38:38 +00:00
superturbocat2001
5b3b09698f - Removed melibc in ktcc
git-svn-id: svn://kolibrios.org@8404 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 12:27:58 +00:00
superturbocat2001
99103794f2 - Added simple function "getopt" in stdlib (tcc)
git-svn-id: svn://kolibrios.org@8380 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-12 20:09:30 +00:00
superturbocat2001
4c90768ccb - network.obj loader has been moved to a separate libnetwork.a library
git-svn-id: svn://kolibrios.org@8338 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-07 23:36:57 +00:00
superturbocat2001
1094e71a7d - added network.obj loader
- added _ksys_kill_process function
in libck.a ktcc

git-svn-id: svn://kolibrios.org@8337 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-07 21:19:51 +00:00
superturbocat2001
818c477d6f - Added functions for working with sockets in libck tcc
git-svn-id: svn://kolibrios.org@8315 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-03 17:27:05 +00:00
superturbocat2001
5451715e39 - Added "lsdir" function to libck ktcc.
- Added "fs" folder to build.bat in libck for tcc.
- Updated libck and dir_example

git-svn-id: svn://kolibrios.org@8289 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-01 16:19:41 +00:00
maxcodehack
3ffe214e13 Add Makefile to kos32-tcc sample programs
git-svn-id: svn://kolibrios.org@8282 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-30 07:38:09 +00:00
superturbocat2001
5941f0e334 - Added 4 functions to libck: getcwd, setcwd, mkdir, rmdir.
- Fixed Makefile for building "libck" under tcc. 
- Added example to new functions

git-svn-id: svn://kolibrios.org@8280 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-29 22:05:50 +00:00
superturbocat2001
2e992f24ea - Added TEAtool source files
- Compressed kos32-tcc
- Changed the paths of the output files in buid_all.sh

git-svn-id: svn://kolibrios.org@8251 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-24 15:13:42 +00:00
maxcodehack
f75ba1987d Add example to TCC melibc #2
git-svn-id: svn://kolibrios.org@8231 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-21 13:31:00 +00:00
maxcodehack
25cf1adde0 Fix 'dynamic.c 'autobuild (build_all.sh)
Add 'console.c' to autobuild

git-svn-id: svn://kolibrios.org@8195 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-14 17:57:14 +00:00
maxcodehack
03f5f50786 Fix drawing artefacts in boxlib example
git-svn-id: svn://kolibrios.org@8194 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-14 17:43:59 +00:00
maxcodehack
a797e5d3ef move image
git-svn-id: svn://kolibrios.org@8189 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-13 17:59:30 +00:00
maxcodehack
6e33acd6ee Add libimg example to build_all.sh
git-svn-id: svn://kolibrios.org@8188 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-13 17:54:21 +00:00
maxcodehack
9a24f3f7fb Tcc:
Add libimg example, update other examples

git-svn-id: svn://kolibrios.org@8187 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-13 17:47:07 +00:00
maxcodehack
dee3b0b3ed Add boxlib example without lib kolibri_gui. Only kos32sys.h (GCC)
git-svn-id: svn://kolibrios.org@8185 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-13 16:40:41 +00:00
maxcodehack
1930e23f58 Ktcc:
- kos32sys1.h: Tcc dont support aliasing but support defines
- boxlib sample: Update sample for upper fix
- Rasterworks example: Fix 'bright' letters

git-svn-id: svn://kolibrios.org@8171 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-10 18:53:57 +00:00
maxcodehack
a26092c937 Update boxlib example:
Add progressbar

git-svn-id: svn://kolibrios.org@8110 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-18 16:08:37 +00:00
maxcodehack
1c69f15cea Edit samples
git-svn-id: svn://kolibrios.org@8109 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-18 11:18:51 +00:00
maxcodehack
8ce9d8845f Remove libconsole.a and libbox_lib.a and their sources
Now we can use console via conio.h
Boxlib via libbox.a

git-svn-id: svn://kolibrios.org@8108 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-18 11:07:44 +00:00
superturbocat2001
6d98726351 - Added libbox.a and libbuf2d.a to TinyC.
- The structure of the header files has been reorganized.

git-svn-id: svn://kolibrios.org@8107 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-17 17:31:09 +00:00
maxcodehack
6154138ea6 clayer TinyC
- Add new sample
- Fix bug: 'Unexpected stack end'

git-svn-id: svn://kolibrios.org@8106 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-17 16:30:47 +00:00
maxcodehack
d887c0ddfb Add C_Layer for TinyC
- Boxlib wrapper

git-svn-id: svn://kolibrios.org@8104 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-17 13:25:57 +00:00
superturbocat2001
71b2505f8a Added libraries to ktcc: "rasterworks", "libimg", "libgb", "msgbox". And also an examples for these libraries.
Fixed header file "msgbox.h"

git-svn-id: svn://kolibrios.org@8101 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-15 23:17:06 +00:00
superturbocat2001
df0d0be7d4 Added "libmsgbox" to ktcc.
Added examples for working with coff-libraries and "libmsgbox" to ktcc. 
Modified binutils to work normally via console.obj.

git-svn-id: svn://kolibrios.org@8098 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-14 00:28:46 +00:00
01b4a611af Make examples more presentable.
git-svn-id: svn://kolibrios.org@7948 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-19 09:38:59 +00:00
90cf9246ac Implement dynamic linking with system libraries via -lsyslibname:
console.obj
http.ibj
InputBox.obj
Add header files for apps what dynamically link these libraries.


git-svn-id: svn://kolibrios.org@7925 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-16 08:07:10 +00:00
Kirill Lipatov (Leency)
842c228f23 add tcc/samples/build_all.sh
git-svn-id: svn://kolibrios.org@7910 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-11 07:32:44 +00:00
Kirill Lipatov (Leency)
ef6d8a9089 remove duplication simple, force to add lib/*
git-svn-id: svn://kolibrios.org@7850 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-30 10:05:04 +00:00
Kirill Lipatov (Leency)
b364fe71e3 TCC: join two dirs into one
git-svn-id: svn://kolibrios.org@7849 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-30 09:59:56 +00:00
siemargl
26c74ab3f2 samples upd
git-svn-id: svn://kolibrios.org@6460 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-07-09 19:44:55 +00:00
siemargl
3e571bd7cc small polish, samples
git-svn-id: svn://kolibrios.org@6443 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-06-10 11:10:52 +00:00
andrew_programmer
16f5992719 Mistakes in functions of work with files and with system calls KolibriOS are corrected.
New functions for work with system calls KolibriOS are added. Functions for format output 
are added: printf (), fprintf (), sprintf (), snprintf (), vsnprintf (). For material 
numbers it is meanwhile supported only format output the (%f), and exponential output a (%e)
is not realized yet. 
Functions for format output correctly work only in GCC because TinyC incorrectly works with
the functions containing variable number of arguments.

git-svn-id: svn://kolibrios.org@647 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-15 09:42:17 +00:00