Commit Graph

5461 Commits

Author SHA1 Message Date
142ed3aef0 Fix autobuild for games/c4 (nasm)
git-svn-id: svn://kolibrios.org@10044 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-21 15:44:29 +00:00
8f444289e0 Trigger tup-0.8 autobuild (minor Tupfile.lua changes)
git-svn-id: svn://kolibrios.org@10043 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-21 14:55:01 +00:00
e9e08c56b6 Update Tupfile.lua's for tup-0.8
git-svn-id: svn://kolibrios.org@10042 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-21 14:45:21 +00:00
0eabeee0d3 Rename fontRasterWorks(unicode) to fontRasterWorks_unicode
This is needed to migrate to tup-0.8.
I'm sure it was possible to workaround this and keep the name,
but it was easier to rename.

git-svn-id: svn://kolibrios.org@10041 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-21 14:44:37 +00:00
917cebdce1 [cmm] New option /OPATH to specify output file name
This is needed to migrate to tup-0.8.

git-svn-id: svn://kolibrios.org@10040 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-21 14:42:21 +00:00
e61afd673e Optimize png files for bcc32/examples
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software): 
- Slimmed 8 KiB (~8 KiB kpacked), ~22% saving for 1 file.

git-svn-id: svn://kolibrios.org@10035 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-15 20:54:17 +00:00
7ab6b3e984 Optimize png files for cmm/pixie2
Manually tweaked to use true black background (RGB:0,0,0), fixed 1 pixel, then lossless optimization of png image, using `pngslim` and other tools. 
Program graphics (compiled or included with software):
- Slimmed 46 B (~37 B kpacked), ~3% saving for 1 file.

git-svn-id: svn://kolibrios.org@10034 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-15 20:40:42 +00:00
8735d3ceac Optimize png files for cmm programs
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software): 
- Slimmed 191 B (~281 B kpacked), average ~1% saving for 3 files.
Source artwork material (not directly included in a distribution):
- Slimmed 7 KiB (~5 KiB kpacked), average ~41% saving for 13 files.

git-svn-id: svn://kolibrios.org@10033 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-15 20:09:44 +00:00
fe541dca92 Optimize png files for demos/free3d
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software):
- Slimmed 8.3 KiB (~8.3 KiB kpacked), ~8% saving for 1 file. Note: restricted to 24bpp / RGB-8.


git-svn-id: svn://kolibrios.org@10032 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-15 12:48:37 +00:00
ace_dent
33d9aafa30 Optimize png files for programs/develop
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software):
- Slimmed 28.7 KiB (~28.5 KiB kpacked), average ~19% saving for 13 files.
Documentation only artwork (distributed outside of a program):
- Slimmed 100 KiB (~91 KiB kpacked), average ~38% saving for 27 files.

git-svn-id: svn://kolibrios.org@10031 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-14 21:07:20 +00:00
ace_dent
fcfa96f74d Optimize png files for emulator/e80
Lossless optimization of png image files, using `pngslim` and other tools.
Documentation only artwork (distributed outside of a program):
- Slimmed 52 B (~81 B kpacked), ~1% saving for 1 file.

git-svn-id: svn://kolibrios.org@10030 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-14 10:07:33 +00:00
ace_dent
dc416dc668 Optimize png files for games resources
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software):
- Slimmed 526 KiB (~485 KiB kpacked), average ~39% saving for 20 files.
Source artwork material (not included in a distribution):
- Slimmed 433 B (~425 B kpacked), ~15% saving for 1 file.
Old vestigial images (may no longer be used):
- Slimmed 41.9 KiB (~16.9 KiB kpacked), average ~45% saving for 8 files.

git-svn-id: svn://kolibrios.org@10029 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-14 07:34:18 +00:00
ace_dent
857a5d17e2 Optimize png files for games
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software): 
- Slimmed 64 KiB (~64 KiB kpacked), average ~16% saving for 9 files.
Documentation only artwork (distributed outside a program):
- Slimmed 4.5 KiB (~4.6 KiB kpacked), average ~15% saving for 6 files.
Source artwork material (not directly included in a distribution):
- Slimmed 2.6 KiB (~2 KiB kpacked), average ~26% saving for 4 files.

