Commit Graph

389 Commits

Author SHA1 Message Date
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
kaitz
b9300edb72 Estonian boot messages
git-svn-id: svn://kolibrios.org@271 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-11 16:16:05 +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
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
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
hidnplayr
853d0ada7d John's ethernet stack updates
NEW subfunction 52-17

ftp://hidden-player.no-ip.com:2100/fn52-sub17.txt

git-svn-id: svn://kolibrios.org@261 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-06 01:15:21 +00:00
Evgeny Grechnikov (Diamond)
acc759e3d8 NTFS reader, part 2: read all directories
git-svn-id: svn://kolibrios.org@257 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-30 11:07:47 +00:00
Evgeny Grechnikov (Diamond)
b308bbdde7 NTFS reader, part 1: read root directory
git-svn-id: svn://kolibrios.org@256 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-29 15:42:36 +00:00
Sergey Semyonov (Serge)
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
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
victor
1ad99d565b Added more functionality
git-svn-id: svn://kolibrios.org@232 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-11 01:22:38 +00:00
Mihail Semenyako (mike.dld)
62c4becf44 Deleted redundant build*.bat files, added common build.bat
git-svn-id: svn://kolibrios.org@231 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-10 16:34:19 +00:00
Sergey Semyonov (Serge)
01056f99f2 add validate cursor in 37.5
fix maximal cursors count in init_cursors

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

git-svn-id: svn://kolibrios.org@227 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-02 08:18:48 +00:00
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
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
Evgeny Grechnikov (Diamond)
fa83bf6c24 Now writing to HD uses old PIO mode instead of bugged DMA.
git-svn-id: svn://kolibrios.org@210 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-10 11:06:12 +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
heavyiron
3eda462807 Kernel: Smoothing image code from Mario79, build scripts for skin and drivers/build.bat
Programs: fasm updated to 1.67.14, small fixes in desktop, stackcfg, calc, board, pipes, freecell, big cleanup of unused programs, added some applications from 0.6.3.0 distr...

git-svn-id: svn://kolibrios.org@205 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-11-02 14:18:23 +00:00
heavyiron
e7139a65a7 Tag for Kolibri0.6.3.0
git-svn-id: svn://kolibrios.org@204 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-31 20:19:51 +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
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
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
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
Evgeny Grechnikov (Diamond)
1668ac9032 * COPY2 rewritten to function 70 by Mario79.
* Updated english documentation.

git-svn-id: svn://kolibrios.org@193 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-24 14:39:29 +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
Iliya Mihailov (Ghost)
1d515a0c77 APM GDT limit fix 2
git-svn-id: svn://kolibrios.org@191 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-23 14:25:33 +00:00
Iliya Mihailov (Ghost)
ad550e216e APM GDT limit fix
git-svn-id: svn://kolibrios.org@189 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-23 11:11:15 +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)
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
heavyiron
5e5bb72582 Reverted back my corrections to 4th function in docs because it was a mistake
git-svn-id: svn://kolibrios.org@185 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-18 08:52:46 +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
Evgeny Grechnikov (Diamond)
aacb4b7591 Corrected border drawing code.
git-svn-id: svn://kolibrios.org@181 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-12 10:35:04 +00:00
heavyiron
7c8ba5ff40 *fixed info for 4th function in documentation
*added animage and kfar
*renamed docpak (to docpack)
*chess fixed by Yellow to use 70th function
*docpack, tetris, jpegview, trantest, desktop uses system colors, new functions of window drawing now
*removed old rd2hd and rd2fd

git-svn-id: svn://kolibrios.org@180 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-11 23:19:10 +00:00
Sergey Semyonov (Serge)
e60d47ae50 Removed file/folder
git-svn-id: svn://kolibrios.org@173 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-10 05:12:57 +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
Evgeny Grechnikov (Diamond)
8609e45095 File system: added function 70.8 - delete file/folder
git-svn-id: svn://kolibrios.org@171 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-09 12:34:00 +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)
6f8abcc3e7 cleanup
git-svn-id: svn://kolibrios.org@167 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-07 09:43:50 +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)
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)
2e850e52f6 hd_drv.inc: now code should work correctly on any computer
kernel32.inc: added 'dbgstr' macro which may be useful for kernel debugging

