Commit Graph

10071 Commits

Author SHA1 Message Date
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
e1bea992de Revert the length of uglobals buffer (fix r9968)
This is a magic number again, but it is reported to work.

git-svn-id: svn://kolibrios.org@9969 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-16 05:39:27 +00:00
bd4ac33731 kernel, sf9: zero data buffer for empty slots
Now sf9 doesn't read uninitialized memory when called for an empty slot.
Also, applications don't get stale data after sf9 anymore.

git-svn-id: svn://kolibrios.org@9968 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-16 02:44:48 +00:00
7b51a89852 Use process_information structure in the kernel
Copied from the userspace macros.inc

git-svn-id: svn://kolibrios.org@9967 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-15 05:16:31 +00:00
e9719d21a3 Fix autobuild timestamp offset on the blue screen
git-svn-id: svn://kolibrios.org@9966 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-15 03:58:48 +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
0572b0fbf6 Fix sf9 to ignore slot 0
It used to read uninitialized data at SLOT_BASE[0].

git-svn-id: svn://kolibrios.org@9964 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 19:34:21 +00:00
turbocat
259bd4349f DOSBox:
- Remove unnecessary binary
- Now dosbox.conf is unnecessary, it is automatically generated in $HOME/.dosbox

git-svn-id: svn://kolibrios.org@9963 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 14:17:08 +00:00
turbocat
1223240356 DOSBox:
- Documentation updated
- Binary 0.74 replaced with 0.74-3 (RC2)


git-svn-id: svn://kolibrios.org@9962 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 14:13:22 +00:00
turbocat
dd61eaf93d SDL: Fixed cursor freezing in some cases.
git-svn-id: svn://kolibrios.org@9961 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 05:54:27 +00:00
turbocat
59b6eb6013 uPDF:
- Fixed a bug with floating icons;
- Removed include kos32sys.h.

git-svn-id: svn://kolibrios.org@9960 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 03:27:17 +00:00
turbocat
43e723374e Newlib: Added enviroment emulation via the file /sys/settings/system.env
git-svn-id: svn://kolibrios.org@9959 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 01:52:02 +00:00
034dd79f43 Switch to the unified (BIOS and UEFI) kernel image
The initial patch by bzt with my minor edits.

git-svn-id: svn://kolibrios.org@9958 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 01:39:36 +00:00
turbocat
2bab7c2093 Added new DOSBox 0.74-3 (RC1).
Sources: https://github.com/KolibriOS/DOSBox

git-svn-id: svn://kolibrios.org@9957 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-13 22:34:53 +00:00
turbocat
9ab6a07ce2 SDL: Added CD-ROM and Joystick stubs for easer porting
git-svn-id: svn://kolibrios.org@9956 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-13 18:29:07 +00:00
turbocat
75cc884573 NewLib:
Added missing dirent impl

git-svn-id: svn://kolibrios.org@9955 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-12 23:03:49 +00:00
turbocat
6e3276cb4b NewLib:
- Added basic support for dirent.h;
- Added memory.h for compatibility;
- Added ftruncate() function;
- Fixed date and time structures in ksys_file_info_t.

git-svn-id: svn://kolibrios.org@9954 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-12 23:01:16 +00:00
Kirill Lipatov (Leency)
d91cb7946f https://board.kolibrios.org/viewtopic.php?p=79329#79912
NTFS fix for sf 70.3 by Pathoswithin (non-tested) => Doczom please check if you can

git-svn-id: svn://kolibrios.org@9953 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-12 01:11:26 +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
turbocat
c6d4aab9c5 [DRIVERS] Fixed linux MSR functions in ddk
git-svn-id: svn://kolibrios.org@9951 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-12-28 14:06:06 +00:00
turbocat
bbee219bab [KERNEL] Use PAT if supported. Otherwise MTRR
git-svn-id: svn://kolibrios.org@9950 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-12-26 18:33:21 +00:00
Doczom
b9d43b416f fix bug in sysfn 7
git-svn-id: svn://kolibrios.org@9949 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-23 12:53:06 +00:00
Doczom
6643206b73 [KERNEL] fixed bug in sysfn 39.3
git-svn-id: svn://kolibrios.org@9948 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-12 21:52:14 +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
ace_dent
244de0059e Refine distr_data/readme text
- Improve English translation for distribution readme.
- Make use of `KolibriOS` (no space) consistent.

