Added APP_RUNMAT syscall and respective header definition.
Oops, didn't actually add one of the files. I guess I should use git more often.
Added missing header definitions for existing syscalls and added two new syscalls (confirmed to work) plus their definitions.
Added more syscalls and their header definitions.
Still unsure on whether
OpenFileDialog,
SaveFileDialog,
OverwriteConfirmation,
ConfirmFileOverwriteDialog
...should be in file.h or in display.h or in app.h, and still unsure on the name of the first two (they only work with g3p files).
Added two more syscalls, lots of missing keyboard-related header definitions, defines for lowercase char keycodes and two PRGM-keycode defines.
Added new headers file system.h
This file contains definitions for syscalls that are related to misc. OS and hardware interfacing (i.e. don't fit in any of the other header files).
Some of these syscalls already had their prototype in the lib, for the remaining ones the prototype has been added.
Timer-related syscall definitions added.
Added Screenshot-taking syscalls.
When called, these syscalls have the same effect as the user pressing Shift+7 (Capture) when GetKey is waiting for a key.
This is useful for programs which don't use GetKey for keyboard reading, to provide means for taking a screenshot.
These syscalls were found by me, I couldn't find a difference between them (but some may exist). It is possible that they may take a parameter or return a value; both seem to work correctly without any parameter.

Reorganized display.h file.
Added PrintMiniMini syscall prototype and its definition along with the PrintMini one to the includes.
Added Bdisp_DDRegisterSelect syscall and its definition
Fixed PRGM_GetKey on keyboard.c with the one from AHelper. This explains why my Utilities add-in wouldn't detect any key when this libfxcg was used.
Implement more fixes suggested by Tari.

Conflicts:
	include/fxcg/misc.h
Implement more fixes on display.h.

Conflicts:
	include/fxcg/display.h
Dump syscall versions of some stdlib routines into relevant headers.
Finish organizing header definitions (for now) and copying from older headers.
fxcg/rtc.h added for RTC syscalls and fxcg/registers.h added for a list of registers that may be useful (seemed clean).
There are still some header files from the miniSDK on the include folder, out of fxcg/, which don't fit in style with libfxcg but are still present probably for compatibility with ancient code.
These headers provide prototypes for things like ListView and StrView which belong in miniSDK and which we don't have on libfxcg (and I believe it's out of the project scope to have, at least in their present form). Perhaps they should be removed and minicompat dropped forever?
Correct erroneous deletion of display.h

This is what I get for attempting to cherry-pick an ugly mess of patches.
Add clock() to libc.
Add two more EditMBStringCtrl variants to fxcg/keyboard.h
Cherry-picked AHelper's first round of I/O additions.
Correct signatures for GetFileSize_OS and OpenFile_OS. (thanks, gbl08ma).