Commit Graph

449 Commits

Author SHA1 Message Date
f208e0e454 Split bootbios.asm and kernel.asm.
* Move bios-related part of kernel.asm before B32 label to
  bootbios.asm file;
* Move bx_from_load, boot_dev and kernel_restart_bootblock variables
  to BOOT_* 0x9000 block;
* Update Tupfile.lua, Makefile, build.bat, build.sh accordingly;
* Now bios and uefi loaders can jump to very first byte of the kernel.

git-svn-id: svn://kolibrios.org@7129 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-16 20:21:10 +00:00
9e6b9b61f7 Use xsave/xrestor if available, enable AVX* instructions.
git-svn-id: svn://kolibrios.org@7124 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-05 05:24:21 +00:00
09684c0db9 Synchronize memmap.inc and const.inc, replace hardcoded numbers with macros.
git-svn-id: svn://kolibrios.org@7122 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-29 22:03:58 +00:00
16d9a4a4bc Remove VRR code, mostly commented out anyway.
git-svn-id: svn://kolibrios.org@7121 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-29 00:15:25 +00:00
dbe9918dc6 Return capacity and bytes per sector of bios disks
This patch makes bd_querymedia return valid Capacity and SectorSize
values. Bios disks detection code saves the values to extended
BiosDiskData structure, bd_querymedia copies them to DISKMEDIAINFO.


git-svn-id: svn://kolibrios.org@6843 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-01-21 00:14:05 +00:00
a7cb2f3691 Set CR0.AM bit
Allow applications to get Alignment Check exception


