Commit Graph

48 Commits

Author SHA1 Message Date
Sergey Semyonov (Serge)
2e1f635004 linux-like kernel mutexes
git-svn-id: svn://kolibrios.org@1434 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-03-17 17:42:57 +00:00
Mihail Semenyako (mike.dld)
ddd29cc90f gui/mouse.inc:
+  new file for GUI-related mouse events handling (old mouse.inc renamed)
gui/button.inc and gui/window.inc:
  * refactoring in regards of new mouse.inc:
    * obsolete code eliminated
    * old'n'ugly `check_buttons` and `checkwindows` removed
    * events handlers added
gui/window.inc:
  * moved GUI-related syscalls and auxilary functions from kernel.asm
  * removed registers cross-ordering from syscall 67 (window move/resize)
+ more comments added
known bugs include:
  1. apps using syscall 67 (kfar etc.) may not redraw their old screen area leaving ghost images
  2. possibility of mouse cursor artefacts may have increased (this *really* has to be reworked)

git-svn-id: svn://kolibrios.org@1391 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-02-06 19:08:19 +00:00
turbanoff
8a94df9a76 small fix
git-svn-id: svn://kolibrios.org@1379 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-23 16:01:24 +00:00
turbanoff
7eed0cd366 ext2fs support. read only
git-svn-id: svn://kolibrios.org@1378 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-23 15:24:03 +00:00
Mihail Semenyako (mike.dld)
892d2df51e * gui/window.inc refactoring
git-svn-id: svn://kolibrios.org@1362 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-05 01:28:11 +00:00
Evgeny Grechnikov (Diamond)
af8dc3b80a make dll a per-process object
git-svn-id: svn://kolibrios.org@1311 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-08 23:36:12 +00:00
Sergey Semyonov (Serge)
b7c98dff1b menuet02 tls
git-svn-id: svn://kolibrios.org@1220 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-19 19:45:30 +00:00
Galkov
8d75380caf change functionality of f68:15, f68:18 (discussion on forum topic 1253)
git-svn-id: svn://kolibrios.org@1074 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-22 08:55:09 +00:00
Galkov
3be0aa5c21 refractoring of EVENT, and so on
git-svn-id: svn://kolibrios.org@1055 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-03-28 18:36:41 +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)
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)
89e64cc63e supported videomodes
git-svn-id: svn://kolibrios.org@753 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-22 12:38:59 +00:00
Evgeny Grechnikov (Diamond)
ebeed28881 * V86 manager
* support of drives visible by BIOS through V86 mode
* shutdown fixes
* background redraw fixes
* when booting from CD/DVD, load all floppy by tracks, not only used sectors

git-svn-id: svn://kolibrios.org@709 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-04 15:31:59 +00:00
Sergey Semyonov (Serge)
05fad94d49 PE loader
git-svn-id: svn://kolibrios.org@659 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-20 13:07:32 +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
Marat Zakiyanov (Mario79)
b229fdc2c2 The universal cache of IDE devices.
Step 1:
1) Allocate of separate area for everyone IDE device.
2) Usage of the allocated areas for HDD. (Cache CD\DVD - not realized, but the memory for it is allocated. This be realized  in step 2).
3) The area of memory 0x80300000 - > 0x80400000 now is free and is not used.
4) The area of memory 0x80284000 - > 0x8028BFFF is used for HDD DMA.

git-svn-id: svn://kolibrios.org@580 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-15 23:22:14 +00:00
Evgeny Grechnikov (Diamond)
58a419e855 Sysfunction 23v does not require task switch when waiting
git-svn-id: svn://kolibrios.org@531 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-04 08:58:32 +00:00
Mihail Semenyako (mike.dld)
957ae391e2 Changed 'revision' keyword to 'Revision', which is correct
Renamed 'lib_func.inc' to 'imports.inc'
Translated several Russian comments to English, but not all. Let's be serious, guys

git-svn-id: svn://kolibrios.org@530 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-30 22:50:18 +00:00
Evgeny Grechnikov (Diamond)
4f326f77c6 * efficient handling of file names substitution
* current directory support; new sysfunction 30
* fixed bug in load_file with files of size divisible by page size

git-svn-id: svn://kolibrios.org@521 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-24 11:27:05 +00:00
Sergey Semyonov (Serge)
f111d6969f string manipulation routines for drivers and kernel
enable global page support after paging 

