Commit Graph

472 Commits

Author SHA1 Message Date
Alexey Teplov (
2676add626 bugfix. jmp to sys_sheduler
git-svn-id: svn://kolibrios.org@1366 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-07 17:00:10 +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
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
Evgeny Grechnikov (Diamond)
66a88326dd fixes in malloc(); test app for malloc()/free()
git-svn-id: svn://kolibrios.org@1333 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-26 19:08:42 +00:00
Evgeny Grechnikov (Diamond)
c9db05056e kernel heap size restored to correct value after rev. 1130
git-svn-id: svn://kolibrios.org@1332 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-26 12:35:19 +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
Alexey Teplov (
01cfb22aca small optimization.
git-svn-id: svn://kolibrios.org@1322 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-15 18:57:08 +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)
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
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 (
ac60266824 bugfix 1306
git-svn-id: svn://kolibrios.org@1307 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-03 19:11:08 +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
Evgeny Grechnikov (Diamond)
d939ae6ae1 fix misprint in rev. 1220
git-svn-id: svn://kolibrios.org@1298 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-29 21:46:31 +00:00
Evgeny Grechnikov (Diamond)
d6647dd32a alignment of sections in COFF libraries is now loaded from header
git-svn-id: svn://kolibrios.org@1296 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-28 16:13:10 +00:00
Evgeny Grechnikov (Diamond)
24e13906b7 * fix in library unloading of bug introduced in rev. 1289
* fix in malloc(): release mutex in rare control path


git-svn-id: svn://kolibrios.org@1292 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-28 11:46:46 +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 (
d0ea66e57f upgrade sys_settime.
git-svn-id: svn://kolibrios.org@1279 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-20 18:50:43 +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 (
5c55e63fc6 small optimization
git-svn-id: svn://kolibrios.org@1260 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-09 19:30:40 +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
Sergey Semyonov (Serge)
00c7719786 bugfix of 68.22
git-svn-id: svn://kolibrios.org@1213 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-13 11:01:18 +00:00
Alexey Teplov (
08bc0b6e4a a bugfix for previously commit.
git-svn-id: svn://kolibrios.org@1211 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-13 07:47:13 +00:00
Alexey Teplov (
41b9d8be8d insert a 'align 4'
git-svn-id: svn://kolibrios.org@1210 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-13 06:47:08 +00:00
Evgeny Grechnikov (Diamond)
c752107a02 fixed kernel heap manager broken in rev. 1090
git-svn-id: svn://kolibrios.org@1130 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-07-25 13:12:11 +00:00
Galkov
3745ae0ad7 optimization of fix in rev.1089 for my bug, delivered in rev.1074
git-svn-id: svn://kolibrios.org@1105 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-05 10:12:45 +00:00
Evgeny Grechnikov (Diamond)
7931378fda use fn E820 of int 15h to query memory map (if available)
git-svn-id: svn://kolibrios.org@1103 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-04 19:43:17 +00:00
Evgeny Grechnikov (Diamond)
0226898ca6 Work with small amount of physical memory corrected (bug #9, part 1)
git-svn-id: svn://kolibrios.org@1090 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-29 19:28:27 +00:00
Evgeny Grechnikov (Diamond)
6c18c6d3a0 fixed #PF reporting broken in rev. 1074
git-svn-id: svn://kolibrios.org@1089 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-29 16:09:05 +00:00
Galkov
4f860a13de Oops :(
git-svn-id: svn://kolibrios.org@1086 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-26 19:43:56 +00:00
Evgeny Grechnikov (Diamond)
7fe03ccb57 compilation fix
git-svn-id: svn://kolibrios.org@1083 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-25 12:49:43 +00:00
Evgeny Grechnikov (Diamond)
9470f6e097 fixed V86 task switch on IRQ broken in rev. 1055
git-svn-id: svn://kolibrios.org@1082 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-25 12:22:51 +00:00
Evgeny Grechnikov (Diamond)
25030c977d added check for correctness in 68.25
git-svn-id: svn://kolibrios.org@1081 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-25 10:29:59 +00:00
Galkov
b092aa34a2 changing by forum post 23500:
1) f68:15,18 moved to f68:24,25
2) f68:15,18 set to obsolete

git-svn-id: svn://kolibrios.org@1077 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-23 08:23:03 +00:00
Galkov
2df36c4abf small optimization, not more
git-svn-id: svn://kolibrios.org@1076 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-22 11:40:07 +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
Evgeny Grechnikov (Diamond)
3d76ee5a5b Changes from Maxis:
* Fixed sysfunction 18.20 (bug #13)
  * wait_mutex optimized (bug #10)

git-svn-id: svn://kolibrios.org@1072 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-18 18:26:34 +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
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)
54be51b2aa use BIOS settings (if it already configured) for MTRRs
git-svn-id: svn://kolibrios.org@1030 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-02-11 23:20:18 +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)
5628c096c5 some cosmetic fixes
git-svn-id: svn://kolibrios.org@983 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-28 21:21:41 +00:00
Evgeny Grechnikov (Diamond)
63ae919adb bugfix of revision 980
git-svn-id: svn://kolibrios.org@982 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-28 14:08:39 +00:00
Evgeny Grechnikov (Diamond)
6e7de80aba allow IRQ6 to be redirected to V86 machine
git-svn-id: svn://kolibrios.org@980 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-28 13:29:34 +00:00
Evgeny Grechnikov (Diamond)
0ac773ecd9 V86 manager allows to write to BIOS area
git-svn-id: svn://kolibrios.org@979 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-27 21:41:14 +00:00
Sergey Semyonov (Serge)
90718434fa pe export: alloc_pages, attach_int_handler
git-svn-id: svn://kolibrios.org@978 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-23 16:29:05 +00:00
Iliya Mihailov (Ghost)
21cae2cddf paranoia clean up
git-svn-id: svn://kolibrios.org@972 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-17 18:59:45 +00:00
Evgeny Grechnikov (Diamond)
638b68c7e2 bugfix in V86 hypervisor
git-svn-id: svn://kolibrios.org@971 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-17 13:58:59 +00:00
Evgeny Grechnikov (Diamond)
f49b051211 allow IRQ14 and IRQ15 to be redirected to V86 machine
git-svn-id: svn://kolibrios.org@960 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-14 13:13:52 +00:00
Sergey Semyonov (Serge)
34c30dea68 destroy shared memory. update docs
git-svn-id: svn://kolibrios.org@945 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-06 20:24:43 +00:00
Sergey Semyonov (Serge)
07cb3855b0 shmem_close()
git-svn-id: svn://kolibrios.org@943 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-04 06:04:21 +00:00
Sergey Semyonov (Serge)
4ac08fc6e9 shmem_open()
git-svn-id: svn://kolibrios.org@940 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-30 19:04:25 +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)
e22da872c9 bugfix of previous revision
git-svn-id: svn://kolibrios.org@917 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-10 20:37:53 +00:00
Sergey Semyonov (Serge)
45f369f418 fix load_library
git-svn-id: svn://kolibrios.org@916 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-10 06:18:02 +00:00
Mihail Semenyako (mike.dld)
54e9661045 Network stack: dynamic sockets list, other small fixes
git-svn-id: svn://kolibrios.org@907 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-05 00:42:22 +00:00
Evgeny Grechnikov (Diamond)
ef9256f6b0 bugfix of revision 820
git-svn-id: svn://kolibrios.org@891 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-31 10:16:35 +00:00
Sergey Semyonov (Serge)
4f001bcf95 immediate values are replaced with symbolic constants
git-svn-id: svn://kolibrios.org@884 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-24 19:25:21 +00:00
Iliya Mihailov (Ghost)
639d436580 and eax, 0xff -> movzx eax, al
git-svn-id: svn://kolibrios.org@865 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-20 05:52:34 +00:00
hidnplayr
67aca9ac45 Added CPU exception error messages.
more info about cpu exceptions: http://www.delorie.com/djgpp/doc/dpmi/ch4.5.html

git-svn-id: svn://kolibrios.org@858 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-04 12:19:29 +00:00
Evgeny Grechnikov (Diamond)
1827396bcc bugfixes in 68.20 for decreasing allocated memory size
git-svn-id: svn://kolibrios.org@823 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-11 10:49:21 +00:00
Evgeny Grechnikov (Diamond)
3dac4b35a4 fixed problem with extremely slow work on some machines
git-svn-id: svn://kolibrios.org@821 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-09 21:46:35 +00:00
Evgeny Grechnikov (Diamond)
c6b94086d8 * more space for EBDA in V86
* some bugfixes in NTFS support

git-svn-id: svn://kolibrios.org@820 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-09 13:17:57 +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)
bb6bf261e7 fix irq_owner in attach_int_handler
git-svn-id: svn://kolibrios.org@797 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-05-02 07:27:54 +00:00
Sergey Semyonov (Serge)
16b20de954 optimizing switching of the FPU context
git-svn-id: svn://kolibrios.org@794 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-04-21 19:19:15 +00:00
Sergey Semyonov (Serge)
1fe26ef9de fixed kernel heap size
git-svn-id: svn://kolibrios.org@793 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-04-21 09:44:14 +00:00
Sergey Semyonov (Serge)
c69afcb005 add new exports for pe cursor driver
git-svn-id: svn://kolibrios.org@792 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-04-18 10:11:59 +00:00
Evgeny Grechnikov (Diamond)
2dae596c61 Last (in this series) fix of V86 IRQ handling
git-svn-id: svn://kolibrios.org@789 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-04-05 17:55:09 +00:00
Evgeny Grechnikov (Diamond)
890388b50c * Reverted previous revision because it was my mistake
* Fixed V86 IRQ handling broken in rev. 769

git-svn-id: svn://kolibrios.org@788 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-04-05 11:15:03 +00:00
Evgeny Grechnikov (Diamond)
c4be8acc8c Restored normal IRQ handling broken in rev. 769
git-svn-id: svn://kolibrios.org@787 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-04-04 17:36:17 +00:00
Evgeny Grechnikov (Diamond)
02fc4154be bugfix of revision 769
git-svn-id: svn://kolibrios.org@785 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-04-03 22:11:49 +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
Evgeny Grechnikov (Diamond)
b9e5a9d227 V86 improvements
git-svn-id: svn://kolibrios.org@770 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-03-15 19:30:34 +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
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
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
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
victor
524ca9c4c7 Placed copyright and properties "svn: keywords Rev"
git-svn-id: svn://kolibrios.org@750 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-19 07:14:38 +00:00
Sergey Semyonov (Serge)
e97775cadc additional support for rhd driver
git-svn-id: svn://kolibrios.org@747 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-18 21:38:13 +00:00
Sergey Semyonov (Serge)
bb54223b35 missing export.inc
git-svn-id: svn://kolibrios.org@745 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-17 18:54:52 +00:00
Iliya Mihailov (Ghost)
8c335b10b8 table bug fix
P.S. be intently when upload!!!

git-svn-id: svn://kolibrios.org@744 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-17 16:30:31 +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)
a24875d50b kernel: map_io_mem
git-svn-id: svn://kolibrios.org@741 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-16 08:46:57 +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
Sergey Semyonov (Serge)
9a06c513f8 ATI R500 solid_fill, solid_line
git-svn-id: svn://kolibrios.org@732 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-11 12:24:57 +00:00
Evgeny Grechnikov (Diamond)
6e65ab7c45 fixed bug in V86-mode handling of IRQ>=8
git-svn-id: svn://kolibrios.org@724 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-09 21:30:06 +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
hidnplayr
7941c117bc changes to attach_int_handler:
detect if int is not larger then 15

(you could probably crash the kernel otherwise)

git-svn-id: svn://kolibrios.org@700 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-01-20 20:51:24 +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)
d59aaca0fa fix in debug subsystem
git-svn-id: svn://kolibrios.org@680 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-12-08 21:18:55 +00:00
hidnplayr
814797a829 exported sys_msg_board as SysMsgBoardChar
this will make FDO work in drivers too

git-svn-id: svn://kolibrios.org@674 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-11-18 11:13:14 +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
hidnplayr
e24551e65f PciWrite32 function was missing
git-svn-id: svn://kolibrios.org@672 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-11-15 19:43:35 +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
Sergey Semyonov (Serge)
17c2ff7b3d fixed map_pe()
git-svn-id: svn://kolibrios.org@668 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-28 05:36:29 +00:00
Evgeny Grechnikov (Diamond)
eec9fdbabb 69.4 and 69.5 now do not require debugging privileges
git-svn-id: svn://kolibrios.org@667 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-27 22:54:42 +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
Sergey Semyonov (Serge)
81e27e05e7 fix load_file
git-svn-id: svn://kolibrios.org@663 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-21 02:16:16 +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
Sergey Semyonov (Serge)
0c4aa274bd fix some kernel stdcall functions
git-svn-id: svn://kolibrios.org@660 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-20 17:11:22 +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
Iliya Mihailov (Ghost)
8eaf6e2fcb * code clearing
* bug fix in "show_error_parameters", now registers value correctly show


git-svn-id: svn://kolibrios.org@658 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-19 15:42:11 +00:00
Mihail Semenyako (mike.dld)
a30801ba4b Fix in DEBUGF (incorrect output of eax..edi with %x)
New show_error_parameters (core/sys32.inc) from Ghost

git-svn-id: svn://kolibrios.org@656 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-19 11:04:39 +00:00
Evgeny Grechnikov (Diamond)
51662272ac bugfix for debug subsystem
git-svn-id: svn://kolibrios.org@634 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-20 16:43:34 +00:00
Sergey Semyonov (Serge)
0313ceaa28 support for new ATI chips
git-svn-id: svn://kolibrios.org@630 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-20 11:19:03 +00:00
Evgeny Grechnikov (Diamond)
324c641d1a bugfixes in 68.20
git-svn-id: svn://kolibrios.org@620 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-05 11:18:20 +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)
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)
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
Sergey Semyonov (Serge)
d4ed2579d9 uhci device
git-svn-id: svn://kolibrios.org@557 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-26 23:33:43 +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
Sergey Semyonov (Serge)
1be3cabb3a fix special values in COFF symbol table
git-svn-id: svn://kolibrios.org@541 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-14 11:47: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
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
SPraid (simba)
93e66701fb change path to "/sys" in some programs.
in build_all.bat: delete config.inc after compiling
delete /kernel/trunk/lib

git-svn-id: svn://kolibrios.org@529 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-30 14:45:45 +00:00
Evgeny Grechnikov (Diamond)
de8a596226 * Fixed bug with handling of command-line for apps
* Fn 70 supports /sys/... syntax for access to sysdir (/rd/1 with normal boot)

git-svn-id: svn://kolibrios.org@525 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-29 08:32:11 +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)
23bdfe5dc4 infinity: remove direct access to kernel data
git-svn-id: svn://kolibrios.org@520 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-24 07:36:48 +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)
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
Mihail Semenyako (mike.dld)
56299dc76d Fixed FDO (seems like bug in FASM to me)
git-svn-id: svn://kolibrios.org@506 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-17 19:54:49 +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
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)
fef69aab20 merge flat kernel
git-svn-id: svn://kolibrios.org@465 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-18 06:37:14 +00:00
Evgeny Grechnikov (Diamond)
1408306a87 New sysfunction 68.20: reallocate memory block
git-svn-id: svn://kolibrios.org@448 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-02 14:29:39 +00:00
Evgeny Grechnikov (Diamond)
54dc123015 * bootcode: revision string is now calculated at compile-time
* taskman.inc: do not add '@' to thread names
* @panel: do not draw undefined (zero-sized) windows
* rd.inc: corrected folder creation

git-svn-id: svn://kolibrios.org@437 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-29 10:24:08 +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
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
Sergey Semyonov (Serge)
391818d48f synchronization with flat kernel
git-svn-id: svn://kolibrios.org@412 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-10 16:04:35 +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
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
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
Sergey Semyonov (Serge)
d7c8e47442 fixed kernel heap
git-svn-id: svn://kolibrios.org@369 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-22 06:41:46 +00:00
Sergey Semyonov (Serge)
c3f06c82fb rename pages_tab -> page_tabs
git-svn-id: svn://kolibrios.org@365 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-20 12:05:24 +00:00
Evgeny Grechnikov (Diamond)
b000e7656d ISO9660 bugfixes
git-svn-id: svn://kolibrios.org@364 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-19 14:31:28 +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)
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
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
Sergey Semyonov (Serge)
1aafb8c866 small fix for kernel objects
git-svn-id: svn://kolibrios.org@345 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-14 01:16:07 +00:00
Sergey Semyonov (Serge)
075c0ea71a patch for terminate()
git-svn-id: svn://kolibrios.org@334 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-09 17:48:56 +00:00
Sergey Semyonov (Serge)
82fe412a09 cleanup kernel objects in terminate()
git-svn-id: svn://kolibrios.org@329 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-08 07:15:14 +00:00
Sergey Semyonov (Serge)
5a467f60e3 added commit_pages()
ring buffer for resamplers

git-svn-id: svn://kolibrios.org@328 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-08 01:02:14 +00:00
Sergey Semyonov (Serge)
a79e7c4171 fixed bug in malloc.inc
code cleanup in cursors.inc

git-svn-id: svn://kolibrios.org@326 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-07 12:25:23 +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)
3f37e88368 * Fixed memory leak in new_mem_resize (caused by off-by-one error).
* user_alloc and user_free now update memory size information.

git-svn-id: svn://kolibrios.org@294 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-25 13:42:23 +00:00
Sergey Semyonov (Serge)
98348199e8 fixed 1)params description in create_kernel_object
2)pages count in free_page and release_pages
3)sound buffers now compatible with APPOBJ format


git-svn-id: svn://kolibrios.org@291 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-23 14:55:03 +00:00
Sergey Semyonov (Serge)
ad7724b20b 1) fix drivers version
2) fix i_end bug in app loader

