* Patch from Mark Morgan LLoyd, adding some functions (part 2)

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26855 3ad0048d-3df7-0310-abae-a5850022a9f2
* Serial unit from Mark Morgan LLoyd

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26856 3ad0048d-3df7-0310-abae-a5850022a9f2