Commit Graph

132 Commits

Author SHA1 Message Date
CleverMouse
6ea08a8bb3 disk_sync now flushes both caches even in compatibility mode
git-svn-id: svn://kolibrios.org@2653 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-27 16:37:37 +00:00
CleverMouse
46ebef439c support for PnP disks, part 3: FAT16/FAT32
git-svn-id: svn://kolibrios.org@2643 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-23 09:19:34 +00:00
Marat Zakiyanov (Mario79)
2f699083c4 1) Correcting information about copiright
2) VESA draw the small speedup

git-svn-id: svn://kolibrios.org@2455 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-13 16:51:57 +00:00
hidnplayr
e7bade16fe Adapted more structures to use new struct.inc
git-svn-id: svn://kolibrios.org@2384 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-23 18:52:13 +00:00
hidnplayr
58fe32f210 Usage of struct.inc from fasm in trunk kernel.
git-svn-id: svn://kolibrios.org@2381 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-22 15:46:09 +00:00
CleverMouse
037099f50d Style corrected for new rules, no semantic changes
git-svn-id: svn://kolibrios.org@2288 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-14 21:38:50 +00:00
killerkirill
02004e9c11 Minor changes to English comments - grammatical, etc.
git-svn-id: svn://kolibrios.org@2257 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-03 17:52:42 +00:00
CleverMouse
a632fb94b0 fix virtual root enumeration broken in r2129
git-svn-id: svn://kolibrios.org@2145 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-02 19:03:49 +00:00
CleverMouse
57633abf05 support for PnP disks, part 2: adapt current caching
git-svn-id: svn://kolibrios.org@2140 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-31 16:26:51 +00:00
CleverMouse
c4f8c8e404 test error condition in the wait loop
git-svn-id: svn://kolibrios.org@1909 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-03-23 12:39:34 +00:00
Sergey Semyonov (Serge)
0e98f2ea01 int13_call: vm86 hotfix
git-svn-id: svn://kolibrios.org@1878 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-02-17 17:40:53 +00:00
CleverMouse
e4c65f154e ATA operation with sector above 128G is error, not operation modulo 128G
git-svn-id: svn://kolibrios.org@1709 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-11-24 13:44:30 +00:00
Evgeny Grechnikov (Diamond)
2ccee1b676 fix processing of cyrillic letter yo in file systems
git-svn-id: svn://kolibrios.org@1504 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-23 22:18:42 +00:00
Alexey Teplov (
04bf87db30 The 70 system function have call without shift registers.
git-svn-id: svn://kolibrios.org@1491 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-11 14:07:06 +00:00
Evgeny Grechnikov (Diamond)
66d949f4b4 identical mapping of first physical page in V86
(some BIOSes use physical address of ds:si for int 13h)

git-svn-id: svn://kolibrios.org@1448 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-04-14 18:41:33 +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
Alexey Teplov (
83e2f051b2 Set align 4 for subroutines in main loop.
git-svn-id: svn://kolibrios.org@1168 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 18:30:04 +00:00
Evgeny Grechnikov (Diamond)
679064a95f correct handling of '..' path on ramdisk
git-svn-id: svn://kolibrios.org@1021 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-02-01 18:48:32 +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
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
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
Marat Zakiyanov (Mario79)
6094221d05 Support of last session for ISO9660.
git-svn-id: svn://kolibrios.org@758 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-25 23:34:27 +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
Evgeny Grechnikov (Diamond)
ee2c4f4c94 * hd_read doesn't add sector to cache if read error has occured
* hd read errors at boot do not hang up system

git-svn-id: svn://kolibrios.org@725 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-10 10:16:46 +00:00
Evgeny Grechnikov (Diamond)
ebeed28881 * V86 manager
* support of drives visible by BIOS through V86 mode
* shutdown fixes
* background redraw fixes
* when booting from CD/DVD, load all floppy by tracks, not only used sectors

git-svn-id: svn://kolibrios.org@709 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-04 15:31:59 +00:00
Evgeny Grechnikov (Diamond)
e02112ea70 deleting cross registers in system calls, part 2
git-svn-id: svn://kolibrios.org@684 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-12-17 11:04:07 +00:00
Marat Zakiyanov (Mario79)
b54b752941 Small fix for ATAPI WaitUnitReady procedure.
git-svn-id: svn://kolibrios.org@637 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-20 22:34:13 +00:00
Marat Zakiyanov (Mario79)
66417e61bd ATAPI:
1) Fix - sectors read with errors now are not brought in the cache.
2) Timeout at absence of the disk in ATAPI drive is reduced about 10 seconds without lowering reliability of reading at presence of the disk. Earlier time the waiting could make 1-1.5 minutes.


