Commit Graph

10117 Commits

Author SHA1 Message Date
9f5dd6cbdd Switch CD image to the native boot
No floppy emulation anymore. No attempts to save changed settings on
the blue screen.
2025-02-22 20:03:31 +00:00
e633ea8eac Fix extended_primary_loader for native CD boot
When the extended primary loader for CD was introduced in 2008-2009 it
used to load a relatively small secondary loader. Later the secondary
loader was integrated into the kernel, hence the primary loader had to
load the kernel which is 100kB+. The EDD BIOS specification allows to
read less than 0x80 sectors at once using Int 0x13 0x42 service. For a
512-byte sector this is less than 0x10000 bytes which is a 64kB limit.
The same limit of 64kB is reached on a CD with only 0x20 sectors,
because the sector size is 2048 bytes here. This commit changes the
maximum number of sectors that can be read by the loader at once from
0x7f to 0x20, i.e. reading is done in 64kB blocks now.
2025-02-22 20:03:24 +00:00
Taldariner
c07e2a9857 Sorted selectors in icons.ini 2025-02-12 19:03:24 +02:00
195f996c1b Fix icon search function in box_lib/filebrowser
Consider a config file with the following two lines:
abc=1
c=2

Previously, the first line matched *.c files, because it had the 'c=1'
substring. Now we skip until the next line as soon as 'abc' doesn't
match 'c'.
2025-02-11 20:44:41 +00:00
17eebff188 Fix a kernel crash on a CD, with 512MB RAM
CDDataBuf was considered a free memory. It was then allocated for other
kernel structures what eventually caused the crash.

The bug report: https://www.youtube.com/watch?v=tXMD9_gEUcA
2025-02-09 19:38:30 +00:00
84bc176353 menu: Use less hardcoded numbers, more constants 2025-02-09 19:38:30 +00:00
Taldariner
50220d0cd9 C--: added proper ini file
Version of c-- compiler executable in repo is similar to autobuild server, but c--.ini is different and have mistakes that cause compilation bugs.
For example, if you try to compile sysmon app on commit 8f7ee79 or previous, CPU load of all processes will be displayed as 0%.
And if you try to display load in cycles, it will display some big negative value, like it's integer type got overflowed.
This commit adds proper version from autobuild server, allowing to compile C-- programs without such bugs.
2025-02-06 17:34:44 +02:00
Taldariner
d68b350360 Apps/sysmon: fixed wrong encoding and simplified boolean comparsion 2025-02-06 17:01:11 +02:00
Taldariner
f366d6d925 SysMon: Fixed ghost threads filtering and removed trailing whitespaces 2025-02-06 16:37:50 +02:00
d235c8914c Fix ghost threads in CPU
* kernel: Make sf9 return TSTATE_FREE for invalid slots: 0, >255, free.
* menu: Ignore free slots even if other fields of proc_info look valid.
        Documentation (sysfuncs.txt) clearly states all the other info
        as invalid when slot_state is TSTATE_FREE.
