You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#include "Basic_test.h"
/*
void init_drawing_environment(framebuffer_t *frame, zbuffer_t *z){
packet_t *packet = packet_init(16,PACKET_NORMAL);
// This is our generic qword pointer.
qword_t *q = packet->data;
// This will setup a default drawing environment.
q = draw_setup_environment(q,0,frame,z);
// Now reset the primitive origin to 2048-width/2,2048-height/2.
q = draw_primitive_xyoffset(q,0,(2048-320),(2048-256));
// Finish setting up the environment.
q = draw_finish(q);
// Now send the packet, no need to wait since it's the first.
dma_channel_send_normal( DMA_CHANNEL_GIF, packet->data,q - packet->data, 0, 0); dma_wait_fast();
packet_free(packet);
}*/
int main( int argc, char *argv[] ){ uint8_t cnt = 0; for ( ; cnt < 100; cnt++ ) { //printf("hello world\n");
}; return(0);};
|