Commit Graph

463 Commits

Author SHA1 Message Date
Sergey Semyonov (Serge)
a7589ea8ee restore previous version_inf
git-svn-id: svn://kolibrios.org@2114 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-24 11:25:47 +00:00
Sergey Semyonov (Serge)
000b6ce1cb shared irq's
git-svn-id: svn://kolibrios.org@2112 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-24 11:01:37 +00:00
maximYCH
7f63a7e064 Russian language for kernel boot messages
git-svn-id: svn://kolibrios.org@2104 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-23 07:32:13 +00:00
Sergey Semyonov (Serge)
b3a861cedd remove fn 41,42,44,45
git-svn-id: svn://kolibrios.org@2089 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-21 12:26:22 +00:00
CleverMouse
3421ffa999 allow hooks of IRQ15
git-svn-id: svn://kolibrios.org@1989 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-06-29 11:57:56 +00:00
CleverMouse
08246cd957 merge kolibri-cfg into trunk
git-svn-id: svn://kolibrios.org@1962 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-06-16 17:09:40 +00:00
CleverMouse
64c3c758d5 fix of r1941
git-svn-id: svn://kolibrios.org@1949 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-06-08 10:50:00 +00:00
Artem Jerdev (art_zh)
96673e3ce5 kernel constants compression/relocation
git-svn-id: svn://kolibrios.org@1941 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-05-30 10:11:03 +00:00
Nasarus
bfdfb8a6b6 sysfn 18.3: UID byte reserved
git-svn-id: svn://kolibrios.org@1675 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-10-24 16:06:14 +00:00
Nasarus
29c78b8e54 Sysfn9 - event mask was added into returned buffer
git-svn-id: svn://kolibrios.org@1663 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-10-17 16:22:47 +00:00
Alexey Teplov (
eedcf49cfd A 62 sys function have call without cross registers. Small optimization a syscall.inc.
git-svn-id: svn://kolibrios.org@1591 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-25 07:44:39 +00:00
Evgeny Grechnikov (Diamond)
0a35216e52 fix bug #16
git-svn-id: svn://kolibrios.org@1563 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-08 21:43:40 +00:00
Evgeny Grechnikov (Diamond)
15a6f2fd99 revert rev. 1537 and do it correctly
git-svn-id: svn://kolibrios.org@1549 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-01 23:07:45 +00:00
hidnplayr
2462a14655 System function 18,19,5 now checks if mouse coordinates are valid.
git-svn-id: svn://kolibrios.org@1537 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-30 12:48:58 +00:00
Evgeny Grechnikov (Diamond)
90b65feb59 enable interrupts in IDE controller
git-svn-id: svn://kolibrios.org@1523 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-22 11:04:52 +00:00
Alexey Teplov (
c30c9e5b52 61 system function.
git-svn-id: svn://kolibrios.org@1497 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-16 15:56:03 +00:00
Alexey Teplov (
6bea4029b9 65 system function have call without shift registers.
git-svn-id: svn://kolibrios.org@1495 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-14 02:41:44 +00:00
Alexey Teplov (
5a7b0793fb 66 system function have call without shift registers.
git-svn-id: svn://kolibrios.org@1494 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-13 17:12:43 +00:00
Evgeny Grechnikov (Diamond)
c5397f9cf2 optimize set_window_box: do nothing if new box is the same as old one
git-svn-id: svn://kolibrios.org@1474 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-05-30 18:19:10 +00:00
Evgeny Grechnikov (Diamond)
7ca326635d fixed sysfn 18.13 broken in rev. 684
git-svn-id: svn://kolibrios.org@1447 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-04-12 10:43:11 +00:00
Evgeny Grechnikov (Diamond)
1ee7b4055e more correct background redraw
git-svn-id: svn://kolibrios.org@1392 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-02-07 12:57:42 +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
Evgeny Grechnikov (Diamond)
34b5b25917 do not unmask all IRQs
git-svn-id: svn://kolibrios.org@1380 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-28 10:40:07 +00:00
Alexey Teplov (
abfe37adc4 small changes and optimization
git-svn-id: svn://kolibrios.org@1369 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-08 12:39:50 +00:00
Alexey Teplov (
5c5874e6df bugfix for svn rev. 1344
git-svn-id: svn://kolibrios.org@1365 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-07 16:33:53 +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
Alexey Teplov (
58d22770cb sys function 68 is without shift registers call
git-svn-id: svn://kolibrios.org@1345 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-02 05:49:10 +00:00
Alexey Teplov (
22dfbb516f small optimization sys_sheduler
git-svn-id: svn://kolibrios.org@1344 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-31 02:14:07 +00:00
Mihail Semenyako (mike.dld)
7872f73198 * gui/button.inc refactoring
* only 16 ID bits were checked on button delete, 24 now
* negative button frame draw speed up

git-svn-id: svn://kolibrios.org@1334 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-27 18:37:14 +00:00
Alexey Teplov (
90bb6a20e2 sys function 49
git-svn-id: svn://kolibrios.org@1330 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-24 17:12:36 +00:00
Alexey Teplov (
e9e908d84d sys functions 71 and 69 without shift-registers call.(I'm not sure all change is right.
git-svn-id: svn://kolibrios.org@1329 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-23 18:43:42 +00:00
Alexey Teplov (
e76fbc9647 sys function 48 is run without cross registers call now.
git-svn-id: svn://kolibrios.org@1324 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-16 15:19:40 +00:00
Evgeny Grechnikov (Diamond)
093bafd53e Kernel updated to 0.7.7.0
git-svn-id: svn://kolibrios.org@1319 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-13 17:54:05 +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
Evgeny Grechnikov (Diamond)
d5cbc5f493 * fixed copy-on-write for kernel accesses from other threads
* fixed return value of read/write_process_memory
* fixed sysfunction 39.4 broken in rev. 1304
* more safe and slightly more effective FDO


git-svn-id: svn://kolibrios.org@1314 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-12 00:16:39 +00:00
Evgeny Grechnikov (Diamond)
baae07dc05 sysfn 15.7 was killing user heap, fixed
git-svn-id: svn://kolibrios.org@1312 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-09 23:12:25 +00:00
Evgeny Grechnikov (Diamond)
6b29296f2c IOPM in TSS for 4M page was broken, fixed.
git-svn-id: svn://kolibrios.org@1310 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-08 20:32:13 +00:00
Alexey Teplov (
b1d15587ca optimization 46 and 64 sysfunc.
git-svn-id: svn://kolibrios.org@1306 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-03 18:48:41 +00:00
Alexey Teplov (
ad63ea7013 30 and 43 sysfunc rewritten without cross registers call.
git-svn-id: svn://kolibrios.org@1304 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-02 17:10:46 +00:00
Sergey Semyonov (Serge)
77f37d9ba0 kms: pre rc8
git-svn-id: svn://kolibrios.org@1300 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-01 13:32:57 +00:00
Alexey Teplov (
b92de5cfd2 Small optimization sysfunc.
git-svn-id: svn://kolibrios.org@1290 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-28 05:56:54 +00:00
Evgeny Grechnikov (Diamond)
e463f78e27 dynamic libraries now share unmodified pages
git-svn-id: svn://kolibrios.org@1289 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-27 23:49:47 +00:00
Alexey Teplov (
2584ef3609 bugfix previously version.
git-svn-id: svn://kolibrios.org@1278 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-20 14:35:38 +00:00
Alexey Teplov (
7ac27a2f61 I'm not sure what all my change is right.
Some optimization.

git-svn-id: svn://kolibrios.org@1276 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-20 02:36:08 +00:00
Sergey Semyonov (Serge)
b81d03be4e kms: pre rc7
git-svn-id: svn://kolibrios.org@1275 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-16 11:28:19 +00:00
Alexey Teplov (
4d85919e64 It rewritten previously versions (1267,1271)
git-svn-id: svn://kolibrios.org@1273 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-15 19:29:43 +00:00
Evgeny Grechnikov (Diamond)
7d889b7ff0 reverted previous revision because it destroyed sysfn 68.1
git-svn-id: svn://kolibrios.org@1272 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-15 11:15:02 +00:00
Alexey Teplov (
d97477fba6 new sys_sheduler, small optimization
git-svn-id: svn://kolibrios.org@1271 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-15 10:13:08 +00:00
Alexey Teplov (
18837956aa small optimization
git-svn-id: svn://kolibrios.org@1267 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-11 18:46:26 +00:00
Alexey Teplov (
5c55e63fc6 small optimization
git-svn-id: svn://kolibrios.org@1260 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-09 19:30:40 +00:00
Alexey Teplov (
8a7f4a3cf6 small optimization.
git-svn-id: svn://kolibrios.org@1232 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-24 19:43:45 +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
Evgeny Grechnikov (Diamond)
26d83dcf4a keep physical page 0 intact (used by some BIOSes in int 13h)
git-svn-id: svn://kolibrios.org@1172 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-22 17:10:24 +00:00
Alexey Teplov (
83e2f051b2 Set align 4 for subroutines in main loop.
git-svn-id: svn://kolibrios.org@1168 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 18:30:04 +00:00
CleverMouse
257b31bb6d zero local port for socket open means choosing by the kernel
git-svn-id: svn://kolibrios.org@1154 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-09 11:31:04 +00:00
CleverMouse
d867ba0459 system function 40 now returns previous value of event mask
git-svn-id: svn://kolibrios.org@1153 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-08 11:32:39 +00:00
Evgeny Grechnikov (Diamond)
5710e61b10 update window client box when style changed by sysfn 0
git-svn-id: svn://kolibrios.org@1116 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-22 19:34:37 +00:00
Evgeny Grechnikov (Diamond)
db82eb41f1 revert to static single-color background if memory allocation failed
git-svn-id: svn://kolibrios.org@1107 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-06 17:25:32 +00:00
Evgeny Grechnikov (Diamond)
89da5cd137 Loading COM mouse driver is moved from the kernel to application
git-svn-id: svn://kolibrios.org@1106 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-05 19:56:49 +00:00
Evgeny Grechnikov (Diamond)
74eca8d29f Fixed CF return from sysfunction 49 (APM)
git-svn-id: svn://kolibrios.org@1097 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-01 11:21:30 +00:00
Evgeny Grechnikov (Diamond)
17a996c852 heuristic for ACPI power off
git-svn-id: svn://kolibrios.org@1085 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-26 17:34:06 +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
heavyiron
4cb80b2638 1071 small fix
git-svn-id: svn://kolibrios.org@1073 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-19 03:55:36 +00:00
Evgeny Grechnikov (Diamond)
be9e2b43f3 use atomic bts for mutex in sys_background from Maxis
git-svn-id: svn://kolibrios.org@1071 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-16 09:57:16 +00:00
Galkov
a730579b19 kernel - fix by forum post=23224
event - small optimization, not more

git-svn-id: svn://kolibrios.org@1067 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-02 08:59:16 +00:00
Iliya Mihailov (Ghost)
94ab6bf2f1 APM system call temporary fix
git-svn-id: svn://kolibrios.org@1063 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-04-12 12:51:35 +00:00
Galkov
82da211b9b sys32 - concentration all (except #NM) exception handlers in ecx_c for optimization purpose
debug  - moved handler to sys32::exc_c
fpu    - moved except_16/19 to sys32::exc_c
memory - changing interface for page_fault_handler
v86    - changing interface for handler v86_exc_c
kernel - small optimization

git-svn-id: svn://kolibrios.org@1056 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-04-04 19:58:42 +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
hidnplayr
f6697caafb Serial output console (disable by default)
When enabled with current settings,
it will work on com1 using a 115200 baud connection
8 bits words, no parity bit, 1 stop bit

git-svn-id: svn://kolibrios.org@1043 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-03-02 21:05:40 +00:00
Evgeny Grechnikov (Diamond)
c84192cba4 * commented redundant messages for window moving and process creating
* added CPU frequency output in boot log

git-svn-id: svn://kolibrios.org@1038 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-02-20 12:01:31 +00:00
Evgeny Grechnikov (Diamond)
cefa38b9f8 fix for IRQs from slave controller not working on some machines
git-svn-id: svn://kolibrios.org@1025 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-02-08 10:40:40 +00:00
Evgeny Grechnikov (Diamond)
f8317039fb Kernel updated to 0.7.5.0
git-svn-id: svn://kolibrios.org@1018 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-01-31 06:09:36 +00:00
Evgeny Grechnikov (Diamond)
c7e2fad919 fixed return value for function 44
git-svn-id: svn://kolibrios.org@973 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-18 11:18:41 +00:00
Evgeny Grechnikov (Diamond)
8106f1fe2c Reverted revision 910
git-svn-id: svn://kolibrios.org@966 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-17 00:15:14 +00:00
Marat Zakiyanov (Mario79)
13ea3979bb Small fix of function 36.
git-svn-id: svn://kolibrios.org@939 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-26 15:22:15 +00:00
Marat Zakiyanov (Mario79)
d43e578cc8 Function 36 now is faster and use on/off cursor.
git-svn-id: svn://kolibrios.org@927 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-21 13:21:02 +00:00
Sergey Semyonov (Serge)
7ea36b4316 export "SetMouseData" for pe drivers
git-svn-id: svn://kolibrios.org@924 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-17 12:04:16 +00:00
Marat Zakiyanov (Mario79)
bbf8c5f14d Function 36. See sysfuncr.txt and sysfuncs.txt
git-svn-id: svn://kolibrios.org@921 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-16 15:23:40 +00:00
Evgeny Grechnikov (Diamond)
5847ff53fc sysfunction 65 can now output 2bpp images
git-svn-id: svn://kolibrios.org@918 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-11 10:55:26 +00:00
Evgeny Grechnikov (Diamond)
9ec5779194 bugfix in previous revision
git-svn-id: svn://kolibrios.org@912 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-06 10:02:00 +00:00
Evgeny Grechnikov (Diamond)
01bb499fab sysfunction 65 can now output 1bpp and 4bpp images
git-svn-id: svn://kolibrios.org@911 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-06 08:56:18 +00:00
Mihail Semenyako (mike.dld)
4589f3ae78 Actually set the background on boot to 1x1 black pixel
git-svn-id: svn://kolibrios.org@910 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-05 16:54:51 +00:00
Evgeny Grechnikov (Diamond)
2d73c440b4 sysfunction 65: 16bpp is now 5+6+5, and 5+5+5=15bpp
git-svn-id: svn://kolibrios.org@906 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-03 21:40:50 +00:00
Sergey Semyonov (Serge)
3a8ae3d4cb fix background buffer overrun
git-svn-id: svn://kolibrios.org@875 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-10 12:08:40 +00:00
Evgeny Grechnikov (Diamond)
a881989d7c bugfix in sysfn 67: avoid system crash for invalid parameter
git-svn-id: svn://kolibrios.org@856 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-25 16:37:47 +00:00
Evgeny Grechnikov (Diamond)
059b851217 sysfunction 65: added 16-bit color
git-svn-id: svn://kolibrios.org@842 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-04 16:43:51 +00:00
Alver
052092663c git-svn-id: svn://kolibrios.org@803 a494cfbc-eb01-0410-851d-a64ba20cac60 2008-06-22 15:14:42 +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
Rus
66658538e4 Reorganization interrupts handlers part 2.
(I hope, I didn't something stupid.)
Fixed bug in get_pid function.
Added copyright in com mouse driver.
Fixed incorrect comment inscription in boot\ru.inc .

git-svn-id: svn://kolibrios.org@774 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-03-18 17:19:08 +00:00
Rus
07985443ea Com mouse cod moved to driver.
Begin of reorganization interrupts handlers Part 1.
Some dead code deleted.

git-svn-id: svn://kolibrios.org@769 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-03-13 20:23:15 +00:00
Evgeny Grechnikov (Diamond)
e5d49b5269 Restored text "All set - press ESC to start" because it is useful for debugging (when one needs to view log)
git-svn-id: svn://kolibrios.org@767 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-03-02 12:59:09 +00:00
Rus
b9272bd614 Deleted old useless functions 32, 33 and accompanying code.
git-svn-id: svn://kolibrios.org@766 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-03-01 16:20:40 +00:00
Rus
8d83c4684d Deleted cross order of registers in functions 44, 45. Some optimizations of them.
git-svn-id: svn://kolibrios.org@765 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-03-01 11:43:09 +00:00
Rus
70dc0ef970 Deleted unnecessary text "All set - press ESC to start" and accompanying code. I hope it's really unnecessary.)
git-svn-id: svn://kolibrios.org@764 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-03-01 07:11:00 +00:00
Rus
b6f863a2e2 Refactored function 42, now its faster in about 100 times, than the old version from Menuet. See sysfuncs.txt (sysfuncr.txt) for more details.
git-svn-id: svn://kolibrios.org@760 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-28 21:01:15 +00:00
Rus
064055e18f New organization of irq buffer, now its ring buffer. Its faster about 4.5 times.
*Warning! its debug version which can have many bugs, because I cannot test it all. I tested byte's receive on little size of data. If you can test it on big data size, and word's receive - do it! :)

git-svn-id: svn://kolibrios.org@759 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-27 18:05:09 +00:00
Sergey Semyonov (Serge)
e461a53e3d export set_screen
git-svn-id: svn://kolibrios.org@757 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-24 16:21:55 +00:00
Evgeny Grechnikov (Diamond)
a85d73c061 * kernel.asm: 18.1 is now safe (correction of rev. 748)
* vesa20.inc: comments were correct! Restored (correction of rev. 753)
* fasm from last AZ

git-svn-id: svn://kolibrios.org@755 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-23 10:16:37 +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
Alexey Teplov (
bda889fba8 delete cross_order for 38 function draw_line
git-svn-id: svn://kolibrios.org@752 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-21 06:21:43 +00:00
heavyiron
b9b45d733a *Remove unneeded ps2mouse.inc and m_ps2.inc
*Remove 18.1 and 18.9.1 functions (sinse 465 revision they doesn't work), so CPU now use END application for reboot
NOTE: file ROSE.TXT don't used in kernel now and can be deleted from image

*New END application form Leency & Veliant

git-svn-id: svn://kolibrios.org@748 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-19 05:28:11 +00:00
Rus
b27b500a57 deleted cross order of registers in functions 41,42
some optimizations of them

*because revision 741 is broken, I tested it on revision 724

git-svn-id: svn://kolibrios.org@742 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-17 13:31:28 +00:00
Sergey Semyonov (Serge)
2c7785b277 PE loader: error checking
git-svn-id: svn://kolibrios.org@740 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-15 16:15:47 +00:00
Evgeny Grechnikov (Diamond)
ee2c4f4c94 * hd_read doesn't add sector to cache if read error has occured
* hd read errors at boot do not hang up system

git-svn-id: svn://kolibrios.org@725 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-10 10:16:46 +00:00
Sergey Semyonov (Serge)
723d4d3618 AZ hotfix: memory for unpack
pages for V86, access to own page tables

git-svn-id: svn://kolibrios.org@712 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-07 04:50:50 +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
Evgeny Grechnikov (Diamond)
e02112ea70 deleting cross registers in system calls, part 2
git-svn-id: svn://kolibrios.org@684 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-12-17 11:04:07 +00:00
Evgeny Grechnikov (Diamond)
a3ee7f3740 shutdown code now correctly handles >128 Kb file kernel.mnt
git-svn-id: svn://kolibrios.org@681 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-12-13 18:45:44 +00:00
Iliya Mihailov (Ghost)
4f0542fd62 initial deleting cross regisres in system calls
git-svn-id: svn://kolibrios.org@671 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-11-12 23:08:54 +00:00
Evgeny Grechnikov (Diamond)
c1f806239d * new system function for "send message"
* @panel: Alt+F4 sends close message rather than immediate kill

git-svn-id: svn://kolibrios.org@665 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-25 11:20:02 +00:00
Marat Zakiyanov (Mario79)
8c19251a65 Function 47 - output of qword (64-bites) number
git-svn-id: svn://kolibrios.org@655 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-18 16:27:26 +00:00
Evgeny Grechnikov (Diamond)
07eee4adec added bootlog message if first app cannot be loaded
git-svn-id: svn://kolibrios.org@653 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-17 07:05:33 +00:00
Marat Zakiyanov (Mario79)
2fd4568906 Function 47 - output of number without empty zero in high bits
git-svn-id: svn://kolibrios.org@652 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-16 21:19:12 +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
Marat Zakiyanov (Mario79)
73bd1e2963 Function 18/19/5 - emulation mouse button.
git-svn-id: svn://kolibrios.org@621 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-05 21:30:16 +00:00
Marat Zakiyanov (Mario79)
d01af144cb Processing event: press real button - eject tray ATAPI device.
git-svn-id: svn://kolibrios.org@618 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-02 20:44:43 +00:00
Alver
47fe4cff9c git-svn-id: svn://kolibrios.org@608 a494cfbc-eb01-0410-851d-a64ba20cac60 2007-08-22 22:34:57 +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
Mihail Semenyako (mike.dld)
e954751c46 Fix for syscall_cdaudio (unable to compile kernel)
git-svn-id: svn://kolibrios.org@591 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-26 20:21:13 +00:00
Evgeny Grechnikov (Diamond)
3e7d2e5267 load/eject CD tray functions check that input device is CD/DVD
git-svn-id: svn://kolibrios.org@590 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-26 15:57:15 +00:00
Evgeny Grechnikov (Diamond)
379dd4d36d Load/eject CD/DVD device tray moved from sysfn 70 to sysfn 24 (see sysfunc*),
because these actions do not involve file system.

git-svn-id: svn://kolibrios.org@588 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-26 12:25:17 +00:00
Sergey Semyonov (Serge)
a4f10b7565 From Ghost: calls to PCIBIOS services
git-svn-id: svn://kolibrios.org@586 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-23 17:50:42 +00:00
Evgeny Grechnikov (Diamond)
390d9aa3a7 first call to sysfn 0 activates window
git-svn-id: svn://kolibrios.org@569 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-07 11:42:26 +00:00
Sergey Semyonov (Serge)
3880bd7325 1)sound.asm: disable previous patch by default
2)uhci transfer descriptors


git-svn-id: svn://kolibrios.org@567 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-07 07:25:17 +00:00
Sergey Semyonov (Serge)
5ddaca390b sound.asm: patch BIOS bug for ICH0
add USE_IRQ_REMAP conditional directive

git-svn-id: svn://kolibrios.org@566 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-06 08:12:11 +00:00
Evgeny Grechnikov (Diamond)
0e12a2072c make background redraw faster
git-svn-id: svn://kolibrios.org@555 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-26 15:52:28 +00:00
SPraid (simba)
d7d49c0feb added window type (Y=4). skinned window with fixed sizes
git-svn-id: svn://kolibrios.org@549 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-22 00:17:28 +00:00
Evgeny Grechnikov (Diamond)
925adfd15a changed background handling
git-svn-id: svn://kolibrios.org@546 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-18 16:39:42 +00:00
SPraid (simba)
263374dacd prepare for cd load (bx='m0' set by loader).
git-svn-id: svn://kolibrios.org@543 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-14 18:21:03 +00:00
victor
07486a11e4 change format outputed data sysfunc 18.13
see sysfuncs.txt

git-svn-id: svn://kolibrios.org@540 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-11 15:42:19 +00:00
SPraid (simba)
7f9f16c0ff CD drivers update from mario
git-svn-id: svn://kolibrios.org@538 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-08 14:17:17 +00:00
Evgeny Grechnikov (Diamond)
dea47105d0 Kernel updated to 0.7.0.0
git-svn-id: svn://kolibrios.org@536 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-07 13:34:43 +00:00
SPraid (simba)
5154195769 translate some comments to english
git-svn-id: svn://kolibrios.org@535 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-07 12:56:40 +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
Evgeny Grechnikov (Diamond)
141e4c2c3d * Rewritten Vesa2 background code, it is much faster now
* Fixed kernel fault when creating files with unusual names with multiple dots

git-svn-id: svn://kolibrios.org@527 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-30 13:48:21 +00:00
Evgeny Grechnikov (Diamond)
61c54a1be6 * Correct value of selector gs
* Support for kpack'ed skin files
* Default setting for DMA access is now "disabled"
* Fixed kernel fault when network packet sending

git-svn-id: svn://kolibrios.org@523 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-25 09:37:08 +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
Evgeny Grechnikov (Diamond)
875ba74b27 * unknown/unsupported videomode at boot leads to return in config manager
* boot config manager now allows to totally disable DMA access to HD

git-svn-id: svn://kolibrios.org@514 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-21 13:25:02 +00:00
Sergey Semyonov (Serge)
4c1ad6f2c7 align heap_base on 4Mb border
move sys_pgmap at the top of kernel memory

git-svn-id: svn://kolibrios.org@513 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-20 10:01:18 +00:00
SPraid (simba)
0b7151a256 parse_fn.inc use mikedld librares (shuld be in %sys%/lib)
http://mikedld.com/f/libs-dev-3.7z

at sys.conf added network konfiguration

git-svn-id: svn://kolibrios.org@512 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-20 09:04:59 +00:00
Evgeny Grechnikov (Diamond)
63d41caa25 more correct handling of bx_from_load var
git-svn-id: svn://kolibrios.org@509 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-18 13:41:21 +00:00
Sergey Semyonov (Serge)
59eaa9f2bd small optimization. reduce code size
git-svn-id: svn://kolibrios.org@501 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-16 19:12:34 +00:00
Evgeny Grechnikov (Diamond)
8390a01a58 slightly decreased kerpack'ed size
git-svn-id: svn://kolibrios.org@498 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-16 13:43:21 +00:00
SPraid (simba)
91e30473ed cpustring fixed
conf_lib fixed

git-svn-id: svn://kolibrios.org@497 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-15 18:05:31 +00:00
SPraid (simba)
ba74e7f00f @Panel: do not kill self and icon
Kernel: stage one of use dev config

git-svn-id: svn://kolibrios.org@494 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-15 12:03:26 +00:00
Sergey Semyonov (Serge)
189a524abf fixed mtrr in VGA modes
git-svn-id: svn://kolibrios.org@490 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-14 04:27:51 +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
heavyiron
4daae89053 *kernel - fixes in 15.2 by Mario79 and 67 by mike.dld
updated sysfunc.txt
*programs 
         new icons and logo for CPUID and ICON
         added new version of @ICON and ICONMNGR
         fixes in iconedit and calendar from DedOK
         new algoritm of fill background in pic4
         all apps (fasm-writen only) rewriten to use common macros.inc for easy recompile in fastcall mode (there is a bug in https; run need rewrite to use common macros.inc)
         small fixes in build_all.bat script
         

git-svn-id: svn://kolibrios.org@485 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-10 13:48:35 +00:00
Iliya Mihailov (Ghost)
9104b5cebc Fast calls
* MSR protect

2kasTIgar:
Update local svn or lock files before update!

git-svn-id: svn://kolibrios.org@482 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-09 16:43:35 +00:00
kastigar
510a108c5d 1)ps2 mouse driver(removed from kernel)
2)new 2 modes for ps2-mouse (scrolling mouse and 5-button mouse)
3) added function 37.7 for mouse scrolling data

git-svn-id: svn://kolibrios.org@479 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-08 11:32:58 +00:00
Iliya Mihailov (Ghost)
2432006d40 Fast calls
* multi thread program support
* MSR protect
* fast_call_test update
---------------------------
old code:
	int 0x40

code for Intel SYSENTER:
	push	ebp
	mov	ebp, esp
	push	..ret_point
	sysenter
 ..ret_point:
	pop	edx
	pop	ecx

code for AMD SYSCALL:
	push	ecx
	syscall
	pop	ecx

recommendation: use mcall from macros.inc

git-svn-id: svn://kolibrios.org@477 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-07 12:54:32 +00:00
Evgeny Grechnikov (Diamond)
441fcf143a * Unified COM1/COM2 mice handling.
* Corrected COM mouse detection.
* Mouse cursor can now be at right and bottom screen sides.
* Normal handling of "desktop background redraw" event.
  (Background redraw is faster now.)
* Fixed error in stretch background function for VESA 2.0.

git-svn-id: svn://kolibrios.org@473 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-02 12:06:10 +00:00
Sergey Semyonov (Serge)
0cca9c7b8c reduce memory size
git-svn-id: svn://kolibrios.org@472 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-28 12:45:22 +00:00
Sergey Semyonov (Serge)
db5fd1e74a from Mario79: rewritten background image code
git-svn-id: svn://kolibrios.org@469 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-24 08:56: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
Sergey Semyonov (Serge)
7ca193f613 fixed fpu_save()
git-svn-id: svn://kolibrios.org@435 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-28 17:06:08 +00:00
Evgeny Grechnikov (Diamond)
c58d3fcbd1 Normal stack handling for sysenter/syscall; trap gate for int 0x40
git-svn-id: svn://kolibrios.org@434 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-28 14:51:04 +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
Sergey Semyonov (Serge)
e779187e24 update read_file
git-svn-id: svn://kolibrios.org@429 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-23 03:11:34 +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
SPraid (simba)
3a44857930 git-svn-id: svn://kolibrios.org@424 a494cfbc-eb01-0410-851d-a64ba20cac60 2007-03-21 18:36:27 +00:00
Andrey Halyavin (halyavin)
a8971e7f3a Upgrading launching cpu after pressing alt-ctrl-del (by simba).
git-svn-id: svn://kolibrios.org@407 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-09 14:36:29 +00:00
Sergey Semyonov (Serge)
9bdd298848 add prefix @ to thread name
git-svn-id: svn://kolibrios.org@392 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-06 17:01:25 +00:00
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)
73c568fb03 1)new memory layout
2)Infinity 1.0

git-svn-id: svn://kolibrios.org@378 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-27 11:47:52 +00:00
Iliya Mihailov (Ghost)
b07dfce332 Fast System Call
Currently it only for kernel developing
See : http://meos.sysbin.com/viewtopic.php?t=662

git-svn-id: svn://kolibrios.org@375 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-25 14:20:50 +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)
0f0c0aabfa reduce kernel memory
git-svn-id: svn://kolibrios.org@363 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-19 08:22:55 +00:00
Mihail Semenyako (mike.dld)
fb5ddafbe5 Added FDO, changed output in 'blkdev/hd_drv.inc' to give an example
git-svn-id: svn://kolibrios.org@358 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-18 19:36:25 +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
Evgeny Grechnikov (Diamond)
76d3050df9 Kernel updated to 0.6.5.0
git-svn-id: svn://kolibrios.org@346 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-14 16:01:07 +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
Evgeny Grechnikov (Diamond)
1ace68286b * New sysfunction 70.9, create folder
* Deleted obsolete 58.4 (create folder 8.3 on hd)
* Updated docs
* Bugfixes (file system; core; direct screen access), improvements (sysfn 70.3)
* KFar 0.21, full error handling, folder creation (with new kernel)

git-svn-id: svn://kolibrios.org@321 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-05 14:20:36 +00:00
Evgeny Grechnikov (Diamond)
822a9715c4 * Modified sysfunction 65 (see documentation), use new KFAR
* Deleted useless sysfunction 59 (syscalls trace)
* Load vmode.mdr via new file subsystem
* KFar 0.2

git-svn-id: svn://kolibrios.org@314 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-02 15:09:14 +00:00
Evgeny Grechnikov (Diamond)
b1fda0395c * New function 65 (PutImagePalette) + documentation
* KFar 0.19 (requires new kernel)

git-svn-id: svn://kolibrios.org@283 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-19 15:02:33 +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)
f825a71d89 rewritten reg_service, get_service, stop_all_services
git-svn-id: svn://kolibrios.org@278 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-18 02:06:00 +00:00
Evgeny Grechnikov (Diamond)
a9706fb6ca * Updated documentation
* Deleted useless code

git-svn-id: svn://kolibrios.org@277 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-17 14:43:18 +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
Sergey Semyonov (Serge)
2f3e0a30ee kernel support for loading compressed apps - part 2
git-svn-id: svn://kolibrios.org@269 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-10 21:25:55 +00:00
Evgeny Grechnikov (Diamond)
18334aa2f8 ntfs.inc: bugfix
kernel.asm: normal keyboard typematic rate&delay

git-svn-id: svn://kolibrios.org@265 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-09 11:34:31 +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
Iliya Mihailov (Ghost)
b22c241723 ITE chips model identify bug fix by Serge
git-svn-id: svn://kolibrios.org@243 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-23 19:01:56 +00:00
Sergey Semyonov (Serge)
54e1aacfec kernel support for loading compressed apps - part 1
git-svn-id: svn://kolibrios.org@237 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-17 06:22:59 +00:00
Sergey Semyonov (Serge)
d510d16f49 fixed ATI cursor clipping
2,4,8,24 bpp cursors
delete_cursor implemented

git-svn-id: svn://kolibrios.org@233 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-11 21:48:12 +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)
077f779dea fixed cursor clipping in 24bpp video mode
git-svn-id: svn://kolibrios.org@224 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-29 07:32:57 +00:00
Iliya Mihailov (Ghost)
8871a59fcf * GMon now support ABIT uGuru
* kernel.asm free port area 0xe0-0xe4 (special for uGuru)
+ CPUID by Wildwest
* APM GDT limit fix 3

git-svn-id: svn://kolibrios.org@223 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-28 15:54:36 +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)
f96c2c867c 16Mb version
git-svn-id: svn://kolibrios.org@212 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-16 10:59:49 +00:00
Sergey Semyonov (Serge)
763bc3ad70 1)fixed bug in kernel_alloc_space
2)support for loading compressed files

git-svn-id: svn://kolibrios.org@211 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-16 05:47:31 +00:00
Evgeny Grechnikov (Diamond)
4b73c68fff Kernel updated to 0.6.3.0
git-svn-id: svn://kolibrios.org@202 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-31 16:11:04 +00:00
Evgeny Grechnikov (Diamond)
ed2a996944 Fixed bug with function 47 introduced in rev. 194
git-svn-id: svn://kolibrios.org@200 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-28 15:04:51 +00:00
Evgeny Grechnikov (Diamond)
ef2a2e0e6a Now memory amount is printed in bootlog
git-svn-id: svn://kolibrios.org@194 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-25 10:28:41 +00:00
Sergey Semyonov (Serge)
ad55c9aee2 1.new drivers loader
2.changes in 68.11 init_heap

git-svn-id: svn://kolibrios.org@188 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-20 14:02:26 +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)
fc4d6ab4af Kernel: support for kernel packer
kfar: updated to 0.14 (warning when deleting)

git-svn-id: svn://kolibrios.org@183 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-16 12:17:49 +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)
9395f92693 1)fixed memory size in fn 18.16 & 18.17
2)added fn 18.20 - get extended memory info

git-svn-id: svn://kolibrios.org@170 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-08 07:48:38 +00:00
Sergey Semyonov (Serge)
233c3e6435 complete SSE support. user-level SSE & FPU exceptions handling
git-svn-id: svn://kolibrios.org@168 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-07 09:47:03 +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)
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)
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
Evgeny Grechnikov (Diamond)
1e0680aa80 Fixed error in function 47 for client-relative drawing
git-svn-id: svn://kolibrios.org@155 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-20 15:01:30 +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)
94b3a5b74e Corrected A20 enabling
git-svn-id: svn://kolibrios.org@149 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-13 11:18:16 +00:00
Evgeny Grechnikov (Diamond)
990e3f745c Kernel: updated to Kolibri 0.6.0.0 distr
Programs from K0600 distr: CDP, KEYASCII

git-svn-id: svn://kolibrios.org@147 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-08 13:29:22 +00:00
Evgeny Grechnikov (Diamond)
55d060c456 bootcode.inc: fixed error in loader block checks
dev_hdcd.inc: increased delay in reset function
kernel.asm: now kernel loads system programs (vrr_m/launcher and cpu) via fn 70
shutdown.inc: corrected code of rose output
IR, VRR_M: modified to use function 70 + optimization

git-svn-id: svn://kolibrios.org@143 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-31 12:56:29 +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
Mihail Semenyako (mike.dld)
c32993d622 Added: return client area coordinates and window state from 9th function
git-svn-id: svn://kolibrios.org@138 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-27 17:42:37 +00:00
Mihail Semenyako (mike.dld)
d37931f10a Fixed client-relative behavior of functions 37.1 and 47
git-svn-id: svn://kolibrios.org@137 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-26 19:08:10 +00:00
Marat Zakiyanov (Mario79)
28e25be617 1) The function 18/19 - to get/set mouse features
2) The application SETUP is changed for operation from functions 18/19, also instead of functions 6 and 33 the function 70 is used. 

git-svn-id: svn://kolibrios.org@120 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-13 13:02:57 +00:00
Marat Zakiyanov (Mario79)
df2e1aa3a9 1) small fix of code VGA.
2) decrease of an error "track of cursor ".

git-svn-id: svn://kolibrios.org@119 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-12 15:21:53 +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
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
Andrey Halyavin (halyavin)
16e3ab15b2 Now 8Mb of address space reserved for LFB. New linear address of LFB is 0x80000000.
git-svn-id: svn://kolibrios.org@103 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-25 06:37:38 +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
Marat Zakiyanov (Mario79)
251420e666 The delays enlarged at call to PS2, for definition of the mouse on fast CPU
The author of change - Serge.

git-svn-id: svn://kolibrios.org@98 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-11 17:09:09 +00:00
Marat Zakiyanov (Mario79)
400f8f145d Changes:
1) changed version of a kernel - 0581
2) menu now uses the function 70
These changes will be in Kolibri 0581 (or beta2)

git-svn-id: svn://kolibrios.org@97 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-10 20:26:50 +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
Marat Zakiyanov (Mario79)
3ac6e40242 Added: Function 70/05 for ISO9660 - get file/directory attributes structure.
Fix: small error - incorrect allocation in the code of string mov [window_minimize], 2

git-svn-id: svn://kolibrios.org@90 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-06-25 19:28:15 +00:00
Andrey Halyavin (halyavin)
62da2ad490 Function 18/18 added. It terminate process by PID (instead of slot as in function 18/2).
git-svn-id: svn://kolibrios.org@85 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-06-14 07:42:59 +00:00
Andrey Halyavin (halyavin)
26d6c6af0e Now kernel can be compiled with fasm 1.66.
git-svn-id: svn://kolibrios.org@82 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-05-26 10:48:09 +00:00
Evgeny Grechnikov (Diamond)
60290f1452 Function 70.1 now supports ANSI+UNICODE. Flag CF in function 49 corrected.
git-svn-id: svn://kolibrios.org@78 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-05-12 12:47:52 +00:00
Evgeny Grechnikov (Diamond)
0b65f18e93 Some corrections in new file system functions. Added sysfuncr.txt docs.
git-svn-id: svn://kolibrios.org@77 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-05-10 14:30:38 +00:00
Marat Zakiyanov (Mario79)
c9d4558817 Mihaylov Iliya Andreevich aka Ghost
Advanced Power Management
SYSTEM CALL
eax = 49
dx = number of the function APM BIOS (Is similar AX in real mode)
Others registers (bx, cx) on the specification (see. docs/apm.zip>apm.txt)
Result: on the specification (including CF), the high part 32 bit registers is not defined


git-svn-id: svn://kolibrios.org@76 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-05-06 14:34:30 +00:00
Evgeny Grechnikov (Diamond)
17da7e7f7a File system: read folders with long names and in new standard
System functions: many small corrections

git-svn-id: svn://kolibrios.org@75 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-05-05 12:40:02 +00:00
Evgeny Grechnikov (Diamond)
d3d3fc15c6 Now system doesn't draw background before its definition
git-svn-id: svn://kolibrios.org@67 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-04-12 13:15:06 +00:00
Marat Zakiyanov (Mario79)
e9e0059192 1) The comment of pointer the version is changed on 0530
2) Corrected VRR (mcall 5,50; mcall 15,3)
These 2 corrections were included in K0530

git-svn-id: svn://kolibrios.org@62 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-20 17:27:09 +00:00
Andrey Halyavin (halyavin)
03b4d7367e Return value of 58 function is corrected. Shutdown.inc optimized. Changes from diamond.
git-svn-id: svn://kolibrios.org@61 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-20 09:57:24 +00:00
Marat Zakiyanov (Mario79)
0e57fd1908 Fixed bug - COM modem completely does not work.
git-svn-id: svn://kolibrios.org@58 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-11 18:10:47 +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
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)
4c548cc4f0 *size of memory manager code reduced
*18/17 function returns physical memory size now 
 (it returned size of allocatable memory previously).

git-svn-id: svn://kolibrios.org@39 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-23 14:30:15 +00:00
Marat Zakiyanov (Mario79)
1d998163de New algorithm of output of a mouse pointer
git-svn-id: svn://kolibrios.org@36 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-13 18:30:12 +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
Andrey Halyavin (halyavin)
435676e6a4 added function 18/16 - get size of free memory (in Kb) and function 18/17 - get size of all memory (in Kb).
git-svn-id: svn://kolibrios.org@32 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-03 11:15:05 +00:00