Commit Graph

1273 Commits

Author SHA1 Message Date
Marat Zakiyanov (Mario79)
ce96116465 Function 2 (get the code of the pressed key) for AL = 0 in EAX bits 16-23 = contain scancode for pressed key
git-svn-id: svn://kolibrios.org@4588 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-25 01:03:37 +00:00
CleverMouse
85d31dcef6 quick fix for active IDE interrupts at boot stage
git-svn-id: svn://kolibrios.org@4578 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-20 13:01:13 +00:00
Marat Zakiyanov (Mario79)
3dd1f86eac Some reorganization of code:
1) Grouping of code working with IDE drives
2) Moving messages about the SVN revision and CPU counter to the beginning of the log of the message board.

git-svn-id: svn://kolibrios.org@4575 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-18 23:01:02 +00:00
hidnplayr
5ae0511a52 Fixed stack corruption on SOCKET_num_to_ptr error.
git-svn-id: svn://kolibrios.org@4574 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-18 19:42:18 +00:00
CleverMouse
f406933a83 actualize documentation
git-svn-id: svn://kolibrios.org@4573 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-18 18:21:49 +00:00
CleverMouse
74329e061f fix draw of type-I windows with small height
git-svn-id: svn://kolibrios.org@4572 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-18 17:49:35 +00:00
hidnplayr
7441360013 Serial debug console: reserve port so nobody else uses it.
git-svn-id: svn://kolibrios.org@4553 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-01 14:22:21 +00:00
CleverMouse
437347b036 fix crash if disconnecting when reading/writing introduced in r4346
git-svn-id: svn://kolibrios.org@4549 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-29 21:09:01 +00:00
CleverMouse
241079c114 API to cancel all queued transfers on USB pipe; add timeout for USB device early initialization
git-svn-id: svn://kolibrios.org@4547 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-29 12:14:28 +00:00
hidnplayr
bd53b16a76 Bugfix for SOCKET_alloc.
git-svn-id: svn://kolibrios.org@4535 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-27 10:27:38 +00:00
hidnplayr
633e4d7a5f USBHID: support for pointer type device. Now 'USB tablet' mode also works in QEMU.
git-svn-id: svn://kolibrios.org@4531 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-26 16:44:42 +00:00
hidnplayr
0e1f1afeae Fixed labels in usbhid, no semantic changes.
git-svn-id: svn://kolibrios.org@4530 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-26 14:58:22 +00:00
hidnplayr
40cbd60db3 USBHID: support for USB tablet (absolute coordinates).
git-svn-id: svn://kolibrios.org@4529 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-26 13:38:45 +00:00
hidnplayr
91ae4fdcf8 More bugfixes for SOCKET_notify.
git-svn-id: svn://kolibrios.org@4528 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-25 13:14:23 +00:00
hidnplayr
6e6f7a23d3 Bugfix in SOCKET_notify.
git-svn-id: svn://kolibrios.org@4527 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-25 12:48:59 +00:00
hidnplayr
730070df44 Bugfix in SOCKET_block
git-svn-id: svn://kolibrios.org@4520 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-23 14:37:18 +00:00
hidnplayr
74965458e3 Bugfix for #4510
git-svn-id: svn://kolibrios.org@4511 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-22 15:09:05 +00:00
hidnplayr
006f9694b3 Make network queue spinlock protected instead of mutex-protected or worse: a combination of both..
git-svn-id: svn://kolibrios.org@4510 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-22 14:08:37 +00:00
lev
199e14f164 redraw cursor in 37.5 in any case
git-svn-id: svn://kolibrios.org@4507 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-21 22:21:53 +00:00
Asper
d403519d87 fix codec reset condition. DEV_GET_POS audio driver service.
git-svn-id: svn://kolibrios.org@4496 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-20 15:51:16 +00:00
CleverMouse
01f77003a9 small fix
git-svn-id: svn://kolibrios.org@4465 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-17 10:27:05 +00:00
CleverMouse
8454f182c5 hardware cursors for RDC M2010/M2012
git-svn-id: svn://kolibrios.org@4453 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-14 20:50:19 +00:00
CleverMouse
4d704be765 speedup software blitter for 32bpp modes
git-svn-id: svn://kolibrios.org@4444 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-13 11:16:28 +00:00
CleverMouse
85b2b4bfbe fix disk_cache.inc by dunkaist
git-svn-id: svn://kolibrios.org@4442 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-13 11:06:54 +00:00
Sergey Semyonov (Serge)
75ff73eb60 grub4kos: print panic messages
git-svn-id: svn://kolibrios.org@4441 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-13 04:03:22 +00:00
Sergey Semyonov (Serge)
98dad9f109 grub4kos: works fine, at least in VMware and Bochs
git-svn-id: svn://kolibrios.org@4440 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-11 05:22:10 +00:00
CleverMouse
a6e24bafb0 disk cache: new 64-bit multi-sector interface for file systems & prefetching in legacy interface
git-svn-id: svn://kolibrios.org@4437 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-10 11:56:03 +00:00
hidnplayr
9a1dad1ca1 Disabled socket cleanup after process ends (until deadlock is fixed..)
git-svn-id: svn://kolibrios.org@4436 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-10 08:07:54 +00:00
Sergey Semyonov (Serge)
3e99300152 kernel: minor optimizations
git-svn-id: svn://kolibrios.org@4424 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-02 19:43:51 +00:00
CleverMouse
88c24f6c96 fix relocations handler in PE drivers
git-svn-id: svn://kolibrios.org@4421 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-30 12:04:30 +00:00
CleverMouse
d1bc3ec8a0 split /hd and /bd access into separate includes
git-svn-id: svn://kolibrios.org@4420 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-30 11:42:20 +00:00
CleverMouse
daba8a5f6a add new files
git-svn-id: svn://kolibrios.org@4419 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-30 11:20:25 +00:00
CleverMouse
a10422fbce separate USB host controller code into external drivers
git-svn-id: svn://kolibrios.org@4418 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-30 11:18:33 +00:00
CleverMouse
0fb3c4300c KernelAlloc/KernelFree are called from IRQ handlers in network drivers, so make them spinlock-protected instead of mutex-protected
git-svn-id: svn://kolibrios.org@4391 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-20 17:38:01 +00:00
CleverMouse
3a9d9f866f set type of memory range detected without BIOS, fix r2466
git-svn-id: svn://kolibrios.org@4390 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-20 13:13:43 +00:00
hidnplayr
c42c7651f7 Disabled verbose network debug output.
git-svn-id: svn://kolibrios.org@4388 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-19 21:39:14 +00:00
hidnplayr
5e80cb25b3 Fixed typo in tcp_input.inc
git-svn-id: svn://kolibrios.org@4387 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-19 21:31:51 +00:00
hidnplayr
d38c7a0ff0 Bugfix for sysfn 18,19,4 (set mouse pos)
git-svn-id: svn://kolibrios.org@4381 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-19 13:21:35 +00:00
hidnplayr
e2ec33712e TCP: correctly close connection.
git-svn-id: svn://kolibrios.org@4366 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-15 21:27:22 +00:00
hidnplayr
fe46d27eaf Bugfix in SOCKET_close for TCP
git-svn-id: svn://kolibrios.org@4365 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-15 18:30:19 +00:00
hidnplayr
bf755d6cbd TCP: advertise correct window, small updates and bugfixes
git-svn-id: svn://kolibrios.org@4347 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-13 12:20:53 +00:00
CleverMouse
df6a761ad4 coalesce transfers in same direction
git-svn-id: svn://kolibrios.org@4346 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-12 16:03:06 +00:00
hidnplayr
5e7711d4f6 Bugfix in PAWS algorithm for TCP.
git-svn-id: svn://kolibrios.org@4344 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-12 11:32:03 +00:00
hidnplayr
d148603f7d Bugfixes in TCP.
git-svn-id: svn://kolibrios.org@4339 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-10 21:08:29 +00:00
hidnplayr
6680b2725e Fixed typo in ICMP. (Wrong stats were updated)
git-svn-id: svn://kolibrios.org@4335 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-08 14:37:39 +00:00
Marat Zakiyanov (Mario79)
2e14ef3302 A patch for f.64 - now you can not ask for more memory than available of free memory.
git-svn-id: svn://kolibrios.org@4313 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-29 18:31:49 +00:00
Marat Zakiyanov (Mario79)
4dd686d6d5 Additional fix to r.4307
git-svn-id: svn://kolibrios.org@4311 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-28 19:55:40 +00:00
Yogev Ezra
04857bed22 Vortex86: use correct names for constants. Show STRAP & Internal Peripheral Feature Control registers values.
git-svn-id: svn://kolibrios.org@4310 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-28 19:19:25 +00:00
Marat Zakiyanov (Mario79)
c4ddb68d5f IDE DMA - remove the interrupt request after disabling IDE interrupts.
git-svn-id: svn://kolibrios.org@4307 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-28 07:09:37 +00:00
CleverMouse
16f7bbae41 fix r4302
git-svn-id: svn://kolibrios.org@4305 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-27 17:14:28 +00:00
Marat Zakiyanov (Mario79)
e840cc28ad Removing the temporary fix code for IDE DMA.
git-svn-id: svn://kolibrios.org@4303 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-27 15:29:07 +00:00
CleverMouse
10242c9784 sanity check: avoid infinitely nested hubs
git-svn-id: svn://kolibrios.org@4302 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-27 14:47:05 +00:00
CleverMouse
a0fd67cc25 ignore fake connect events immediately after reset on eBox
git-svn-id: svn://kolibrios.org@4300 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-27 11:06:59 +00:00
Yogev Ezra
9328c78a90 Move Vortex86 SoC handling before usb_init and CPU speed detection, since otherwise the CPU speed is not detected correctly.
git-svn-id: svn://kolibrios.org@4297 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-26 19:35:00 +00:00
hidnplayr
5842e9f374 TCP_input: dont use conditional move instruction. (not available on some machines)
git-svn-id: svn://kolibrios.org@4296 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-26 17:00:13 +00:00
Yogev Ezra
61b406acf2 Vortex86: Added CPU speed modifier detection and MMX support flags detection
git-svn-id: svn://kolibrios.org@4294 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-26 16:42:56 +00:00
Marat Zakiyanov (Mario79)
12ea7f0fda IDE DMA fix (SATA Native mode).
git-svn-id: svn://kolibrios.org@4291 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-25 20:00:10 +00:00
Yogev Ezra
3951e5fd59 Code optimization (by size)
git-svn-id: svn://kolibrios.org@4289 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-25 01:15:59 +00:00
Sergey Semyonov (Serge)
8a90112e87 kernel.set_screen: allways do force resetting
git-svn-id: svn://kolibrios.org@4286 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-24 07:01:31 +00:00
CleverMouse
edbd5b909f fix kernel crash at shutdown in r4273
git-svn-id: svn://kolibrios.org@4278 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-22 13:08:43 +00:00
CleverMouse
fd7d607044 /rd is now PnP, so move PnP disks to the beginning of / listing
git-svn-id: svn://kolibrios.org@4277 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-22 11:31:36 +00:00
CleverMouse
1842871f8f support for PnP disks, part 5: FAT12, ramdisk, floppies
git-svn-id: svn://kolibrios.org@4273 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-21 16:07:16 +00:00
Yogev Ezra
42203528ce Perform Vortex86 detection only if CPU vendor is 'Vortex86 SoC'
git-svn-id: svn://kolibrios.org@4272 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-21 15:12:39 +00:00
0CodErr
7450ef6270 update documentation SysFn9
git-svn-id: svn://kolibrios.org@4264 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-20 21:19:36 +00:00
0CodErr
4f0860e3e7 SysFn9 keyboard mode
git-svn-id: svn://kolibrios.org@4262 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-20 21:11:15 +00:00
Yogev Ezra
80a7695eb3 Add Vortex86 detection code.
git-svn-id: svn://kolibrios.org@4261 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-20 20:05:06 +00:00
hidnplayr
2465fafb4e Bugfix in IPv4_input (for fragmented IPv4 packets)
git-svn-id: svn://kolibrios.org@4259 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-19 21:01:57 +00:00
hidnplayr
f9853cf87d Bugfix in IPv4_input (for fragmented IPv4 packets)
git-svn-id: svn://kolibrios.org@4258 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-19 20:40:18 +00:00
hidnplayr
29db36de54 Do not print message about unknown ethernet packet types, by default.
git-svn-id: svn://kolibrios.org@4256 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-19 18:58:46 +00:00
Sergey Semyonov (Serge)
145adf316e kernel.load_file_umode: allocate physical storage before unpacking
git-svn-id: svn://kolibrios.org@4237 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-16 08:41:01 +00:00
CleverMouse
79585a5d9b fix polling of some USB hubs
git-svn-id: svn://kolibrios.org@4227 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-14 10:16:38 +00:00
hidnplayr
c6d3f29329 SOCKET_receive: bugfixes, return 0 when remote end closed connection.
git-svn-id: svn://kolibrios.org@4219 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-12 20:05:57 +00:00
Marat Zakiyanov (Mario79)
9c4fa92828 Kernel Clipboard. f.54.
git-svn-id: svn://kolibrios.org@4199 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-10 04:10:03 +00:00
lev
729067398e Added description of 68.26 and 68.27 functions to Russian docs
git-svn-id: svn://kolibrios.org@4193 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-08 04:43:29 +00:00
lev
b255e2580a Change cursor in 37.5 immediately
git-svn-id: svn://kolibrios.org@4181 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-05 20:37:30 +00:00
CleverMouse
a6ab7fa13e beautify
git-svn-id: svn://kolibrios.org@4138 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-30 10:57:10 +00:00
CleverMouse
b2d5324420 beautify
git-svn-id: svn://kolibrios.org@4135 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-29 20:50:06 +00:00
CleverMouse
89f9caf0b6 fix off-by-one error in disk cache, existing at least since r580
git-svn-id: svn://kolibrios.org@4133 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-29 17:45:24 +00:00
CleverMouse
395cf49f52 fix usbstor after r4105
git-svn-id: svn://kolibrios.org@4127 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-29 11:24:28 +00:00
Marat Zakiyanov (Mario79)
44d21dbf19 Fix Floppy driver for VirtualBox.
git-svn-id: svn://kolibrios.org@4115 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-27 23:37:06 +00:00
Sergey Semyonov (Serge)
1e36f2a2c8 Kernel: export new_sys_threads as CreateThread. Remove hack in set_app_params that allowed creating threads in kernel context under certain conditions
git-svn-id: svn://kolibrios.org@4105 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-26 16:11:59 +00:00
shikhin
61237b15f3 Removed redundant .asm files.
git-svn-id: svn://kolibrios.org@4068 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-21 11:00:27 +00:00
shikhin
9e1cd84895 Added proper permissions.
git-svn-id: svn://kolibrios.org@4067 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-21 10:03:36 +00:00
shikhin
7365b0cf3f Finished ext2 write support, under KSoC.
git-svn-id: svn://kolibrios.org@4066 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-21 09:30:07 +00:00
hidnplayr
fe0a297192 SOCKET_process_end: exit immediately if there are no active sockets.
git-svn-id: svn://kolibrios.org@4056 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-20 11:50:49 +00:00
hidnplayr
5bebe120f1 fixed #4052
git-svn-id: svn://kolibrios.org@4053 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-19 15:50:16 +00:00
hidnplayr
931a90c02d Some cleanup/refactoring of IPv4 code (preparing for routing)
git-svn-id: svn://kolibrios.org@4052 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-19 15:47:58 +00:00
heavyiron
9550c01924 End: unmovable window, fixed documentation.
git-svn-id: svn://kolibrios.org@4051 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-19 10:24:30 +00:00
hidnplayr
f39767f1f2 Bugfix in SOCKET_connect
git-svn-id: svn://kolibrios.org@4035 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-15 16:18:58 +00:00
hidnplayr
b99d839ce8 refactored SOCKET_connect
git-svn-id: svn://kolibrios.org@4030 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-15 10:35:08 +00:00
hidnplayr
e3504571ad SOCKET_connect: better error handling.
git-svn-id: svn://kolibrios.org@4025 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-14 07:08:51 +00:00
hidnplayr
8fe83f0f69 Cancel time-out timer if connection succeeded
git-svn-id: svn://kolibrios.org@4021 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-13 21:59:31 +00:00
hidnplayr
7cade993e9 kernel: wait 3 seconds for TCP connection to be established, timeout after that.
telnet: print error message when socket could not be opened.