git-svn-id: svn://kolibrios.org@162 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-04 14:35:44 +00:00
Evgeny Grechnikov (Diamond)
603863d00c Added copyright strings for author of DMA HDD code (Mario79). Fixed error handling in hd_drv.inc.
git-svn-id: svn://kolibrios.org@161 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-02 12:21:10 +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)
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
heavyiron
bede2c62e6 Scripts now deletes lang.inc after compiling kernel.
Removed tabs from code (preboot.inc)

git-svn-id: svn://kolibrios.org@152 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-19 10:39:40 +00:00
hidnplayr
cfec947b3a clean up
git-svn-id: svn://kolibrios.org@151 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-18 17:42:11 +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
heavyiron
58ea327b12 made a copy
git-svn-id: svn://kolibrios.org@148 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-09 14:45:24 +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)
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)
bb515acb25 Bootcode: fixed check on loader block correctness
git-svn-id: svn://kolibrios.org@140 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-28 13:47:50 +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)
334f7721de 1) The search HDD is improved, earlier by search was made reset only CD, now is made reset and HDD also.
2) Are deleted CLI and STI from procedures of reading and writing of sector on HDD. These of commands are replaced by operation with a port [hdbase]+206h, which disables only interruption for IDE.

git-svn-id: svn://kolibrios.org@136 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-26 16:50:41 +00:00
Evgeny Grechnikov (Diamond)
65cbed8f0d mv, gifview, jpegview: modified to use function 70
tinypad2: modified for new sysxtree
kernel, mv, board, calendar, cmd, copy2, cpu, end, icon, mhc, pcidev:
        german translation from derPENGUIN

git-svn-id: svn://kolibrios.org@135 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-25 13:06:57 +00:00
Evgeny Grechnikov (Diamond)
dde2612191 Kernel: now bootcode loads from floppy only used sectors
sysxtree: rewritten to 70th function, corrected scrollbar
copyr: new version for new sysxtree
@rcher, rtfread: modified to work with new sysxtree
midamp: added version modified to work with new sysxtree

git-svn-id: svn://kolibrios.org@134 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-24 12:33:31 +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
Evgeny Grechnikov (Diamond)
16091ddd9e File system: new function 70.3 for write to the existing file
@panel: to match K0581 distro: SYSMETER -> GMON
@numcalc: moved to the appropriate place in repository
HeEd: added english variant
NetSendC, NetSendS: added english variant + optimization
pic4: changes in set background + optimization
tetris, @rcher, board, sysxtree, vrr: new versions from K0581 distro
bgitest: fixed small error + ability to set language via lang.inc
c4: small correction in label height to match K0581 distro

git-svn-id: svn://kolibrios.org@131 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-18 13:32:18 +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
Mihail Semenyako (mike.dld)
e3172037f7 Added gfx_kernel branch
git-svn-id: svn://kolibrios.org@129 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-14 21:38:03 +00:00
Marat Zakiyanov (Mario79)
10aa08b39b 1) Small fix for the code regulating speed COM mouses.
2) In the application SETUP the regulation delay for the mouse is added.

git-svn-id: svn://kolibrios.org@127 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-14 15:24:38 +00:00
Ivan Poddubny
857f757f85 Fixed PS/2 mouse detection procedure, timeouts.
git-svn-id: svn://kolibrios.org@121 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-14 08:34:49 +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
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
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
bf63dda480 Correct PS/2 mouse detection procedure.
git-svn-id: svn://kolibrios.org@116 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-06 17:05:38 +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
heavyiron
f9a3eb973f Some corrections to structure. Unziped files apm.zip and skin_v3.zip!
git-svn-id: svn://kolibrios.org@110 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-29 07:24:02 +00:00
heavyiron
5aa9386dcc 1. Updated ethernet.inc from Hex with supports of some new ethernet card.
2. Colorref - window with skin, less memory for application
3. Added string "include 'lang.inc'" in icon.asm
4. Vrr - window with skin

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

