Commit Graph

9992 Commits

Author SHA1 Message Date
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
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
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
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
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
21392e4c9b [KERNEL][TEST] Fix tests fail for new qemu.
git-svn-id: svn://kolibrios.org@9921 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 13:48:44 +00:00
8b6c817da7 [KERNEL][TEST] Print informative message on test fail.
git-svn-id: svn://kolibrios.org@9920 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 13:47:38 +00:00
82d8c58e1e [KERNEL][TEST] Fail on prematurely finished qemu.
git-svn-id: svn://kolibrios.org@9919 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 12:44:38 +00:00
0a2a7aa344 Tests: Fix testing kernel build
The test system used a custom command to build the testing kernel.
Make it use the tup system.



git-svn-id: svn://kolibrios.org@9918 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-17 20:07:12 +00:00
Doczom
cd441e7929 [KERNEL]: Replaced magic numbers with constants and cleaned code
git-svn-id: svn://kolibrios.org@9917 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-17 18:40:54 +00:00
Doczom
7f50e02fca FTPd: added the DELE and STOR functions, fixed the output code for the new connection
git-svn-id: svn://kolibrios.org@9916 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-08 05:55:41 +00:00
Anton Krotov
653161d498 CEdit: added [shift+mouse wheel] for horizontal scrolling;
search improved.


git-svn-id: svn://kolibrios.org@9915 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-05-07 17:19:42 +00:00
qullarwee
3dc259f833 Upload "mousepos" utility
git-svn-id: svn://kolibrios.org@9914 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-05-01 11:40:31 +00:00
Anton Krotov
d23a080c99 CEdit: bugfix
git-svn-id: svn://kolibrios.org@9913 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-13 19:16:45 +00:00
Anton Krotov
21c201190a FB2 Reader: fixed rolling up
git-svn-id: svn://kolibrios.org@9912 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-11 21:53:43 +00:00
Doczom
7028e04565 [KERNEL] cleaned code and added description of some functions
git-svn-id: svn://kolibrios.org@9911 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-09 18:19:13 +00:00
Doczom
cf0e9867b0 [KERNEL] updated local labels in functions and other small changes
git-svn-id: svn://kolibrios.org@9910 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-08 21:24:05 +00:00
Anton Krotov
fbb49920de CEdit:
- highlight @@:/@f/@b/@r
- numpad support


git-svn-id: svn://kolibrios.org@9909 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-03-28 22:27:10 +00:00
Doczom
77a4688f6d Updated dll.load. Added support for loading the library using the full path.
Fixed makefile for Whether  

git-svn-id: svn://kolibrios.org@9908 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-03-28 16:39:08 +00:00
Anton Krotov
3ade12b666 CEdit: fixed whole word search
git-svn-id: svn://kolibrios.org@9907 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-03-18 12:35:25 +00:00
Anton Krotov
f8df2f2297 CEdit: minor fix
git-svn-id: svn://kolibrios.org@9906 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-03-05 21:40:21 +00:00
Kirill Lipatov (Leency)
c682acbe2f NDN: upload a new version v3.00.0008 2022-12-26 from http://ndn.muxe.com/download/
git-svn-id: svn://kolibrios.org@9905 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-03-04 17:16:26 +00:00
Anton Krotov
9ea1f9a4a6 CEdit: optimization
git-svn-id: svn://kolibrios.org@9904 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-02-26 19:26:25 +00:00
Anton Krotov
759e2688de CEdit: reduced memory usage, small improvements
git-svn-id: svn://kolibrios.org@9903 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-02-24 15:02:24 +00:00
Anton Krotov
56ed41fae1 CEdit: reduced memory usage
git-svn-id: svn://kolibrios.org@9902 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-02-22 15:56:05 +00:00
Anton Krotov
6dae04e665 move fNav to ISO
git-svn-id: svn://kolibrios.org@9901 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-02-22 15:41:19 +00:00
Doczom
dd33210115 [KERNEL]: Replaced magic numbers with constants:
PAGE_SIZE, -PAGE_SIZE, PAGE_SIZE-1

git-svn-id: svn://kolibrios.org@9900 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-02-14 23:26:59 +00:00
aae65fd398 Unhardcode some PAGE_SIZE related numbers
4096 is PAGE_SIZE
not 4095 is -PAGE_SIZE
etc

git-svn-id: svn://kolibrios.org@9899 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-02-12 21:37:30 +00:00
Anton Krotov
c56f682434 FB2 Reader: refactoring, reduced memory usage for images, small improvements
git-svn-id: svn://kolibrios.org@9898 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-02-01 13:36:55 +00:00
59315b183d [kernel] Fix reading from empty board buffer (sf63.2)
Syscall 63.2, reading from the board buffer, was overwriting registers
edx and ebp when the buffer was empty. Now it sets eax and ebx according
to the kernel API.

Because of this ancient bug BOARD checks the status of sf63.2 syscall
this way:
        mcall   63, 2
        cmp     ebx, 1
        jne     no_data
        ; when the buffer is empty, ebx is untouched, i.e. still 2, haha
        ; edx and ebp are destroyed, the code is lucky not to use them

By the way, the bug was found using umka tool.

git-svn-id: svn://kolibrios.org@9897 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-30 03:33:03 +00:00
Anton Krotov
4c20c082c1 FB2 Reader: upload source, small changes
git-svn-id: svn://kolibrios.org@9896 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-22 14:20:23 +00:00
Anton Krotov
61fbb36ac3 oberon07: bugfix
git-svn-id: svn://kolibrios.org@9895 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-22 12:08:46 +00:00
Doczom
2160c0e6f7 [KERNEL] Added the "FsAdd" function for drivers on file systems.
TODO: added functions for lock\unlock partition and read\write sectors for user programs 

git-svn-id: svn://kolibrios.org@9894 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-21 18:07:32 +00:00
Anton Krotov
a1909c89a2 oberon07: lower case by default
git-svn-id: svn://kolibrios.org@9893 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-21 14:34:25 +00:00