provide a second copy of EmuTOS in FPGA RAM for blitter access
This commit is contained in:
@@ -432,6 +432,8 @@ void BaS(void)
|
|||||||
/* copy EMUTOS */
|
/* copy EMUTOS */
|
||||||
src = (uint8_t *) EMUTOS;
|
src = (uint8_t *) EMUTOS;
|
||||||
memcpy(dst, src, EMUTOS_SIZE);
|
memcpy(dst, src, EMUTOS_SIZE);
|
||||||
|
/* do a second copy to FPGA RAM exclusively for the blitter */
|
||||||
|
memcpy(dst + 0x40000000, src, EMUTOS_SIZE);
|
||||||
xprintf("finished\r\n");
|
xprintf("finished\r\n");
|
||||||
|
|
||||||
xprintf("flush caches: ");
|
xprintf("flush caches: ");
|
||||||
|
|||||||
Reference in New Issue
Block a user