git-svn-id: svn://kolibrios.org@10028 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-13 21:43:30 +00:00
ace_dent
4cc0fb283b Optimize png files for media/voxel_editor
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software):
- Slimmed 3.6 KiB (~3.6 KiB kpacked), average ~29% saving for 6 files.
Documentation only artwork (distributed outside a program):
- Slimmed 45.7 KiB (~33 KiB kpacked), average ~38% saving for 28 files.

git-svn-id: svn://kolibrios.org@10027 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-13 16:40:01 +00:00
ace_dent
a2db07d6e1 Optimize png files for media/log_el
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software):
- Slimmed 2.1 KiB (~2.1 KiB kpacked), average ~34% saving for 5 files.
Documentation only artwork (distributed outside a program):
- Slimmed 31.4 KiB (~28.2 KiB kpacked), average ~41% saving for 18 files.

git-svn-id: svn://kolibrios.org@10026 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-13 16:07:45 +00:00
ace_dent
865fd3a825 Optimize png files for media programs
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software):
- Slimmed 453 B (~467 B kpacked), average ~8% saving for 5 files.
Documentation only artwork (distributed outside a program):
- Slimmed 112 KiB (~111 KiB kpacked), average ~30% saving for 11 files.

git-svn-id: svn://kolibrios.org@10025 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-13 15:39:02 +00:00
ace_dent
4febef90c3 Optimize png files for network/ftpc
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software):
- Slimmed 102 B (~102 B kpacked), average ~11% saving for 2 files.

git-svn-id: svn://kolibrios.org@10024 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-13 13:13:12 +00:00
ace_dent
176ea5ae89 Optimize png files for other/ programs
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software):
- Slimmed 0.5 KiB (~0.5 KiB kpacked), average ~15% saving for 3 files.
Documentation only artwork (distributed outside a program):
- Slimmed 23.8 KiB (~22.7 KiB kpacked), average ~64% saving for 2 files.

git-svn-id: svn://kolibrios.org@10023 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-13 12:57:37 +00:00
ace_dent
3dccbc50a0 Optimize png files for other/cnc_control and /cnc_editor
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software):
- Slimmed 1.5 KiB (~1.5 KiB kpacked), average ~24% saving for 4 files.
Documentation only artwork (distributed outside a program):
- Slimmed 28.8 KiB (~26.3 KiB kpacked), average ~33% saving for 23 files.

git-svn-id: svn://kolibrios.org@10022 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-13 12:32:03 +00:00
ace_dent
4e2a675928 Optimize png files for programs/system resources
Lossless optimization of png image files, using `pngslim` and other tools.
Program graphics (compiled or included with software):
- Slimmed 7.1 KiB (~7.1 KiB kpacked), ~54% saving for 1 file. Note: Color mode changed RGBA>Palette.
Documentation only artwork (distributed outside a program):
- Slimmed 62 B (~64 B kpacked), ~6% saving for 1 file.
Source artwork material (not directly included in a distribution):
- Slimmed 1.9 KiB (~1.9 KiB kpacked), ~17% saving for 1 file.

git-svn-id: svn://kolibrios.org@10021 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-13 11:51:04 +00:00
Doczom
9c44899099 Apps: fixed 3 programs for using a long path in parameters
git-svn-id: svn://kolibrios.org@10017 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-10 16:54:08 +00:00
Doczom
eae9e31a6e Fasm: Fixed a bug when building programs with the length of the included file name >100 bytes
git-svn-id: svn://kolibrios.org@10011 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-02 19:31:51 +00:00
Doczom
3c309b14e1 midiplay: Added code to work with the MPU 401 port bypassing the 20 sysfn
Refactored code and code style

git-svn-id: svn://kolibrios.org@10009 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-04-08 17:02:39 +00:00
hidnplayr
5f4e6c65ce Bugfix in CTCP
git-svn-id: svn://kolibrios.org@9992 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-11 21:52:38 +00:00
hidnplayr
97d2b9be48 Automatic algorithm selection.
git-svn-id: svn://kolibrios.org@9991 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-10 18:38:46 +00:00
hidnplayr
cc6df1e340 Added support for encrypt-then-mac modes (hmac-sha2-256-etm,hmac-sha2-512-etm)
git-svn-id: svn://kolibrios.org@9990 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-09 20:05:21 +00: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
hidnplayr
c60d5b31c6 -Added Poly1305-Chacha20 cipher (new hardcoded default)
-Use HMAC and CTR/CBC from libcrash instead of our own implementations
-Fixed stack allocation for keystroke handler thread

