Copper Data 16-bit Write Register

From SpecNext official Wiki
Revision as of 22:07, 11 November 2019 by Ped7g (talk | contribs) (core 3.0 changes/refresh)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Number $63
Readable No
Writable Yes
Short Description Used to upload code to the Copper.

Similar to Copper Data ($60), allows to upload Copper instructions to the copper memory, but the difference is that writes are committed to copper memory in 16-bit words (only half-written instructions by using NextReg $60 may get executed, $63 prevents that).

The first write to this register is MSB of Copper Instruction destined for even copper instruction address.

The second write to this register is LSB of Copper Instruction destined for odd copper instruction address.

After any write, the copper address is auto-incremented to the next memory position.

After a write to an odd address, the entire 16-bits are written to Copper memory at once.