Commit Graph

143 Commits

Author SHA1 Message Date
a772f5b96f Change "mov reg, 0" to "xor reg, reg" where it's possible
git-svn-id: svn://kolibrios.org@9977 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-02-17 20:25:06 +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
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
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
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
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
d77dd5decc [KERNEL] Use specific cursors for window borders
git-svn-id: svn://kolibrios.org@9848 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-23 15:18:20 +00:00
Doczom
4b862c1c0b KERNEL: reducing the use of current_slot_idx
git-svn-id: svn://kolibrios.org@9828 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-03 23:34:04 +00:00
Doczom
182f6ade61 small update copyright year in kernel
git-svn-id: svn://kolibrios.org@9715 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-12 17:27:41 +00:00
Doczom
707dc7c2e6 delete TASKDATA
git-svn-id: svn://kolibrios.org@9709 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-09 17:07:51 +00:00
Doczom
19347417f0 replacing TASK DATA.pid with APPDATA.tid
git-svn-id: svn://kolibrios.org@9692 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-06 20:33:29 +00:00
Doczom
03c3cc8b48 discontinuing the use of the twdw constant
git-svn-id: svn://kolibrios.org@9679 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-03 18:41:21 +00:00
Doczom
a26a97719e update vga.inc
git-svn-id: svn://kolibrios.org@9606 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-09 23:50:54 +00:00
2359531a17 [KERNEL] #3 Preparing to merge legacy TASKDATA into APPDATA:
- get rid of CURRENT_TASK
- to APPDATA added new fields which will be used instead of TASKDATA's
- other small fixes

git-svn-id: svn://kolibrios.org@8869 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-17 09:41:16 +00:00
295aa0ad77 uefi4kos: Fix boot and mouse pointer on some configurations.
UEFI firmware doesn't use VESA mode codes, so disable this check
for UEFI boot.

git-svn-id: svn://kolibrios.org@8284 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-30 17:19:17 +00:00
1d8ab97178 Fix hardcoded $Revision: XXXX$ values.
git-svn-id: svn://kolibrios.org@8224 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-20 03:45:41 +00:00
cdf87e6a72 translate russian comments to english #4, no code changes
git-svn-id: svn://kolibrios.org@8053 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-07-16 19:31:16 +00:00
cf7de4af9c Fix kernel crash on high screen resolution.
Increase MAX_SCREEN_WIDTH=3840 and MAX_SCREEN_HEIGHT=2160.
Replace hardcoded numbers with macros, add runtime checks.

git-svn-id: svn://kolibrios.org@7522 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-11-02 00:14:46 +00:00
hidnplayr
9748fdf371 Fix check_mouse_area_for_getpixel_new in 16BPP mode.
git-svn-id: svn://kolibrios.org@7510 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-30 18:42:48 +00:00
Kirill Lipatov (Leency)
03386fe9f4 kernel: fix regression r5164 which broke blitter in 24bpp mode
git-svn-id: svn://kolibrios.org@7474 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-10-17 16:43:37 +00:00
0e02132b9f Replace 'equ' macros with '=' ones.
They appear in symbols file.
They don't require parentheses.
They are shorter.

