MEGA65 / mega65-core

MEGA65 FPGA core
Other
244 stars 88 forks source link

STQ writes rubbish in bytes 2 - 4 #374

Closed gardners closed 2 years ago

gardners commented 3 years ago

The problem is that it doesn't setup the contents of reg_val32, and so while it provides A directly as the value to be written, whatever was hanging around in reg_val32 before will have the upper three bytes written.

Solution is to initialise the upper 3 bytes of reg_val32 with X, Y, Z.

gardners commented 3 years ago

Confirm fixed by the above

lydon42 commented 2 years ago

This is merged and fixed in master, development and hwsc. See also #468