Modernized upd7002 device. (nw)