fix warnings and errors found by PVS

..somebody please review this

git-svn-id: svn://svn.code.sf.net/p/pinmame/code/trunk@3610 6f51dfdd-75df-4273-8f3b-818b1e6aa8bf
update m68000 with recent MESS changes

git-svn-id: svn://svn.code.sf.net/p/pinmame/code/trunk@3611 6f51dfdd-75df-4273-8f3b-818b1e6aa8bf
update m6800 cycle counts with MESS ones

git-svn-id: svn://svn.code.sf.net/p/pinmame/code/trunk@3612 6f51dfdd-75df-4273-8f3b-818b1e6aa8bf
update Z80 core with most changes from MESS

git-svn-id: svn://svn.code.sf.net/p/pinmame/code/trunk@3613 6f51dfdd-75df-4273-8f3b-818b1e6aa8bf
revert two changes to Z80 to make DE128x16 and Gameplan work again

git-svn-id: svn://svn.code.sf.net/p/pinmame/code/trunk@3614 6f51dfdd-75df-4273-8f3b-818b1e6aa8bf
fix stupid compile error

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