Commit Graph

64 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Marat Zakiyanov (Mario79)
32e6e19b5e Correction for r.2497. Restore user defined cursor by f.37.5, after showing clock_arrow mouse pointer.
git-svn-id: svn://kolibrios.org@2503 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-23 20:13:09 +00:00
Marat Zakiyanov (Mario79)
e24480a9ce Change cursor when loading applications. The new cursor with the clock.
git-svn-id: svn://kolibrios.org@2497 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-22 19:12:53 +00:00
Marat Zakiyanov (Mario79)
3e1a592489 Fix f.37.4 - LOAD_INDIRECT sets the correct hotspot of cursor is now.
git-svn-id: svn://kolibrios.org@2483 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-20 14:57:16 +00:00
Marat Zakiyanov (Mario79)
4ba4f03104 Fix for r.2446 - for Qemu or non-standart videocards. Unfortunately [BytesPerScanLine] does not always equal to [_display.width]*[ScreenBPP]/8
git-svn-id: svn://kolibrios.org@2480 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-19 20:56:55 +00:00
Sergey Semyonov (Serge)
b7914ab4cd fix old and stupid bug in cursor creation code
git-svn-id: svn://kolibrios.org@2473 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-16 21:12:10 +00:00
Marat Zakiyanov (Mario79)
2f699083c4 1) Correcting information about copiright
2) VESA draw the small speedup

git-svn-id: svn://kolibrios.org@2455 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-13 16:51:57 +00:00
Marat Zakiyanov (Mario79)
d357a70fe3 Video draw some speedup.
git-svn-id: svn://kolibrios.org@2446 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-10 11:37:42 +00:00
Marat Zakiyanov (Mario79)
aede9dbee9 1) VESA draw some speedup
2) VGA draw fix

git-svn-id: svn://kolibrios.org@2436 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-08 13:45:18 +00:00
Marat Zakiyanov (Mario79)
b39e0fcab7 VESA - new algorithm for showing mouse pointer without a blink
git-svn-id: svn://kolibrios.org@2430 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-07 15:50:41 +00:00
hidnplayr
e7bade16fe Adapted more structures to use new struct.inc
git-svn-id: svn://kolibrios.org@2384 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-23 18:52:13 +00:00
Sergey Semyonov (Serge)
adce55500e remove deleted cursor from cursor's list
git-svn-id: svn://kolibrios.org@2337 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-01-25 03:56:53 +00:00
CleverMouse
037099f50d Style corrected for new rules, no semantic changes
git-svn-id: svn://kolibrios.org@2288 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-14 21:38:50 +00:00
Sergey Semyonov (Serge)
6b4166f7c3 kms kernel
git-svn-id: svn://kolibrios.org@1316 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-13 00:16:34 +00:00
Sergey Semyonov (Serge)
5da0aff00a kms: rc8
git-svn-id: svn://kolibrios.org@1313 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-10 19:32:56 +00:00
Evgeny Grechnikov (Diamond)
5628c096c5 some cosmetic fixes
git-svn-id: svn://kolibrios.org@983 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-28 21:21:41 +00:00
Sergey Semyonov (Serge)
ed2e35a24c 1) unmap_pages
2) code cleanup

git-svn-id: svn://kolibrios.org@819 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-04 20:44:53 +00:00
Sergey Semyonov (Serge)
77a4ede567 from Nable: Sound Blaster driver
git-svn-id: svn://kolibrios.org@802 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-06-09 12:12:09 +00:00
Sergey Semyonov (Serge)
8dffd5ba5f fix cursors in EGA/VGA modes
git-svn-id: svn://kolibrios.org@786 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-04-04 14:49:16 +00:00
Sergey Semyonov (Serge)
89e64cc63e supported videomodes
git-svn-id: svn://kolibrios.org@753 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-22 12:38:59 +00:00
Sergey Semyonov (Serge)
cd14d65fc6 vesa 1.2 fixup
git-svn-id: svn://kolibrios.org@673 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-11-16 08:28:33 +00:00
Sergey Semyonov (Serge)
39d4709d97 yet another stdcall fix
git-svn-id: svn://kolibrios.org@662 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-20 21:02:38 +00:00
Evgeny Grechnikov (Diamond)
efedbc015e Kernel updated to 0.7.1.0
git-svn-id: svn://kolibrios.org@641 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-23 20:58:50 +00:00
Sergey Semyonov (Serge)
7bccb7de56 fix software cursor code
git-svn-id: svn://kolibrios.org@638 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-21 10:07:37 +00:00
Mihail Semenyako (mike.dld)
92f657f440 Revision numbering fix
git-svn-id: svn://kolibrios.org@593 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-27 13:52:03 +00:00
Sergey Semyonov (Serge)
fef69aab20 merge flat kernel
git-svn-id: svn://kolibrios.org@465 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-18 06:37:14 +00:00