git-svn-id: svn://kolibrios.org@6817 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-26 23:29:27 +00:00
pathoswithin
ee04f7ac02 more unicode functions
git-svn-id: svn://kolibrios.org@6800 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-18 03:13:18 +00:00
Sergey Semyonov (Serge)
6cbd453d52 kernel: fix for #5350
git-svn-id: svn://kolibrios.org@6593 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-14 17:51:58 +00:00
pathoswithin
e47ae79991 fix click on window activation, fix background redraw, cleaning
git-svn-id: svn://kolibrios.org@6585 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-10 11:31:49 +00:00
pathoswithin
31fad3ee4a UTF-8 file path input, unicode names for apps and libs
git-svn-id: svn://kolibrios.org@6502 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-25 19:30:08 +00:00
pathoswithin
5f44c836b1 onscreen log output fix
git-svn-id: svn://kolibrios.org@6501 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-25 19:18:19 +00:00
pathoswithin
ee14b53b33 sysfunction 70 cleaning
git-svn-id: svn://kolibrios.org@6464 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-07-29 11:12:13 +00:00
Sergey Semyonov (Serge)
a316af7413 kernel: new app loader
git-svn-id: svn://kolibrios.org@6333 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-03-13 06:08:07 +00:00
pathoswithin
a22e6458e8 update sysfunction 47
git-svn-id: svn://kolibrios.org@6272 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-21 00:05:15 +00:00
Sergey Semyonov (Serge)
06644f770e kernel: framebuffers code
git-svn-id: svn://kolibrios.org@6263 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-20 09:57:44 +00:00
Sergey Semyonov (Serge)
50e97c60fa kernel: restart, reboot and power off
git-svn-id: svn://kolibrios.org@6244 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-18 02:03:38 +00:00
hidnplayr
cbca315c7d IPv4: Dont crash when there is no route to host.
git-svn-id: svn://kolibrios.org@6122 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-01 19:43:10 +00:00
CleverMouse
a64323c296 always install IDE interrupt handler
git-svn-id: svn://kolibrios.org@6015 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-30 15:48:01 +00:00
hidnplayr
c81c3fbd4f Cosmetical changes in network code, updated TCP timer code.
git-svn-id: svn://kolibrios.org@6011 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-27 15:37:31 +00:00
GerdtR
5a795de357 Remove unnecessary redrawing windows.
git-svn-id: svn://kolibrios.org@5870 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-31 21:43:10 +00:00
GerdtR
04b4f40454 Bug fixes, change the values of constants window position relative to the other.
git-svn-id: svn://kolibrios.org@5865 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-27 20:29:29 +00:00
pathoswithin
cb95c307f3 Nonliniear mouse control option
git-svn-id: svn://kolibrios.org@5853 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-20 23:01:43 +00:00
pathoswithin
7aa566873d New mouse sysfunctions: 18.19.6, 18.19.7, 37.3
git-svn-id: svn://kolibrios.org@5851 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-16 19:00:13 +00:00
GerdtR
b4331f8494 Added f18.25: the ability to make a window on top of all and behind all
git-svn-id: svn://kolibrios.org@5836 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-09 13:59:11 +00:00
Sergey Semyonov (Serge)
b0a21af9f0 Kernel: fn.26.10 get the time from kernel launch in nanoseconds
git-svn-id: svn://kolibrios.org@5794 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-09-04 16:27:40 +00:00
Sergey Semyonov (Serge)
e2da0771d6 Kernel: Good news, everyone! Now kernel starts at 0.25 seconds faster.
git-svn-id: svn://kolibrios.org@5792 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-09-04 15:20:25 +00:00
Sergey Semyonov (Serge)
530a133818 Kernel: Initial HPET support
git-svn-id: svn://kolibrios.org@5787 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-09-03 14:47:08 +00:00
Kirill Lipatov (Leency)
29f8ebcf5d Revert rev #5672 changes
git-svn-id: svn://kolibrios.org@5675 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-08-04 15:15:56 +00:00
Kirill Lipatov (Leency)
e390d5e509 Fix mcall 18,3,1 for desktop requested for @icon by GerdtR (see /viewtopic.php?f=24&t=3097&p=62230#p62225 )
git-svn-id: svn://kolibrios.org@5672 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-08-04 10:04:20 +00:00
hidnplayr
b43c39f2f1 Embedded default skin in kernel.mnt
- little faster boot time.
- no more problems when default.skn cannot be found.

git-svn-id: svn://kolibrios.org@5635 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-31 13:32:01 +00:00
Sergey Semyonov (Serge)
1888797ed4 trunk: merge kolibri-acpi code
git-svn-id: svn://kolibrios.org@5595 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-22 11:17:45 +00:00
Yogev Ezra
76a0cbdfe5 Change copyright year in kernel and drivers to 2015. No code changes.
git-svn-id: svn://kolibrios.org@5363 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 20:10:22 +00:00
Sergey Semyonov (Serge)
75873a0173 kernel: enable write combined memory type
git-svn-id: svn://kolibrios.org@5360 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-06 23:07:34 +00:00
Sergey Semyonov (Serge)
2ce28a4047 kernel: total globalization
git-svn-id: svn://kolibrios.org@5359 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-06 16:09:34 +00:00
Sergey Semyonov (Serge)
b4814c7084 kernel: update PTE bits
git-svn-id: svn://kolibrios.org@5356 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-06 14:53:54 +00:00
Sergey Semyonov (Serge)
ff063f54ce kernel: combine display related data in one structure
git-svn-id: svn://kolibrios.org@5351 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-05 17:59:03 +00:00
Sergey Semyonov (Serge)
5c0b9990c8 kernel: remove Screen_Max_X and Screen_Max_Y variables
git-svn-id: svn://kolibrios.org@5350 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-05 17:18:45 +00:00
hidnplayr
274d2c309b Support for 16bpp video modes (usefull for embedded devices such as 86duino with vortex86 VGA)
git-svn-id: svn://kolibrios.org@5154 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-01 17:26:42 +00:00
Sergey Semyonov (Serge)
76d618357e kernel: kolibri-process merged into trunk. This is my little gift to myself for my birthday.
git-svn-id: svn://kolibrios.org@5130 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-18 07:58:56 +00:00
CleverMouse
c66e498dba add delays
git-svn-id: svn://kolibrios.org@5049 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-21 12:41:24 +00:00
CleverMouse
7dc01ee888 convert tmpdisk and ps2mouse to PE
git-svn-id: svn://kolibrios.org@5044 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-20 10:11:50 +00:00
CleverMouse
21132138a1 support for stripped PE headers in drivers; declare COFF drivers deprecated
git-svn-id: svn://kolibrios.org@5039 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-18 11:18:15 +00:00
CleverMouse
05b46beb07 deep sleep on Intel SSE3+ CPUs
git-svn-id: svn://kolibrios.org@5033 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-15 15:46:44 +00:00
CleverMouse
cd8fe59acc don't rely on BIOS for returning to real mode
git-svn-id: svn://kolibrios.org@5032 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-15 11:18:27 +00:00
CleverMouse
6a10b418b1 speed up booting in some configurations
git-svn-id: svn://kolibrios.org@5031 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-14 12:17:53 +00:00
CleverMouse
90df12563a speed up booting in some configurations
git-svn-id: svn://kolibrios.org@5012 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-07-29 10:41:27 +00:00
Marat Zakiyanov (Mario79)
354e32e7f3 Fix for IDE devices:
1) Restore broken HD load for ramdisk image
2) Check of support UDMA mode for disk devices before initialization channel of IDE controller

git-svn-id: svn://kolibrios.org@4772 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-05 21:36:10 +00:00
hidnplayr
fd06243954 set up serial debug console before first print to the debug board (if enabled)
git-svn-id: svn://kolibrios.org@4741 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-03 17:56:55 +00:00
Marat Zakiyanov (Mario79)
76718d400a Fix for r.4700 - fix proc check_ATAPI_device_event
git-svn-id: svn://kolibrios.org@4734 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-02 20:55:06 +00:00
Marat Zakiyanov (Mario79)
035587c456 Empty commit, blyat!
git-svn-id: svn://kolibrios.org@4713 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-28 20:36:41 +00:00