git-svn-id: svn://kolibrios.org@7136 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-20 01:07:10 +00:00
368d42ffae Update BOOT_DATA structure and use it instead of all the BOOT_* vars.
git-svn-id: svn://kolibrios.org@7132 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-17 02:12:53 +00:00
0CodErr
54932fe994 flag client relative for blit
git-svn-id: svn://kolibrios.org@6790 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-07 18:33:17 +00:00
Sergey Semyonov (Serge)
6cbd453d52 kernel: fix for #5350
git-svn-id: svn://kolibrios.org@6593 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-14 17:51:58 +00:00
Sergey Semyonov (Serge)
1be057e370 kernel: fixed page flags
git-svn-id: svn://kolibrios.org@6275 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-21 17:29:58 +00:00
Sergey Semyonov (Serge)
06644f770e kernel: framebuffers code
git-svn-id: svn://kolibrios.org@6263 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-20 09:57:44 +00:00
Sergey Semyonov (Serge)
87f9ff49e5 kernel: fixed another very old bug
git-svn-id: svn://kolibrios.org@6127 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-02 07:31:16 +00:00
Yogev Ezra
76a0cbdfe5 Change copyright year in kernel and drivers to 2015. No code changes.
git-svn-id: svn://kolibrios.org@5363 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 20:10:22 +00:00
Sergey Semyonov (Serge)
ff063f54ce kernel: combine display related data in one structure
git-svn-id: svn://kolibrios.org@5351 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-05 17:59:03 +00:00
Sergey Semyonov (Serge)
5c0b9990c8 kernel: remove Screen_Max_X and Screen_Max_Y variables
git-svn-id: svn://kolibrios.org@5350 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-05 17:18:45 +00:00
Sergey Semyonov (Serge)
7c2e2980d7 kernel: blitter - minor optimizations
git-svn-id: svn://kolibrios.org@5349 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-05 15:12:40 +00:00
hidnplayr
65ccbec301 Small optimization.
git-svn-id: svn://kolibrios.org@5164 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-03 16:03:20 +00:00
hidnplayr
b71a661bfc 16bpp support for f73 (blitter)
git-svn-id: svn://kolibrios.org@5161 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-03 15:12:21 +00:00
hidnplayr
274d2c309b Support for 16bpp video modes (usefull for embedded devices such as 86duino with vortex86 VGA)
git-svn-id: svn://kolibrios.org@5154 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-01 17:26:42 +00:00
Marat Zakiyanov (Mario79)
da8c332884 Added the tag "Revision: XXXX" in some kernel files, to form the right number of revision at boot (blue boot screen).
git-svn-id: svn://kolibrios.org@4850 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-17 21:19:45 +00:00
eAndrew
6e448a0873 old cursors
git-svn-id: svn://kolibrios.org@4783 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-06 12:57:31 +00:00
eAndrew
e43991c023 new cursors
git-svn-id: svn://kolibrios.org@4782 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-06 12:32:33 +00:00
lev
199e14f164 redraw cursor in 37.5 in any case
git-svn-id: svn://kolibrios.org@4507 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-21 22:21:53 +00:00
CleverMouse
4d704be765 speedup software blitter for 32bpp modes
git-svn-id: svn://kolibrios.org@4444 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-13 11:16:28 +00:00
lev
b255e2580a Change cursor in 37.5 immediately
git-svn-id: svn://kolibrios.org@4181 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-05 20:37:30 +00:00
Sergey Semyonov (Serge)
a678afc6ad kernel: BytesPerScanLine removed, use _display.pitch instead
git-svn-id: svn://kolibrios.org@3606 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-05 09:29:50 +00:00
CleverMouse
32b4fcb9ab recode all kernel sources to UTF-8; binary still uses single-byte encoding and isn't changed at all
git-svn-id: svn://kolibrios.org@3539 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 22:16:00 +00:00
Sergey Semyonov (Serge)
8119f00711 kernel: remove ScreenBPP variable
git-svn-id: svn://kolibrios.org@3537 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 19:09:54 +00:00
Sergey Semyonov (Serge)
b9837f927b trunk: always show default cursor for inactive window
git-svn-id: svn://kolibrios.org@3069 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-28 20:03:00 +00:00
Sergey Semyonov (Serge)
dfe456e039 blitter optimization
git-svn-id: svn://kolibrios.org@2988 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-10-12 18:30:58 +00:00
Marat Zakiyanov (Mario79)
63be312755 Fix for r.2575
git-svn-id: svn://kolibrios.org@2652 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-27 13:22:07 +00:00
Marat Zakiyanov (Mario79)
0708bf4e15 Fix for r. 1316
git-svn-id: svn://kolibrios.org@2576 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-06 18:18:14 +00:00
Marat Zakiyanov (Mario79)
efba336d3d Fix for r. 2435
git-svn-id: svn://kolibrios.org@2575 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-06 01:07:57 +00:00