Improved FLAG calculation in NCDS, CDP, NCDT, NCCS, CC, NCS, NCT & NCCT by checking for overflow after each addition. [smf]

git-svn-id: svn://dspnet.fr/mame/trunk@22436 749742ba-7341-0410-aadc-df50b521781e
Repeat revert (same as r22320) which again killed NES carts.  A rewrite is coming very soon.  (nw)


git-svn-id: svn://dspnet.fr/mame/trunk@22437 749742ba-7341-0410-aadc-df50b521781e
Fix mistaken revert of r22393's machine/nes.c (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22438 749742ba-7341-0410-aadc-df50b521781e
(MESS) cassette cleanup (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22439 749742ba-7341-0410-aadc-df50b521781e
(MESS) rearranged the bones

git-svn-id: svn://dspnet.fr/mame/trunk@22440 749742ba-7341-0410-aadc-df50b521781e
s3: Setting the Mix to DST actually does draw pixels.  Fixes background rendering in XF86_S3.

git-svn-id: svn://dspnet.fr/mame/trunk@22441 749742ba-7341-0410-aadc-df50b521781e
Detailed differences in Fighting Golf (US) from parent based on observation and "SNK Program Update" notice which was found which includes a DIPSWITCH change.  [Tafoid, Shane Chaneman]


git-svn-id: svn://dspnet.fr/mame/trunk@22442 749742ba-7341-0410-aadc-df50b521781e
Correct bit for POK_KEY_BREAK which now allows colon/semi-colon [:;] key to work properly  [Tom Clayton]

git-svn-id: svn://dspnet.fr/mame/trunk@22443 749742ba-7341-0410-aadc-df50b521781e
moving some static functions in driver state for MESS drivers plus some other modernization (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22444 749742ba-7341-0410-aadc-df50b521781e
start cleaning c65 (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22445 749742ba-7341-0410-aadc-df50b521781e
finished c65 (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22446 749742ba-7341-0410-aadc-df50b521781e
cleanup of cgenie (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22447 749742ba-7341-0410-aadc-df50b521781e
small machine().root_device() cleanup (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22448 749742ba-7341-0410-aadc-df50b521781e
fixed old typo (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22449 749742ba-7341-0410-aadc-df50b521781e
lynx and bbc cleanup (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22450 749742ba-7341-0410-aadc-df50b521781e
updated not used code (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22451 749742ba-7341-0410-aadc-df50b521781e
some mostly pc related cleanup (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22452 749742ba-7341-0410-aadc-df50b521781e
some more cleanup (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22453 749742ba-7341-0410-aadc-df50b521781e
typos (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@22454 749742ba-7341-0410-aadc-df50b521781e
mdec: don't clear busy status until done and skip padding (nw)
---
This fixes the RE3 opening.

git-svn-id: svn://dspnet.fr/mame/trunk@22455 749742ba-7341-0410-aadc-df50b521781e