Commit Graph

122 Commits

Author SHA1 Message Date
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
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
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