git-svn-id: svn://kolibrios.org@9944 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-01 01:28:37 +00:00
turbocat
2c2132e24d Fixed typo in "blue screen"
git-svn-id: svn://kolibrios.org@9943 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 20:38:13 +00:00
turbocat
e4362a1edc Fixed a "blue screen" hang when trying to write a configuration to a read-only device
git-svn-id: svn://kolibrios.org@9942 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 19:17:33 +00:00
Doczom
69f5ec5ac7 [KERNEL] Graphics subsystem has been redesigned:
- removed the old cursor and the code for its operation
 - minor fixes in other kernel modules
 - new fields have been added to the display_t structure for further refactoring of the graphics subsystem.

git-svn-id: svn://kolibrios.org@9941 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 16:31:40 +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
Kirill Lipatov (Leency)
f09b60cdf3 move dgen to a proper place of Tupfile (by turbocat)
git-svn-id: svn://kolibrios.org@9939 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-21 20:45:54 +00:00
Kirill Lipatov (Leency)
cc4e120366 Starting Blue screen:
- The next message was improved: "New settings have been applied. Do you want to record them for the future boots? Answer 'yes' only if your booting device is writable." to avoid users saving changes on CD. This is a bug 'cos normally such behaviour must be handeled in the code http://board.kolibrios.org/viewtopic.php?p=80012#p80012
- Hide option "Create blank image" which is outdated now

git-svn-id: svn://kolibrios.org@9938 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-13 23:43:36 +00:00
Kirill Lipatov (Leency)
ec85113589 Add DGEN (Sega) emulator to menu.dat of actual builds
git-svn-id: svn://kolibrios.org@9937 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-13 23:29:37 +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
Doczom
d0acf78f92 [KERNEL] cleared the code of unnecessary comments
git-svn-id: svn://kolibrios.org@9932 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-20 21:54:50 +00:00
Magomed Kostoev (mkostoevr)
0932401978 [KERNEL][TEST] Run UMKa tests if enabled.
Before this commit UMKa was downloaded, but none of its tests had been executed. Now it executes all the tagged UMKa tests (41 for now). Some tags had been excluded, like #acpi, because the ACPI subsystem is still under development.



git-svn-id: svn://kolibrios.org@9931 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-20 10:40:03 +00:00
Doczom
0a5beb0bc0 [KERNEL] The window subsystem has been redesigned:
-extended WDATA structures up to 128 bytes
-added the background_windows constant
-the draw_data array has been deleted
-APPDATA.window and WDATA.thread fields added
-minor fixes in the operation of external file system drivers

git-svn-id: svn://kolibrios.org@9930 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-18 20:51:33 +00:00
Magomed Kostoev (mkostoevr)
48e0317921 [KERNEL] Trigger GitHub mirror sync.
git-svn-id: svn://kolibrios.org@9929 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-14 18:55:18 +00:00
boppan
5b64340319 [WS] Make run.py work on modern qemu
git-svn-id: svn://kolibrios.org@9928 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-06 19:45:59 +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
Doczom
9a2d26f2a7 [KERNEL] the window subsystem was refactored, WDATA structures were expanded and magic numbers were replaced with constants
git-svn-id: svn://kolibrios.org@9926 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-25 16:42:10 +00:00
Doczom
76202213a1 [KERNEL] fixed a bug in rev 9917
git-svn-id: svn://kolibrios.org@9925 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-22 03:32:33 +00:00
Doczom
91a9743099 [SDHCI] Added new driver on SD host controller
git-svn-id: svn://kolibrios.org@9924 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-20 15:14:42 +00:00
Magomed Kostoev (mkostoevr)
09ebacf1ef [KERNEL][TEST] Download and build UMKa if enabled.
git-svn-id: svn://kolibrios.org@9923 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 18:36:53 +00:00
Magomed Kostoev (mkostoevr)
add3113b8b [KERNEL][TEST] Initialize tup if it is not.
git-svn-id: svn://kolibrios.org@9922 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 15:07:58 +00:00