git-svn-id: svn://kolibrios.org@287 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-20 11:25:16 +00:00
Sergey Semyonov (Serge)
6ab013ea0b resampler optimization, reduce cache pollution
git-svn-id: svn://kolibrios.org@285 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-20 07:48:13 +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)
14256358ea added release_pages, heap_mutex
git-svn-id: svn://kolibrios.org@279 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-18 07:31:56 +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
Evgeny Grechnikov (Diamond)
7cae037e85 ntfs.inc: bugfixes
taskman.inc: IOPL reverted back to 1

git-svn-id: svn://kolibrios.org@273 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-13 12:53:55 +00:00
Evgeny Grechnikov (Diamond)
d6ffa8cd02 retry bugfix in user_alloc from revision 213
git-svn-id: svn://kolibrios.org@270 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-11 14:43:51 +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
Sergey Semyonov (Serge)
fd12438007 fixed bug in user_free
git-svn-id: svn://kolibrios.org@266 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-09 18:30:35 +00:00
Iliya Mihailov (Ghost)
dd99e0d71a removing useless files
git-svn-id: svn://kolibrios.org@263 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-08 15:35:27 +00:00
Evgeny Grechnikov (Diamond)
3fd82557ce NTFS reader, part 3: get file info & read normal files
taskman.inc: now invalid command line and/or path fields in program header
             will not crash the kernel

