NetBSD getcwd system call also returns string length

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25661 3ad0048d-3df7-0310-abae-a5850022a9f2
+ enabled the MCGA and 16-colour VGA modes in the graph unit for i8086-msdos



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25662 3ad0048d-3df7-0310-abae-a5850022a9f2
Fix around 30 tests by using a volatile register for restoring the stack pointer

m68k/cgcpu.pas, tcg68k.g_proc_exit:
  * use A0 (which is a volatile register) instead of A3 (which is not) to restore the stack pointer


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