git-svn-id: svn://kolibrios.org@4020 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-13 21:35:17 +00:00
Yogev Ezra
7842239f08 Stub of a stub of RDC videocard driver, based on vidintel.asm (c) by CleverMouse. Card detection should work already.
git-svn-id: svn://kolibrios.org@4006 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-11 01:01:30 +00:00
Marat Zakiyanov (Mario79)
62c608a74d Fix for r.3989
git-svn-id: svn://kolibrios.org@3999 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-09 23:27:46 +00:00
Yogev Ezra
c5f6557ef5 Allow pressing ESC in boot screen to cancel selection without making a choice. Add more information on which options to choose and link to http://board.kolibrios.org to report bugs.
git-svn-id: svn://kolibrios.org@3989 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-08 22:35:49 +00:00
hidnplayr
818a0e4636 Incoming packets are now handled in separate thread instead of directly by interrupt handler.
git-svn-id: svn://kolibrios.org@3982 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-07 20:53:02 +00:00
Marat Zakiyanov (Mario79)
62a3ab8c62 This is a temporary fix for kernel. Just to avoid the situation of freezing the system after boot.
git-svn-id: svn://kolibrios.org@3964 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-03 05:19:35 +00:00
Marat Zakiyanov (Mario79)
08312cd6d1 Correction documentation for function 40.
git-svn-id: svn://kolibrios.org@3940 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-29 13:41:21 +00:00
Sergey Semyonov (Serge)
aa4b6680b8 kernel:add missing export TimerHs
git-svn-id: svn://kolibrios.org@3937 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-29 11:01:08 +00:00