git-svn-id: svn://kolibrios.org@106 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-26 09:56:06 +00:00
Ivan Poddubny
82859246df Direct window activation without osloop/checkwindows, straightforward window minimizing
git-svn-id: svn://kolibrios.org@105 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-25 10:48:35 +00:00
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
Marat Zakiyanov (Mario79)
ad6d923147 Small fix for function 70 in iso9660.inc, procedures of search of the file are corrected.
git-svn-id: svn://kolibrios.org@99 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-13 21:28:14 +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
Marat Zakiyanov (Mario79)
0727181583 Fix small bug for function 70/1 in iso9660.inc
git-svn-id: svn://kolibrios.org@96 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-06 08:42:10 +00:00
Marat Zakiyanov (Mario79)
548cefab68 Fix:
1) small error for procedure reserve_cd: (iso9660.inc)
2) reserved controller 1 or 2, because the devices IDE0+IDE1 or IDE2+IDE3 can not work simultaneously.

git-svn-id: svn://kolibrios.org@95 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-05 16:54:34 +00:00
Marat Zakiyanov (Mario79)
497393b8cb Added: Function 70/7 for ISO9660 - start application
Fix:
1) small error - for function 70/1
2) now function 18/6 used procedure call reserve_hd1


git-svn-id: svn://kolibrios.org@94 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-01 15:55:47 +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)
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
Evgeny Grechnikov (Diamond)
6cc0b12acb Bugfixes: videomode 9; returned ebx in 70.1 for CD
git-svn-id: svn://kolibrios.org@89 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-06-22 11:22:22 +00:00
Evgeny Grechnikov (Diamond)
b429107fec File system: deleted 58.12,13,14; fixed small bug in fat32.inc
git-svn-id: svn://kolibrios.org@88 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-06-20 12:13:17 +00:00
Marat Zakiyanov (Mario79)
4a1560020b Added:
1) Low level procedures for СD device: read sector, load tray, out tray;
2) Function 70/0 for ISO9660 - read file
2) Function 70/0 for ISO9660 - read directory in format of standard 1.


git-svn-id: svn://kolibrios.org@87 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-06-18 16:42:03 +00:00
Evgeny Grechnikov (Diamond)
b3a457d97d File system addition: get/set file/folder attributes
git-svn-id: svn://kolibrios.org@86 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-06-15 13:13:03 +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
Evgeny Grechnikov (Diamond)
8c3875e438 File system addition: fileinfo structure allows new syntax
git-svn-id: svn://kolibrios.org@84 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-06-02 14:59:59 +00:00
Evgeny Grechnikov (Diamond)
1e5f55f29c File system additions: create/rewrite files with long names
git-svn-id: svn://kolibrios.org@83 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-05-30 07:32:30 +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)
858db1a8a3 Corrected mistake in sysfuncr.txt (thanks to Maxxxx32)
git-svn-id: svn://kolibrios.org@81 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-05-22 13:19:03 +00:00
Evgeny Grechnikov (Diamond)
65a732dc5a Added APM interface disconnection before real-mode shutdown.
Optimized FIRE program: code size 690->474, now it fits in one sector;
                        memory requirements 0.5Mb -> 200Kb.

git-svn-id: svn://kolibrios.org@79 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-05-15 12:49:40 +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
Marat Zakiyanov (Mario79)
9d76fed06e Elimination of hangup after the expiration hd_wait_timeou
git-svn-id: svn://kolibrios.org@74 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-04-29 13:10:34 +00:00
Evgeny Grechnikov (Diamond)
a939e78130 correction of previous revision
git-svn-id: svn://kolibrios.org@73 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-04-27 06:14:25 +00:00
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
Evgeny Grechnikov (Diamond)
7c7f68ee6f File system: read files with long names (LFN)
git-svn-id: svn://kolibrios.org@71 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-04-24 14:28:05 +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)
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
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
Marat Zakiyanov (Mario79)
9b016cea47 find all Fat16/32 partition in all input point to MBR
git-svn-id: svn://kolibrios.org@65 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-28 19:32:58 +00:00
Marat Zakiyanov (Mario79)
f08ff6ca70 Fix 58 functions LBA read, was earlier read only IDE0 the hard disk, now are read all.
git-svn-id: svn://kolibrios.org@64 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-25 18:49:24 +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
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
Andrey Halyavin (halyavin)
0ea1d629b0 tag for Kolibri 0.5.3.0
git-svn-id: svn://kolibrios.org@60 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-20 07:40:57 +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)
f1f3efb4ba Fix to saving window position code
git-svn-id: svn://kolibrios.org@57 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-11 01:15:32 +00:00
Andrey Halyavin (halyavin)
f150fc890b fixing bug with keyboard and mouse in VmWare (from diamond).
git-svn-id: svn://kolibrios.org@56 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-07 09:52:43 +00:00
Mihail Semenyako (mike.dld)
47d7819f9a Fixes to skin drawing code, in case default.skn wasn't loaded on OS startup
Prevent creation of buttons with negative or zero width/height

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

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


