Move video blit to seperate thread.

This commit is contained in:
SarahW 2016-07-18 21:15:32 +01:00
commit 9f4b159121
18 changed files with 268 additions and 99 deletions

View file

@ -217,7 +217,10 @@ void pcjr_poll(void *p)
uint16_t mask = 0x1fff;
if (pcjr->displine < pcjr->firstline)
pcjr->firstline = pcjr->displine;
{
pcjr->firstline = pcjr->displine;
video_wait_for_buffer();
}
pcjr->lastline = pcjr->displine;
cols[0] = (pcjr->array[2] & 0xf) + 16;
for (c = 0; c < 8; c++)