git-svn-id: svn://kolibrios.org@519 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-23 11:26:19 +00:00
SPraid (simba)
e1f463adf0 loading libs for kernel
loading from HD
inifiles.asm (not completed, using with kernel to load sys.conf)
parse file names
%sys% may be system directory for programs (70 function)

git-svn-id: svn://kolibrios.org@488 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-11 19:38:23 +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
Sergey Semyonov (Serge)
5b119159d4 copyrights
git-svn-id: svn://kolibrios.org@431 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-26 12:18:08 +00:00
Mihail Semenyako (mike.dld)
6f7428a7e4 Changes to make __REV__ constant at any place in kernel
Output SVN revision number in boot screen

git-svn-id: svn://kolibrios.org@426 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-22 01:09:49 +00:00
victor
21e4bc0233 added computing of current #revision for kernel *.inc and *.asm files
git-svn-id: svn://kolibrios.org@425 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-21 22:58:33 +00:00
Mihail Semenyako (mike.dld)
6e47c89546 RTL8169 network driver
git-svn-id: svn://kolibrios.org@373 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-24 22:43:17 +00:00
Sergey Semyonov (Serge)
ee29610808 dynamic stack with fpu state area
git-svn-id: svn://kolibrios.org@357 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-17 10:09:23 +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
Sergey Semyonov (Serge)
15170454cc imports header
kernel objects
segmented sound buffers

git-svn-id: svn://kolibrios.org@281 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-19 03:58:46 +00:00
Sergey Semyonov (Serge)
1e7402569a small heap and malloc/free
git-svn-id: svn://kolibrios.org@276 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-17 04:43:21 +00:00
Evgeny Grechnikov (Diamond)
b308bbdde7 NTFS reader, part 1: read root directory
git-svn-id: svn://kolibrios.org@256 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-29 15:42:36 +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
Sergey Semyonov (Serge)
7f38fb4c37 1)fixed wrong SSE detection for old AMD chips
2)restore COM2 IRQ handler
3)added new fn 37.4 37.5


git-svn-id: svn://kolibrios.org@221 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-27 10:07:51 +00:00
Sergey Semyonov (Serge)
00b8fb388c 1)fixed bug with wrong lfb size on some old videocards
2)set fpu/sse to default state for new thread
3)added driver sceletone

git-svn-id: svn://kolibrios.org@214 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-20 07:06:00 +00:00
Sergey Semyonov (Serge)
174a707452 1)fixed applications iopl level 2)fixed #PF exceptions handler
3)changed sysfuncr.txt fn. 18.20, 64.1, 68.11, 68.16


git-svn-id: svn://kolibrios.org@172 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-10 05:11:30 +00:00
Sergey Semyonov (Serge)
b6950333ac new kernel
git-svn-id: svn://kolibrios.org@164 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-06 06:09:41 +00:00
Evgeny Grechnikov (Diamond)
2e850e52f6 hd_drv.inc: now code should work correctly on any computer
kernel32.inc: added 'dbgstr' macro which may be useful for kernel debugging

git-svn-id: svn://kolibrios.org@162 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-04 14:35:44 +00:00
Evgeny Grechnikov (Diamond)
393a43c2ba DMA access to HD
git-svn-id: svn://kolibrios.org@160 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-27 14:58:51 +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
Marat Zakiyanov (Mario79)
4a1560020b Added:
1) Low level procedures for СD device: read sector, load tray, out tray;
2) Function 70/0 for ISO9660 - read file
2) Function 70/0 for ISO9660 - read directory in format of standard 1.


git-svn-id: svn://kolibrios.org@87 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-06-18 16:42:03 +00:00
Evgeny Grechnikov (Diamond)
a939e78130 correction of previous revision
git-svn-id: svn://kolibrios.org@73 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-04-27 06:14:25 +00:00
Marat Zakiyanov (Mario79)
12ecff7fb2 Reserved of the function 70 for the new procedure of access to file systems
Request - Please not use this number for other purposes.

git-svn-id: svn://kolibrios.org@70 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-04-22 13:54:35 +00:00
Andrey Halyavin (halyavin)
67ea388bb8 fix in struct macro for new versions of fasm
git-svn-id: svn://kolibrios.org@43 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-03 12:33:36 +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
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
Ivan Poddubny
2e93336e82 All exceptions use Interrupt Gate
Better FPU exception handler
Code cleanups
Correct save_registers for i40 handler (syscall trace)
Updated memmap.inc

git-svn-id: svn://kolibrios.org@6 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-13 17:50:36 +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