upd1990/4990 improvements, most notably added serial command input

git-svn-id: svn://dspnet.fr/mame/trunk@28619 749742ba-7341-0410-aadc-df50b521781e
can someone/Kale:D hook up 4990 device here? dos 6.2 works fine in my local build but the implementation isnt great(was just for testing).
It sets c0/1/2 high to enable serial mode.

git-svn-id: svn://dspnet.fr/mame/trunk@28620 749742ba-7341-0410-aadc-df50b521781e
hooked up proper upd4990a device

git-svn-id: svn://dspnet.fr/mame/trunk@28621 749742ba-7341-0410-aadc-df50b521781e
Rewritten 6551 emulation. Changed clock to be the o2 clock instead of the baud rate xtal, supports external clocking, generates transmit interrupts when idle, added echo mode, dcd/dsr/cts input handling, parity & stop bit checking. Tested and fixed hookup to commodore lcd & plus 4. [smf]

git-svn-id: svn://dspnet.fr/mame/trunk@28622 749742ba-7341-0410-aadc-df50b521781e
hooked up upd4990 device here too, note that the odd 4-year bug is still here

git-svn-id: svn://dspnet.fr/mame/trunk@28623 749742ba-7341-0410-aadc-df50b521781e
removed PD4990A_OLD device

git-svn-id: svn://dspnet.fr/mame/trunk@28624 749742ba-7341-0410-aadc-df50b521781e
(MESS) Microvision : updated software list

git-svn-id: svn://dspnet.fr/mame/trunk@28625 749742ba-7341-0410-aadc-df50b521781e
Added rs232 port to apple 3. Currently cts is not mapped because that needs to be driven low whether something is plugged in or not or the apple 3 won't boot (I believe pull up resistors on the 12v side take care of that on real hardware). Not tested with Apple 3 software. (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@28626 749742ba-7341-0410-aadc-df50b521781e
added manufacturer name to chips in comment (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@28627 749742ba-7341-0410-aadc-df50b521781e
Improve accuracy of vblank irq/reload timing from Charles's documentation. vblank irq happened approx 15 pixels too early.

git-svn-id: svn://dspnet.fr/mame/trunk@28628 749742ba-7341-0410-aadc-df50b521781e
vsync start (auto animation latch) is 16 lines after active display

git-svn-id: svn://dspnet.fr/mame/trunk@28629 749742ba-7341-0410-aadc-df50b521781e
marked PALETTE_INIT as legacy

git-svn-id: svn://dspnet.fr/mame/trunk@28630 749742ba-7341-0410-aadc-df50b521781e
use PAIR16 core struct in vdc (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@28631 749742ba-7341-0410-aadc-df50b521781e
why complicate when proper devices are there and do work properly (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@28632 749742ba-7341-0410-aadc-df50b521781e
do reset on different way (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@28633 749742ba-7341-0410-aadc-df50b521781e
added more asserts/notes for known index out-of-bounds accesses (nw)

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

git-svn-id: svn://dspnet.fr/mame/trunk@28635 749742ba-7341-0410-aadc-df50b521781e
compile fix, thanks qmc2 (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@28636 749742ba-7341-0410-aadc-df50b521781e
avgdvg is now device (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@28637 749742ba-7341-0410-aadc-df50b521781e
8530scc: devcb2. (nw)

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