git-svn-id: svn://kolibrios.org@262 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-08 15:10:18 +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)
63e2b216d4 fixed lost app flags in fs_exec_ex()
git-svn-id: svn://kolibrios.org@252 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-27 03:58:48 +00:00
Sergey Semyonov (Serge)
88e9e4be91 fix stack error in fs_exec
git-svn-id: svn://kolibrios.org@247 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-24 07:50:24 +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)
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
Evgeny Grechnikov (Diamond)
44a74d9138 * Fixed bugs in user_alloc and user_free.
* 'stdcall' procedures now do not generate stupid 'ret 0'
  (useful when compiling with FASM before 1.66)

git-svn-id: svn://kolibrios.org@213 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-17 12:34:35 +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
Sergey Semyonov (Serge)
4584e8c2df fixed: reserved bit field in page directory entries (map_LFB)
git-svn-id: svn://kolibrios.org@207 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-03 16:26:10 +00:00
Sergey Semyonov (Serge)
7c1c3a07a8 fixed wrong COFF size calculations in load_driver and load_library
git-svn-id: svn://kolibrios.org@206 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-03 15:19:15 +00:00
Sergey Semyonov (Serge)
c6d6567ec3 fixed: 1)uncleared fpu exceptions in fpu_save
2)fpu context lose in terminate

