Updated upd1771.c to use devcb2 (nw)
more clang and Linux compilation fixes (nw)