implement reading from palette dual-port RAM.
remove old palette structure. Issue #16.