Docpack app has several help files included. Tinypad and CEdit run the
app to show one of sysfuncs.txt/sysfuncr.txt files. The text editors
pass a one-letter argument to specify the text file. It used to be 'f'
for sysfuncs, it has become 'e' recently. Update this one-letter
argument both in tinypad and cedit.
Resolve#216
* Rearrange sf18.13 version structure to
+ mention git hash and release offset,
+ separate OS release and kernel ABI numbers,
+ include an optional debug tag.
* Update the boot log and the blue screen to print the new fields.
* Update docs.
* No breaking changes.
Resolves#99.
When the extended primary loader for CD was introduced in 2008-2009 it
used to load a relatively small secondary loader. Later the secondary
loader was integrated into the kernel, hence the primary loader had to
load the kernel which is 100kB+. The EDD BIOS specification allows to
read less than 0x80 sectors at once using Int 0x13 0x42 service. For a
512-byte sector this is less than 0x10000 bytes which is a 64kB limit.
The same limit of 64kB is reached on a CD with only 0x20 sectors,
because the sector size is 2048 bytes here. This commit changes the
maximum number of sectors that can be read by the loader at once from
0x7f to 0x20, i.e. reading is done in 64kB blocks now.
Consider a config file with the following two lines:
abc=1
c=2
Previously, the first line matched *.c files, because it had the 'c=1'
substring. Now we skip until the next line as soon as 'abc' doesn't
match 'c'.
CDDataBuf was considered a free memory. It was then allocated for other
kernel structures what eventually caused the crash.
The bug report: https://www.youtube.com/watch?v=tXMD9_gEUcA
* kernel: Make sf9 return TSTATE_FREE for invalid slots: 0, >255, free.
* menu: Ignore free slots even if other fields of proc_info look valid.
Documentation (sysfuncs.txt) clearly states all the other info
as invalid when slot_state is TSTATE_FREE.
* taskbar: Same as menu.
* cmm/lib/*: Same as menu.
* programs/macros.inc: Add TSTATE_* macros.
This is needed to migrate to tup-0.8.
I'm sure it was possible to workaround this and keep the name,
but it was easier to rename.
git-svn-id: svn://kolibrios.org@10041 a494cfbc-eb01-0410-851d-a64ba20cac60
nasm requires a slash for include directories. At least its man says so.
On some platforms it worked, on some didn't. Maybe old versions of nasm
are more strict. Now it should work everywhere.
git-svn-id: svn://kolibrios.org@10006 a494cfbc-eb01-0410-851d-a64ba20cac60
Now sf9 doesn't read uninitialized memory when called for an empty slot.
Also, applications don't get stale data after sf9 anymore.
git-svn-id: svn://kolibrios.org@9968 a494cfbc-eb01-0410-851d-a64ba20cac60
Syscall 63.2, reading from the board buffer, was overwriting registers
edx and ebp when the buffer was empty. Now it sets eax and ebx according
to the kernel API.
Because of this ancient bug BOARD checks the status of sf63.2 syscall
this way:
mcall 63, 2
cmp ebx, 1
jne no_data
; when the buffer is empty, ebx is untouched, i.e. still 2, haha
; edx and ebp are destroyed, the code is lucky not to use them
By the way, the bug was found using umka tool.
git-svn-id: svn://kolibrios.org@9897 a494cfbc-eb01-0410-851d-a64ba20cac60
This feature is _not_ enabled by default by mkfs.xfs at the moment.
That said, make KolibriOS ready for the future. By the way, fix two
bugs in support of XFSv5 disk format.
git-svn-id: svn://kolibrios.org@9889 a494cfbc-eb01-0410-851d-a64ba20cac60
Current version of mkfs.xfs enables this feature by default.
Now KolibriOS can read such partitions too.
git-svn-id: svn://kolibrios.org@9888 a494cfbc-eb01-0410-851d-a64ba20cac60
Weather app was moved to /kolibrios a year ago, move its config there
too. There is no reason for the config to be in img since nobody in img
uses it.
Also, update Weather to look for its config not only in /sys but also
in /kolibrios.
git-svn-id: svn://kolibrios.org@9820 a494cfbc-eb01-0410-851d-a64ba20cac60
Checkers was removed from img more than a year ago in r8503, and its
desktop icon has been broken since then. There were two options: to
return Checkers and to replace it on the desktop with another game.
I have chosen the latter one.
Perhaps, a more suitable icon should be used for FlappyBird, but I
haven't found one. Feel free to add it.
git-svn-id: svn://kolibrios.org@9819 a494cfbc-eb01-0410-851d-a64ba20cac60
It is a formal requirement of UEFI spec that the stack is to be aligned
on 16 bytes on all calls to service routines. I changed eficall macro to
fstcall one in my previous commit. Due to differences in macro logic
that change broke UEFI boot on some platforms that do care about stack
alignment. This commit should fix the issue.
git-svn-id: svn://kolibrios.org@9253 a494cfbc-eb01-0410-851d-a64ba20cac60
* Detect last PCI bus via PCI Root Bridge IO protocol (uefi64kos only).
* fastcall macro by Tomasz is much cleaner than eficall from osdev board.
git-svn-id: svn://kolibrios.org@9227 a494cfbc-eb01-0410-851d-a64ba20cac60
If
- window A is above window B, and
- window A has been moved,
then window B receives a redraw event.
But if that move was 1px right or down, window B didn't receive an event
because of off-by-one error. Now it's fixed.
git-svn-id: svn://kolibrios.org@9221 a494cfbc-eb01-0410-851d-a64ba20cac60
mtar.obj is compiled with GCC. Move it to the corresponding section of a
Tupfile to not break asm-only builds.
git-svn-id: svn://kolibrios.org@9215 a494cfbc-eb01-0410-851d-a64ba20cac60
This function returns values not in registers but in their images on
stack. Therefore we have to wrap a call with pushad/popad.
git-svn-id: svn://kolibrios.org@9185 a494cfbc-eb01-0410-851d-a64ba20cac60
Only get partition size, not its label.
Information of a block device and FS on it should be reported by
different system calls.
git-svn-id: svn://kolibrios.org@9043 a494cfbc-eb01-0410-851d-a64ba20cac60
There were a few off-by-one errors in window size calculation.
As a result, winmap update code corrupted clipboard structures.
git-svn-id: svn://kolibrios.org@8928 a494cfbc-eb01-0410-851d-a64ba20cac60
* Support grayscale images with alpha channel.
* Support rgb images with transparent color.
* Process 'tRNS' chunk (simple transparency).
Transparent png images were already supported for color type 6, which
is RGBA. Now indexed images (color type 3) can also have transparency
via 'tRNS' chunk data.
git-svn-id: svn://kolibrios.org@8449 a494cfbc-eb01-0410-851d-a64ba20cac60