provide a second copy of EmuTOS in FPGA RAM for blitter access

This commit is contained in:
Markus Fröschle
2017-05-22 07:01:25 +00:00
parent 14587bf417
commit 1745281a7b

View File

@@ -432,6 +432,8 @@ void BaS(void)
/* copy EMUTOS */
src = (uint8_t *) EMUTOS;
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("flush caches: ");