Commit Graph

43 Commits

Author SHA1 Message Date
Sergey Semyonov (Serge)
3764b8d630 fixed bug in init_LFB()
git-svn-id: svn://kolibrios.org@389 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-05 21:37:28 +00:00
Sergey Semyonov (Serge)
1ced1382c9 replace all vars whith symbolic constants
git-svn-id: svn://kolibrios.org@381 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-01 20:32:19 +00:00
Sergey Semyonov (Serge)
a90d0cfe1d replace vars 0x8000 0xC000 0xC004 0xD000 0x80000 whith symbolic constants
rename PROC_BASE -> SLOT_BASE


git-svn-id: svn://kolibrios.org@380 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-28 10:51:05 +00:00
Sergey Semyonov (Serge)
04929cf017 1)fixed wrong exported LFB address
2)replace 0x3000 0x3004 0x3010 0x3020 whith symbolic constants


git-svn-id: svn://kolibrios.org@379 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-28 08:52:06 +00:00
Sergey Semyonov (Serge)
02bcaaab53 drivers related modification
git-svn-id: svn://kolibrios.org@377 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-26 12:40:37 +00:00
Sergey Semyonov (Serge)
0f0c0aabfa reduce kernel memory
git-svn-id: svn://kolibrios.org@363 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-19 08:22:55 +00:00
Sergey Semyonov (Serge)
b0776c09ad signaling events, create_event(),
destroy_event(), raise_events(), wait_event() 

git-svn-id: svn://kolibrios.org@354 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-16 04:16:52 +00:00
Evgeny Grechnikov (Diamond)
5121a68d46 * Corrected size of display_data in calculatebackground
* Fixed bug with VRR changing videomode

git-svn-id: svn://kolibrios.org@322 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-06 14:00:27 +00:00
Mihail Semenyako (mike.dld)
d51f1259a0 Added 'C' flag to 0-th system function: don't fill working area
Modified Tinypad to use 'C' flag

git-svn-id: svn://kolibrios.org@303 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-30 21:54:34 +00:00
Sergey Semyonov (Serge)
f5b902bbee small optimization
git-svn-id: svn://kolibrios.org@254 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-29 07:12:27 +00:00
Sergey Semyonov (Serge)
01056f99f2 add validate cursor in 37.5
fix maximal cursors count in init_cursors

git-svn-id: svn://kolibrios.org@230 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-05 08:31:44 +00:00
Sergey Semyonov (Serge)
36ae3b7991 1)drivers version control
2)extended events format
3)ATI hardware cursor 

git-svn-id: svn://kolibrios.org@227 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-02 08:18:48 +00:00
Evgeny Grechnikov (Diamond)
85aa5c3167 Final attempt to fix border drawing
git-svn-id: svn://kolibrios.org@186 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-18 11:29:50 +00:00
Evgeny Grechnikov (Diamond)
aacb4b7591 Corrected border drawing code.
git-svn-id: svn://kolibrios.org@181 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-12 10:35:04 +00:00
Evgeny Grechnikov (Diamond)
0e39a3fffe Fixed bug with border drawing
git-svn-id: svn://kolibrios.org@163 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-05 08:37:51 +00:00
Evgeny Grechnikov (Diamond)
18c3550908 File subsystem: fixed error in function 70.5 for CD
Window subsystem: now when window coordinates are changed,
                  client area is changed too

git-svn-id: svn://kolibrios.org@150 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-18 12:23:52 +00:00
Evgeny Grechnikov (Diamond)
7e19914ef4 Kernel: fixed work with zero-size windows
launcher, @rb: modified to use function 70

git-svn-id: svn://kolibrios.org@142 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-29 12:52:52 +00:00
Evgeny Grechnikov (Diamond)
d3ae4b4e07 Kernel: rewritten function 4
@rcher, ac97wav, midamp, rtfread: modified to use function 70

git-svn-id: svn://kolibrios.org@139 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-28 13:34:54 +00:00
Marat Zakiyanov (Mario79)
5638fe22ff 1. Optimization of the mode 320*200*256. Load on CPU is less. Small increase of speed.
2. Optimization of the mode 640*480*16. Substantial growth of speed.
3. At the expense of deleting the superfluous code from vga.inc the size of a kernel has decreased.

git-svn-id: svn://kolibrios.org@117 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-10 18:18:33 +00:00
Ivan Poddubny
3e2bc5b35f Introduced APPDATA, TASKDATA, WNDDATA, RECT, BOX structures.
git-svn-id: svn://kolibrios.org@115 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-06 10:29:45 +00:00
Mihail Semenyako (mike.dld)
9a27b206b3 Added two flags to 0th function (edx = 0xXYRRGGBB, X = DCBAb)
A - window has a caption; if Y=3, then caption scting address could be passed in
      edi, otherwise use function 71/1
  B - treat all drawing performed to be relative to window client area
  D - use gradient fill for client area
Added function 71:
  subfunction 1 - set window caption string address (in ecx)
  subfunction 2 - get window caption into buffer (not implemented yet)
Updated sysfuncr.txt, added sysfuncs.txt

git-svn-id: svn://kolibrios.org@114 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-03 19:30:32 +00:00
Ivan Poddubny
849b393cad 1. faster GUI: calculatescreen
2. fixed sysfunc 1 - put pixel which was completely broken

git-svn-id: svn://kolibrios.org@112 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-01 14:09:42 +00:00
john
07ff3f1978 Now 4 function can output zero-ended(ASCIIZ) strings.
The strings output code was optimized.
Fixed bug - max string length was being checked incorrectly