git-svn-id: svn://kolibrios.org@203 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-31 20:19:05 +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
Sergey Semyonov (Serge)
c9a1b11964 fixed performance down in video modes 0 and 9.
git-svn-id: svn://kolibrios.org@201 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-30 15:09:35 +00:00
Sergey Semyonov (Serge)
40b1c24dc3 1)unisound.asm - added all known NV controllers
2)DLL loader

git-svn-id: svn://kolibrios.org@198 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-27 15:08:19 +00:00
Sergey Semyonov (Serge)
be5ccc0bc1 fixed error in kernel_alloc_space
git-svn-id: svn://kolibrios.org@192 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-23 20:38:29 +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)
7d1826758e Corrections in DMA code from Mario79
git-svn-id: svn://kolibrios.org@187 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-20 08:35:15 +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)
ec7c8397d5 fixed bug with FASM 1.67.11
git-svn-id: svn://kolibrios.org@166 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-06 08:39:23 +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)
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)
7f1f402a78 File subsystem: fixed function 70.0 for CD
Window subsystem: now minimized windows are not activated when program terminates
@RB: now it ignores minimized windows
CMD: version from K0600 distro (modified to use fn 70.7 instead of 19) +
     redraw does not change window border


git-svn-id: svn://kolibrios.org@154 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-19 13:16:31 +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)
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
Evgeny Grechnikov (Diamond)
ec76c66cd2 File system: new function 70.4 to set file size
Graphics: fixed error when putimage and drawrect do not draw pixels
          on right and bottom window sides
