CmdAppend

From MCS Wiki AVR
(Difference between revisions)
Jump to: navigation, search
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Appends a block of memory to the current display list memory address where the offset is specified inĀ <span style="color: rgb(12...")

Latest revision as of 14:02, 12 December 2014

Contents

Action

Appends a block of memory to the current display list memory address where the offset is specified in REG_CMD_DL.

 

 

Syntax

CmdAppend Ptr, Num

 

 

Remarks

Ptr

Start of source commands in main memory

Num

Number of bytes to copy. This must be a multiple of 4

 

After appending is done, the  co-processor engine will increase the REG_CMD_DL by num to make sure the display list is in order.

 

 

Example


' Pseudocode
CmdAppend 0, 40 ' Copy 10 commands from main memory address 0
Display_E ' finish the display list
Languages   English  
Personal tools
Namespaces
Variants
Actions
Navigation
Language