+ added a 'cld' before the first string x86 instruction in the i8086-msdos startup code

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25635 3ad0048d-3df7-0310-abae-a5850022a9f2
* get the count of params from the correct list

this fixes varargs a bit, particularly fixes an unhandled TList bounds exception while compiling packages/fcl-base/src/eventlog.pp


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