Copper Data 16-bit Write Register: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
Ped7g (talk | contribs)
core 3.0 changes/refresh
 
(No difference)

Latest revision as of 22:07, 11 November 2019

Number TBRegisterNumber::$63
Readable TBRegisterReadable::No
Writable TBRegisterWritable::Yes
Short Description [[ShortDesc::Used to upload code to the Copper.]]

Similar to {{#ask: TBRegisterNumber::$60 }} ($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.