Use coregen to create initialised palette memory. Issue #16.