Processes: fixed kernel fault when program to load is too big
Programs: EYES: now it works with new kernel (rev. 130). Size optimization.
                Blinking deleted.

git-svn-id: svn://kolibrios.org@133 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-21 13:06:02 +00:00
Andrey Halyavin (halyavin)
b573c43d09 *Fixed bug in procedure starting applications
from /rd and /fd when some memory after end of 
 image hasn't been initialized by zero.
*Kernel now takes into account size of image
 when starting from /rd and /fd. (previously it
 assumes that size of file is equal to size of
 image)

git-svn-id: svn://kolibrios.org@130 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-15 16:59:11 +00:00
Evgeny Grechnikov (Diamond)
d99e3ea921 keyboard.inc: deleted obsolete code for Alt+arrows
sys32.inc: small bugfix (IRQ reservation free)
@numcalc: sources added

git-svn-id: svn://kolibrios.org@118 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-11 13:30:23 +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
Evgeny Grechnikov (Diamond)
7a1e29cbc9 Small bugfixes with DF in debug subsystem; small improvement in function 70.0 for floppies
git-svn-id: svn://kolibrios.org@113 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-02 14:34:15 +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
Ivan Poddubny
ad532cdbaa Updated scheduler - now change_task and irq0 handler don't intersect so ugly. The code became more straightforward. By the way, it is also faster.
git-svn-id: svn://kolibrios.org@101 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-20 17:55:40 +00:00
Andrey Halyavin (halyavin)
d925b54ad5 Fixed bug with sending EOI in change_task procedure (it shouldn't send it).
git-svn-id: svn://kolibrios.org@100 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-14 10:42:05 +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
Evgeny Grechnikov (Diamond)
c1783c769f 1. Execution of files with long names (function 70.7).
2. Function 70 now supports folders on ramdisk.


git-svn-id: svn://kolibrios.org@91 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-06-26 12:13:58 +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)
0d97209173 File system: LFN read 58.0x100 moved to 70.0
git-svn-id: svn://kolibrios.org@72 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-04-27 06:12:46 +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
Ivan Poddubny
7e96e14297 memmap.inc: marked areas reserved by physical memory manager.
physmem.inc: fixed a little bug with cld/std with allocating and copying a physical memory block.

git-svn-id: svn://kolibrios.org@69 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-04-18 17:56:52 +00:00
Evgeny Grechnikov (Diamond)
aa7be4e6f1 Debug subsystem: added DRx registers support
git-svn-id: svn://kolibrios.org@66 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-04-10 15:20:34 +00:00
Andrey Halyavin (halyavin)
5db3c3adc1 Kernel now waits only 5 seconds in order to deliver message to debugger. Fixed hd reservation and release. Changes from diamond.
git-svn-id: svn://kolibrios.org@63 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-21 11:46:13 +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
Andrey Halyavin (halyavin)
c1dd532cde fixing bugs in debug.inc from diamond
git-svn-id: svn://kolibrios.org@44 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-03 17:00:44 +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