* taskbar: Same as menu.
* cmm/lib/*: Same as menu.
* programs/macros.inc: Add TSTATE_* macros.
2025-02-01 03:32:16 +00:00
6933ee64cd Ger rid of some 'trunk' dirs in /programs/games 2025-01-20 14:40:21 +00:00
4cfb1a27b5 Krn: Fixed the calling convention for the "load_pe_driver" function 2025-01-19 19:26:48 +05:00
8f7ee79d05 Apps/sysmon: Fixed #85
Small code changes to fix all issues mentioned in Issue #85:
- Bumped app version and added it to header.
- Changed system disk usage subscription from MB to KB in English version.
- Properly aligned CPU usage percents in process list with header.
- Free space on disks now rounds down, instead of rounding app.
- Small formatting fixes.
- Fixed wrong language set in English version of compilation script.

Co-authored-by: Taldariner <71024372+Taldariner@users.noreply.github.com>
Reviewed-on: #86
Reviewed-by: Max Logaev <mxlgv@noreply.localhost>
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
Co-authored-by: Burer <burer@noreply.localhost>
Co-committed-by: Burer <burer@noreply.localhost>
2025-01-19 13:48:19 +01:00
Taldariner
da418f65b3 Charset Checker: fixed macros import
Fixed macros import for autobuild server.
2025-01-17 13:12:31 +02:00
Taldariner
bfc59f6636 Charset Checker: updated to 0.3.1
- Functionality to pick and preview single character
- Functionality to input character from keyboard
- Display of ASCII and SCAN codes of character in dec and hex format
- Small UI fixes
- Code refactoring
- Reformatted sources, fixed indentation and removed non-Unicode characters
2025-01-17 13:06:44 +02:00
rgimad
f7bdaa8909 fix hotkey names in eolite context menu 2025-01-16 23:39:43 +03:00
rgimad
2dd6a1516e increase font in right button context menu 2025-01-15 23:57:58 +03:00
5593d344cd Add serial ports driver
This commit adds a new serial port driver that allows other drivers to add or remove ports dynamically and allows applications to use a single serial ports API. It also modifies the usbftdi driver to support the new serial ports API.

The driver may conflict with kernel if it is compiled with debug_com_base.

Topic on forum https://board.kolibrios.org/viewtopic.php?p=78764

Reviewed-on: #94
Reviewed-by: Gleb Zaharov <sweetbread@coders-squad.com>
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
Co-authored-by: Alexey Ryabov <alex@b00bl1k.ru>
Co-committed-by: Alexey Ryabov <alex@b00bl1k.ru>
2025-01-12 14:28:42 +01:00
rgimad
28668acd86 update icon for dino again 2025-01-12 15:58:16 +03:00
rgimad
cb733c6d1d update dino, add to ru game center 2025-01-12 15:50:54 +03:00
rgimad
cf354ec8d3 add dino to desktop, update dino icon 2025-01-12 14:45:18 +03:00
c8e9e5a2a7 Fix autobuild for dino 2025-01-11 20:32:29 +00:00
rgimad
b815aee084 fix typo in tupfile 2025-01-11 15:16:06 +03:00
rgimad
7a6d042da7 upload dino game, add to img, to game center 2025-01-11 15:14:48 +03:00
2d9007da32 Add charset_checker to autobuild 2025-01-11 00:34:15 +00:00
Taldariner
b558f23604 Added Charset Checker program 2025-01-10 20:25:37 +02:00
rgimad
dd5a6a7316 added 26.2 to ksys.h 2025-01-05 23:43:03 +03:00
Serhii Sakhno
975284f5f3 Eolite: provide label for NVMe disks on left panel
Signed-off-by: Serhii Sakhno <serhii.sakhno.jr@gmail.com>
2024-08-01 22:29:57 +03:00
8ece779b4b Merge pull request 'Extra comma in ksys.h' (#79) from Egor00f/kolibrios:main into main
Reviewed-on: #79
Reviewed-by: Gleb Zaharov <sweetbread@coders-squad.com>
2024-07-23 00:41:58 +02:00
a218a83bd5 Fix ksys.h
Extra comma in ksys_draw_bitmap_palette function
2024-07-22 22:18:31 +00:00
c762489408 Merge pull request 'Correction of error' (#80) from Spaceraven/kolibrios:main into main
Reviewed-on: #80
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
2024-07-17 20:42:05 +02:00
3d02856efe Correction of error 2024-07-17 18:00:55 +05:00
4a166ede82 Another fix for locale names 2024-07-11 09:00:28 +01:00
46e816c366 Fix locale codes for kernel build scripts 2024-07-10 17:42:26 +01:00
65239bc359 [taskbar] Fix context menu strings 2024-07-10 05:02:08 +01:00
f222e98a09 All: Update locale codes (Part 2) (#76)
- Update language codes and add comments.
- Correct `en_US` translations.
- Some whitespace clean-up (mainly EOL sanitation).

Reviewed-on: #76
Co-authored-by: Andrew <dent.ace@gmail.com>
Co-committed-by: Andrew <dent.ace@gmail.com>
2024-06-14 10:35:46 +02:00
c0324e5907 Обновить programs/media/animage/trunk/menu_instruments.inc
animage use system buffer ClipBoard from Copy | Paste
2024-06-09 21:19:46 +02:00
415eaef8db [Boot] Update for locales
- Fixes for new locale codes.
- Some whitespace clean-up.

Reviewed-on: #73
Reviewed-by: Gleb Zaharov <sweetbread@coders-squad.com>
2024-06-05 13:45:06 +02:00
4f08d0ad8b [Boot] Update for locales
- Fixes for new locale codes.
- Some whitespace clean-up.
2024-06-05 10:00:06 +01:00
b6a0bf7729 Fix autobuild text on the blue boot screen 2024-06-03 04:03:51 +01:00
412e42a342 Most of language code fixes 2024-06-03 00:34:02 +01:00
66816d7a7e More language code fixes
I commit in several commits to check autobuild
2024-06-02 04:51:22 +01:00
e23778f306 Fix language tags for cmm programs
ru -> ru_RU
2024-06-02 03:56:38 +01:00
4dac8068a5 [docs] Replace cyrillic 'с' with latin 'c' in register names
git-svn-id: svn://kolibrios.org@10074 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-06-01 02:17:20 +00:00
d470cce4d8 Fix language codes in the kernel
git-svn-id: svn://kolibrios.org@10073 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-06-01 01:37:18 +00:00
f9693d139b [zSea] Fix translations
Update locale codes for `lsz` macro, used to translate text in 'zSea'.

git-svn-id: svn://kolibrios.org@10072 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-06-01 00:36:39 +00:00
c0607ba4f5 [taskbar] Fix language codes e.g. "et_EE"
git-svn-id: svn://kolibrios.org@10071 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-31 23:21:26 +00:00
f80a8960b0 Fix EN comments in kernel
- Minor tweaks and translations from RU.
- Includes work by @rgimad.

git-svn-id: svn://kolibrios.org@10070 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-30 21:54:55 +00:00
48bd92cda2 Fix EN comments in kernel
- Minor tweaks.
- Includes work by @rgimad.

git-svn-id: svn://kolibrios.org@10069 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-30 21:16:43 +00:00
09cb62069d Fix EN typos
- Corrections for en_US language.
- Some whitespace sanitation.

git-svn-id: svn://kolibrios.org@10068 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-30 20:45:33 +00:00