Skip to main content

DMA

_ @dma.std;
dma.set3(u0, dma, offset, v0,v1,v2);
dma.set8(u0, dma, offset, v0,v1,v2,v3,v4,v5,v6,v7);

dma.get8(u0, dma, offset); -> o0-o7

dma text

# print 0 - new buf always
dma.print0.v(buf, fmt, v);
dma.print0.v2(buf, fmt, v0,v1);

# print 1 - new buf if buf==0
dma.print1.v(buf, fmt, v);
dma.print1.v2(buf, fmt, v0,v1);
dma.print1.v3(buf, fmt, v0,v1,v3);
dma.print1.v4a(buf,i, fmt, v0-4);

# dma put v2rect
dma.v2a.rect0(dma,offset, x,y,w,h);

# buffer new v2rect array
buffer.new.rect0(dma, id, x,y, w,h);
# buffer add to v2rect array
buffer.add.rect0(dma, id, x,y, w,h);

buffer.set3(u0, buf,i,offs, v0,v1,v2)

# buffer clone
str.clone(buf,i); -> buf
buffer.clone str.clone(__);

# buffer resize
buffer.set.size(u0, buf0,i, size);