port more changes from MAME (all of them for the Arm7core i hope)

..but while keeping Sellenoffs improvements from rev 2099

git-svn-id: svn://svn.code.sf.net/p/pinmame/code/trunk@3575 6f51dfdd-75df-4273-8f3b-818b1e6aa8bf