git-svn-id: svn://kolibrios.org@9987 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-06 20:22:01 +00:00
hidnplayr
f147ff4286 Poly1305: Fix forgotten variable init
git-svn-id: svn://kolibrios.org@9986 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-06 20:07:40 +00:00
hidnplayr
199ad2d9a4 Small speedup in modular exponentation routine (still not side channel resiliant)
git-svn-id: svn://kolibrios.org@9985 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-05 19:57:16 +00:00
hidnplayr
eb7e44a0e0 Fixed bug when parsing JOIN command.
Implemented proper handeling of partially received commands.

git-svn-id: svn://kolibrios.org@9984 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-05 09:49:00 +00:00
hidnplayr
a190416448 -Fixed bug where some commands were terminated with \r\r instead of \r\n
git-svn-id: svn://kolibrios.org@9981 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-02-28 20:48:02 +00:00
hidnplayr
e102235346 Allow cursor keys in editboxes (as mentioned in bug #153)
git-svn-id: svn://kolibrios.org@9980 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-02-23 21:37:26 +00:00
hidnplayr
1c69f80f04 -Fixed bug #150: ping reply length
-Fixed bug where some commands were terminated with \n\r instead of \r\n

git-svn-id: svn://kolibrios.org@9979 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-02-23 21:15:46 +00:00
hidnplayr
32b5aca57d Fixed bug #149 : parsing of subsequent non-printable characters
git-svn-id: svn://kolibrios.org@9978 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-02-23 16:55:00 +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
Doczom
67038a8fc9 programs in "programs\media" that use deleted system functions and whose rewriting is not rational have been moved to "programs\other\outdated"
git-svn-id: svn://kolibrios.org@9972 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-02-01 14:14:12 +00:00
Doczom
7f7718f532 Update headers programs : delete MENUET00 header on 2 programs.
Fixed mario2 game : delete using sysfn 6 and added constants 
Update macro.inc : Added new fields in process_information 

git-svn-id: svn://kolibrios.org@9971 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-21 11:23:12 +00:00
turbocat
ef78b78d1c DGen-SDL:
- The home directory is now taken from system.env;
- The original documentation was restored and converted into html;
- File path hints now work in command mode.

git-svn-id: svn://kolibrios.org@9970 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-20 18:10:56 +00:00
14bea4fd50 Update demos/gears to use sys/ksys.h
git-svn-id: svn://kolibrios.org@9965 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-15 03:32:24 +00:00
turbocat
9562f01892 NewLib:
- Duplicate functionality files removed;
- Refactoring of file handling functions;
- Removed broken impliments.
Gears (C + TinyGL):
- Removed because it duplicates an existing example on Fasm and uses unsupported wrappers on the KOS API.
KosJS:
- Removed. The MuJS port is too old and not used anywhere. Support is not profitable.
Backy:
- Removed useless GCC version. Support is not profitable.
DGen-SDL and SQLite3
- Fix after removing broken "dirent.h".
Fridge:
- Moving the KOS API wrapper to avoid compilation errors.
Udis86, uARM and 8086tiny:
- Fix after removing redundant "kos_LoadConsole.h".


git-svn-id: svn://kolibrios.org@9952 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-04 22:20:35 +00:00
ace_dent
52ed04f5cc Update docs/README.TXT and rename to CREDITS
- Rename to `CREDITS.TXT` for clarity.
- Improve text of opening paragraph. Thanks to various translators.
- Reformat to use headings, removing excessive whitespace characters (~2.5KiB).
- Sort list of contributors alphabetically; easier to maintain.
- Add missing contributors and remove from `kernel.asm`. Thanks to @rgimad.
- Minor formatting and whitespace cleanup.

git-svn-id: svn://kolibrios.org@9947 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-01 21:53:34 +00:00
Anton Krotov
9398cd7961 CEdit:
- added line spacing setting
- disabled highlighting of anonymous labels


git-svn-id: svn://kolibrios.org@9946 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-01 12:50:05 +00:00
Doczom
9ab6258bfe Added new driver for mount raw disk images.
- Added driver virt_disk.sys
 - Added the program "virtdisk" which allows you to add, delete and view virtual disks.

git-svn-id: svn://kolibrios.org@9945 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-01 08:47:52 +00:00
IgorA
d9820a5748 bcc32: add rasterworks example
git-svn-id: svn://kolibrios.org@9940 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 07:12:51 +00:00
6527c2c475 Rename TUPFILE.LUA to Tupfile.lua
Yes, autobuild is case-sensitive.

git-svn-id: svn://kolibrios.org@9936 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-11 20:28:44 +00:00
spaceraven
f995ff85cd Deleting binary; correcting small mistakes in ScreenRuler.asm
git-svn-id: svn://kolibrios.org@9935 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-11 19:10:09 +00:00
spaceraven
8a7de6d31d New program - Screen Ruler, for measuring distance between 2 pixel on screen.
git-svn-id: svn://kolibrios.org@9934 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-11 17:29:39 +00:00
31d2901d78 [taskbar] Add LCtrl+Esc hotkey to open/close menu
git-svn-id: svn://kolibrios.org@9933 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-02 01:57:02 +00:00
boppan
18f26e7cf9 [clink] Make it able to read and write more than 64k - 1 COFF relocation
These are changes from two commits from the upstream clink repo (https://github.com/mkostoevr/clink) and one commit from the upstream epep repo (https://github.com/mkostoevr/epep).

clink:

    Commit e63ed12ead17e47d77e848da0e7b9f4dd3ad5127
    Bugfix: Make it able to write more than 64k - 1 COFF relocations
    
    If the relocation count is greater than 0xffff then it can't fit
    in the NumberOfRelocations field of a section header. In order to
    specify greater relocation count IMAGE_SCN_LNK_NRELOC_OVFL flag
    should be added to Characteristics and the actual relocation count
    should be written into VirtualAddress field of the first COFF
    relocation.
    
    Commit 328fc3112a30fcaa808f2cad34028a6507d602a3
    Bugfix: Make it able to read more than 64k - 1 COFF relocations
    
    New EPEP API allows to read more than 64k - 1 relocations. Use it
    when reading relocation count for filling SectionInfo and when
    reading relocations for wriring the output file.

epep:

    Commit 3bed4e348a486c346d0a452c58c1d85e1805c09d
    Feature: Higher-level COFF relocations API
    
    Number of COFF relocations of a section is stored in the 16-bit
    NumberOfRelocations field of a section header. If a COFF object has
    more than 2^16 - 1 relocations, then the value does not fit in the
    field.
    
    To solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section
    header has been introduced. If this flag is set for the section,
    then the actual number of relocations is stored in the
    VirtualAddress field of the first relocation.
    
    If the flag is set, then NumberOfRelocations field of the section
    header should be equal to 0xffff, othervice the linker should give
    an error.
    
    So this patch introduces few functions adressing this mechanism.
    
    epep_section_contains_extended_relocations:
    
        Checks whether the section has more than 2^16 - 1 relocations.
        Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but
        the NumberOfRelocations field is not equal to 0xffff.
    
    epep_get_section_extended_number_of_relocations:
    
        Reads the number of COFF relocations from the VirtualAddress
        field of the first COFF relocation.
    
    epep_get_section_number_of_relocations_x:
    
        Gives the number of meaningful relocations of the section.
    
        If the section has less than 2^16 relocations, then returns the
        value of the NumberOfRelocations field of the section header,
        othervice reads the number of relocations from the first COFF
        relocation, but: since the first relocation in this case is not
        meaningful, gives the actual number of relocations minus one.
        This is used in the function documented below.
    
        Returns 1 in the last argument if the section contains extended
        number of relocations, 0 othervice.
    
    epep_get_section_relocation_by_index_x:
    
        If the section has less than 2^16 relocations, then just reads
        a relocation by the given index. In case if the section has
        extended number of relocations, the first relocation is not
        meaningful, so it is skipped, and the relocation at index + 1
        is read instead.



git-svn-id: svn://kolibrios.org@9927 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-06 14:41:09 +00:00