git-svn-id: svn://kolibrios.org@49 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-18 10:41:47 +00:00
Andrey Halyavin (halyavin)
39feda9fd3 small bug in ramdrive save function
git-svn-id: svn://kolibrios.org@48 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-16 07:36:13 +00:00
Andrey Halyavin (halyavin)
66fd816b22 fixes of boot code from diamond for correct restarting from memory
git-svn-id: svn://kolibrios.org@46 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-14 10:00:45 +00:00
Marat Zakiyanov (Mario79)
e7afcd69e4 Fix error VRR+FULLSCREEN WINDOW
git-svn-id: svn://kolibrios.org@45 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-05 17:11:32 +00:00
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
Andrey Halyavin (halyavin)
67ea388bb8 fix in struct macro for new versions of fasm
git-svn-id: svn://kolibrios.org@43 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-03 12:33:36 +00:00
Mihail Semenyako (mike.dld)
4442932712 changes/improvements in maximize/minimize/rollup windows functionality
added functions:
  48/5 - get screen workarea
  48/6 - set screen workarea

git-svn-id: svn://kolibrios.org@41 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-01 06:07:36 +00:00
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
Andrey Halyavin (halyavin)
14825618c3 fix strange button drawing for bright buttons
git-svn-id: svn://kolibrios.org@38 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-19 09:59:26 +00:00
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
Andrey Halyavin (halyavin)
cc2477709a some fixes in boot code
git-svn-id: svn://kolibrios.org@34 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-11 09:46:06 +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
Andrey Halyavin (halyavin)
4a0bec74c6 Bug leading to crash during restart from memory fixed
git-svn-id: svn://kolibrios.org@30 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-12-22 11:38:36 +00:00
Andrey Halyavin (halyavin)
66f834f6e5 *Improved boot code
*Tag for kolibri 0.5.2.1 created

git-svn-id: svn://kolibrios.org@29 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-12-14 08:09:29 +00:00
Marat Zakiyanov (Mario79)
afd40cc982 Click on the application button - works only if during release of a up-button mouse the cursor is on the button application. Realization Victor Alberto Gil Hanla (vhanla).
git-svn-id: svn://kolibrios.org@28 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-12-04 14:42:26 +00:00
Andrey Halyavin (halyavin)
84490631f7 Remapping IRQs to standart scheme in real mode during shutdown added.
git-svn-id: svn://kolibrios.org@27 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-25 16:46:29 +00:00
Andrey Halyavin (halyavin)
e9f77ab2f3 Fixed bug in shed.inc: kernel crash at shutdown.
git-svn-id: svn://kolibrios.org@26 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-25 07:33:08 +00:00
Andrey Halyavin (halyavin)
81314d998d Fixed bug in dispose_app_cr3_table: we count yourself as thread now
so code must be slightly changed.

git-svn-id: svn://kolibrios.org@25 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-16 15:39:04 +00:00
Andrey Halyavin (halyavin)
87d89cab90 Fixed displaying of second font. New fonts are required.
You can download them at http://shade.msu.ru/~msu-se/temp/char.7z

git-svn-id: svn://kolibrios.org@24 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-16 09:35:22 +00:00
Marat Zakiyanov (Mario79)
e66db56977 Fixed irq6 handler in sys32.inc
git-svn-id: svn://kolibrios.org@23 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-12 08:49:39 +00:00
Ivan Poddubny
182a9c6899 fixed a bug in sched.inc (speaker)
fixed exception handlers - shows correct EIP of a terminated process

some corrections to memmap.inc

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

git-svn-id: svn://kolibrios.org@21 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-07 15:50:30 +00:00
Marat Zakiyanov (Mario79)
5c9d9d79c0 corrected handler irq6 in sys32.inc
git-svn-id: svn://kolibrios.org@20 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-07 10:46:04 +00:00
Marat Zakiyanov (Mario79)
e0427dd723 modified kernel/trunk/blkdev/fdc.inc
modified   kernel/trunk/blkdev/flp_drv.inc
modified   kernel/trunk/blkdev/rd.inc
modified   kernel/trunk/kernel.asm