git-svn-id: svn://kolibrios.org@106 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-26 09:56:06 +00:00
Ivan Poddubny
82859246df Direct window activation without osloop/checkwindows, straightforward window minimizing
git-svn-id: svn://kolibrios.org@105 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-25 10:48:35 +00:00
Ivan Poddubny
c5b30426a8 1. a little fix for scheduler + correct comments
2. refactored window activation/ process termination/ getting active process
3. deleted dead code in checkwindows
4. eliminated almost all accesses to 0x3020+...+0xe, changed to direct process number
5. cli/sti in vesa12 and vga drivers and in calculatescreen
6. skipping dead windows in some funcs in window.inc

git-svn-id: svn://kolibrios.org@102 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-23 14:47:32 +00:00
Evgeny Grechnikov (Diamond)
56d23ae060 Hotkeys are now supported
git-svn-id: svn://kolibrios.org@92 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-06-30 12:23:15 +00:00
Mihail Semenyako (mike.dld)
f1f3efb4ba Fix to saving window position code
git-svn-id: svn://kolibrios.org@57 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-11 01:15:32 +00:00
Mihail Semenyako (mike.dld)
47d7819f9a Fixes to skin drawing code, in case default.skn wasn't loaded on OS startup
Prevent creation of buttons with negative or zero width/height

git-svn-id: svn://kolibrios.org@54 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-04 17:44:44 +00:00
Mihail Semenyako (mike.dld)
2a183233b4 Fixes to skin drawing code, in case default.skn wasn't loaded on OS startup
git-svn-id: svn://kolibrios.org@53 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-04 12:58:59 +00:00
Mihail Semenyako (mike.dld)
9b4ba85ac2 Allow programs to draw negative pixels and lines
Save window bounds (not just position) before rolling up or maximizing
New functions:
  48/7 - get skin margins
  48/8 - set window skin

git-svn-id: svn://kolibrios.org@52 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-04 11:58:09 +00:00
Mihail Semenyako (mike.dld)
876c1844a4 *Real* fix for VRR problem
Fixes to workarea management code
Removed check_window_move_request from osloop, now windows are moved immediately
New skins format - all skin data in in separate file now (*.skn)
  Changed skinned window drawing accordingly


git-svn-id: svn://kolibrios.org@49 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-18 10:41:47 +00:00
Marat Zakiyanov (Mario79)
e7afcd69e4 Fix error VRR+FULLSCREEN WINDOW
git-svn-id: svn://kolibrios.org@45 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-05 17:11:32 +00:00
Mihail Semenyako (mike.dld)
4442932712 changes/improvements in maximize/minimize/rollup windows functionality
added functions:
  48/5 - get screen workarea
  48/6 - set screen workarea

git-svn-id: svn://kolibrios.org@41 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-01 06:07:36 +00:00
Andrey Halyavin (halyavin)
f4fbaa166e *Reduced size of boot code. (diamond)
*Debug API added. (diamond)

git-svn-id: svn://kolibrios.org@40 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-25 13:19:21 +00:00
Andrey Halyavin (halyavin)
14825618c3 fix strange button drawing for bright buttons
git-svn-id: svn://kolibrios.org@38 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-19 09:59:26 +00:00
Andrey Halyavin (halyavin)
e32f2c8d1f fixed bug with windows active/inactive caption (aw_yes variable converted to parameter).
git-svn-id: svn://kolibrios.org@35 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-11 10:18:52 +00:00
Marat Zakiyanov (Mario79)
333b0bbae6 1) Parallel processing of mouses: PS2, COM1, COM2
2) Detection PS2 mouse.
3) Switching FPU in PM with reset.
4) Click on the application button - works only if during release of a up-button mouse the cursor is on the button application. Realization Victor Alberto Gil Hanla (vhanla). Version 1.1
5) Return of focus (activated window) on previous application at completion of the active application
6) Change skin of header of windows type 4, at loss and return of focus (activated window).

git-svn-id: svn://kolibrios.org@33 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-06 11:46:26 +00:00
Marat Zakiyanov (Mario79)
afd40cc982 Click on the application button - works only if during release of a up-button mouse the cursor is on the button application. Realization Victor Alberto Gil Hanla (vhanla).
git-svn-id: svn://kolibrios.org@28 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-12-04 14:42:26 +00:00
Andrey Halyavin (halyavin)
87d89cab90 Fixed displaying of second font. New fonts are required.
You can download them at http://shade.msu.ru/~msu-se/temp/char.7z

git-svn-id: svn://kolibrios.org@24 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-16 09:35:22 +00:00
Ivan Poddubny
128676fe2c * boot cleanups (kernel.asm)
* faster & cleaner checkpixel (kernel.asm)
* a little bugfix in newproce.inc (".failed" -> ".cleanfailed")
* Halyavin's bugfix in mem.inc
* sheduler doesn't active proesses waiting for an event (func 10) (event.inc, sched.inc)
* faster event check (event.inc)

git-svn-id: svn://kolibrios.org@21 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-07 15:50:30 +00:00
Andrey Halyavin (halyavin)
94f0f6c818 *Font functions have been rewritten. Now kernel use bit-compressed fonts.
You must use char.mt and char2.mt from MeOsEmul or MeOsDebug program 
or download them at http://shade.msu.ru/~msu-se/temp/char.7z
*Small fix in memmap.inc for memory manager.

git-svn-id: svn://kolibrios.org@12 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-25 11:01:36 +00:00
me_root
2b291188a4 fixed problem with non-lowercase includes
git-svn-id: svn://kolibrios.org@7 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-14 15:40:15 +00:00
msu-se
d5c0fed779 moving to kernel directory
git-svn-id: svn://kolibrios.org@2 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-07 04:39:30 +00:00