FT800 Series Programmer Guide
Version 2.1
Document Reference No.: BRT_000030 Clearance No.: BRT#037
159
Copyright © Bridgetek Limited
5.16
CMD_APPEND - append memory to display list
Appends a block of memory to the current display list memory address where the offset
is specified in REG_CMD_DL.
C prototype
void cmd_append( uint32_t ptr,
uint32_t num );
Parameters
ptr
Start of source commands in main memory
num
Number of bytes to copy. This must be a multiple of 4.
Command layout
+0
CMD_APPEND(0xffffff1e)
+4
Ptr
+8
Num
Description
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.
Examples
...
cmd_dlstart();
cmd_append(0, 40); // copy 10 commands from main memory address 0
cmd(DISPLAY); // finish the display list
cmd_swap();