git-svn-id: svn://kolibrios.org@628 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-16 20:06:19 +00:00
Marat Zakiyanov (Mario79)
d01af144cb Processing event: press real button - eject tray ATAPI device.
git-svn-id: svn://kolibrios.org@618 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-09-02 20:44:43 +00:00
Marat Zakiyanov (Mario79)
2c856e2fdd Fix: clear DMA read precache, when the physical device IDE varies.
git-svn-id: svn://kolibrios.org@597 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-30 20:17:22 +00:00
Mihail Semenyako (mike.dld)
92f657f440 Revision numbering fix
git-svn-id: svn://kolibrios.org@593 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-27 13:52:03 +00:00
Marat Zakiyanov (Mario79)
93e2c279ba The universal cache of IDE devices.
Step 2:
1) Realized cache ATAPI device (CD\DVD).
2) Lock\Unlock ATAPI device for working with cache.
3) Eject (F70/10) and Load (F70/11) tray of ATAPI device.
4) Application CD_tray for control of tray ATAPI device.

git-svn-id: svn://kolibrios.org@585 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-22 20:52:21 +00:00
Sergey Semyonov (Serge)
b26531da12 reduce core memory
git-svn-id: svn://kolibrios.org@581 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-16 16:19:43 +00:00
Marat Zakiyanov (Mario79)
b229fdc2c2 The universal cache of IDE devices.
Step 1:
1) Allocate of separate area for everyone IDE device.
2) Usage of the allocated areas for HDD. (Cache CD\DVD - not realized, but the memory for it is allocated. This be realized  in step 2).
3) The area of memory 0x80300000 - > 0x80400000 now is free and is not used.
4) The area of memory 0x80284000 - > 0x8028BFFF is used for HDD DMA.

git-svn-id: svn://kolibrios.org@580 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-15 23:22:14 +00:00
SPraid (simba)
263374dacd prepare for cd load (bx='m0' set by loader).
git-svn-id: svn://kolibrios.org@543 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-14 18:21:03 +00:00
SPraid (simba)
7f9f16c0ff CD drivers update from mario
git-svn-id: svn://kolibrios.org@538 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-08 14:17:17 +00:00
Evgeny Grechnikov (Diamond)
141e4c2c3d * Rewritten Vesa2 background code, it is much faster now
* Fixed kernel fault when creating files with unusual names with multiple dots

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

git-svn-id: svn://kolibrios.org@514 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-21 13:25:02 +00:00
Sergey Semyonov (Serge)
0cca9c7b8c reduce memory size
git-svn-id: svn://kolibrios.org@472 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-28 12:45:22 +00:00
Sergey Semyonov (Serge)
614fe2dab1 fixed address bug in sysfn_saveramdisk()
git-svn-id: svn://kolibrios.org@471 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-27 19:01:03 +00:00
Mihail Semenyako (mike.dld)
69252dd603 Updated makefile to match build.bat (build with e.g. 'make all lang=en')
Made small synt/func corrections in build.bat

git-svn-id: svn://kolibrios.org@467 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-20 03:21:48 +00:00
Evgeny Grechnikov (Diamond)
17dcdac5d8 fixed bug in FAT short names generation
git-svn-id: svn://kolibrios.org@466 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-18 14:58:48 +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)
5dc5a99124 Fixed rare bug in FAT code
git-svn-id: svn://kolibrios.org@442 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-30 13:15:50 +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)
5b119159d4 copyrights
git-svn-id: svn://kolibrios.org@431 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-26 12:18:08 +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
Evgeny Grechnikov (Diamond)
052bff4128 FAT code now ignores volume label
git-svn-id: svn://kolibrios.org@399 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-07 17:50:27 +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
Mihail Semenyako (mike.dld)
fb5ddafbe5 Added FDO, changed output in 'blkdev/hd_drv.inc' to give an example
git-svn-id: svn://kolibrios.org@358 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-18 19:36:25 +00:00
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
heavyiron
579829b9f9 *new function 18/6 with LFN support from diamond 26.09.06 (see docs)
*new RDsave from me
*end - added button to run rdsave
*cpu - title with fn0

git-svn-id: svn://kolibrios.org@341 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-12 05:14:58 +00:00
Evgeny Grechnikov (Diamond)
21572e62ae Fixed creation of files with empty names when writing to '/path/'
git-svn-id: svn://kolibrios.org@335 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-10 11:23:45 +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)
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)
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
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
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
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)
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
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
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)
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
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
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
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
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)
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
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
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
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
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