git-svn-id: svn://kolibrios.org@19 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-06 20:01:18 +00:00
me_root
ce4fc00ad6 1. File 'makefile' updated. For use type 'make ru' or 'make en'.
2. Fixed bug in sys (17 rev. too). function 68,2,0

git-svn-id: svn://kolibrios.org@18 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-30 14:12:57 +00:00
me_root
3a93f4dd5a 1. Added file 'makefile' for unix systems.
git-svn-id: svn://kolibrios.org@17 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-29 19:25:03 +00:00
Ivan Poddubny
38d714f47e * fixed show_error_parameters in sys32.inc
uses the stack instead of TSS

git-svn-id: svn://kolibrios.org@16 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-28 16:37:38 +00:00
Ivan Poddubny
d927fb6877 * A bug with floppy IRQ has been finally fixed (EOI added)
* optimised i40 handler

git-svn-id: svn://kolibrios.org@15 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-28 16:16:47 +00:00
Ivan Poddubny
905bbcc1fa * A bug with esp0 of processes has been fixed.
* Some minor corrections for memmap.inc and others

git-svn-id: svn://kolibrios.org@14 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-27 12:40:46 +00:00
Ivan Poddubny
b98147a6a3 * Fixed a stack problem - OS task used stack at 0x30000
now it uses sysint_stack_data+4096*2 - slot 1 stack;

* Some fixes for memmap.inc

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

git-svn-id: svn://kolibrios.org@12 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-25 11:01:36 +00:00
Ivan Poddubny
2a96dafd9f Bugfixes
1) Bug in task switching (0xffff = 1 without task switch)
2) Bug with IRQ6 (floppy) - "call fdc_irq" was deleted earlier

git-svn-id: svn://kolibrios.org@11 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-24 17:14:59 +00:00
Ivan Poddubny
cda72a8906 Small fixes for sched.inc & sys32.inc
Less code, same work.

Updated memmap.inc

git-svn-id: svn://kolibrios.org@10 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-17 15:53:11 +00:00
Andrey Halyavin (halyavin)
c57ff1bc79 Small optimizations in shed.
Fixed memory leak when not enough memory for starting application.
Deleted old code writing to TSS of system call handler.

git-svn-id: svn://kolibrios.org@9 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-17 15:38:11 +00:00
Ivan Poddubny
bd15d25cab No task gates in the IDT.
No TSSs for interrupt handlers.
More free memory.
Faster task switch and interrupt handling.
Smaller sys32.inc.

git-svn-id: svn://kolibrios.org@8 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-16 13:30:23 +00:00
me_root
2b291188a4 fixed problem with non-lowercase includes
git-svn-id: svn://kolibrios.org@7 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-14 15:40:15 +00:00
Ivan Poddubny
2e93336e82 All exceptions use Interrupt Gate
Better FPU exception handler
Code cleanups
Correct save_registers for i40 handler (syscall trace)
Updated memmap.inc

git-svn-id: svn://kolibrios.org@6 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-13 17:50:36 +00:00
Andrey Halyavin (halyavin)
bc47ee30d7 Mario79 fixes:
Application can determine own path now.
Some boot messages changed (it is version Kolibri 5.1.0 now).
Some rd functions updated (thanks to michael).
Switch to another bank-switching procedure.

git-svn-id: svn://kolibrios.org@5 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-13 05:34:10 +00:00
Ivan Poddubny
b420f2df50 Code cleanups.
Two GDT descriptors for all applications.
Unnecessary interrupt masking from commouse.inc has beed deleted.

git-svn-id: svn://kolibrios.org@4 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-12 11:35:35 +00:00
Andrey Halyavin (halyavin)
b37db20eb6 More correct build_ru.bat and build_en.bat
Now kernel uses interrupt gates for i40 handler instead of task gates. 
So i40 handler TSS can be removed.

git-svn-id: svn://kolibrios.org@3 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-10 16:57:18 +00:00
msu-se
d5c0fed779 moving to kernel directory
git-svn-id: svn://kolibrios.org@2 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-07 04:39:30 +00:00