Home | History | Annotate | Download | only in riscos

Lines Matching refs:bank

81 void FULLSCREEN_SetWriteBank(int bank);
82 void FULLSCREEN_SetDisplayBank(int bank);
194 this->hidden->bank[0] = WIMP_CreateBuffer(width, height, bpp);
196 this->hidden->bank[0] = SDL_malloc(height * current->pitch);
197 if (this->hidden->bank[0] == 0)
207 /* Store address of allocated screen bank to be freed later */
211 this->hidden->alloc_bank = this->hidden->bank[0];
214 this->hidden->bank[0] += 60; /* Start of sprite data */
215 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first */
221 SDL_memset(this->hidden->bank[0], 0, height * current->pitch);
222 SDL_memset(this->hidden->bank[1], 0, height * current->pitch);
225 current->pixels = this->hidden->bank[0];
368 surface->pixels = this->hidden->bank[this->hidden->current_bank];
391 from = this->hidden->bank[0] + rects->x * xmult + rects->y * pitch;
392 to = this->hidden->bank[1] + rects->x * xmult + rects->y * pitch;
415 from = this->hidden->bank[0] + rects->x + rects->y * pitch;
416 to = this->hidden->bank[1] + rects->x + rects->y * pitch;
445 from = this->hidden->bank[0] + (rects->x << 1) + rects->y * pitch;
446 to = this->hidden->bank[1] + (rects->x << 1) + rects->y * pitch;
472 from = this->hidden->bank[0] + (rects->x << 2) + rects->y * pitch;
473 to = this->hidden->bank[1] + (rects->x << 2) + rects->y * pitch;
619 void FULLSCREEN_SetWriteBank(int bank)
623 regs.r[1] = bank+1;
627 void FULLSCREEN_SetDisplayBank(int bank)
631 regs.r[1] = bank+1;
739 this->hidden->bank[0] = (void *)block[0];
740 this->hidden->bank[1] = (void *)block[1];
762 this->hidden->bank[0] = buffer + 60; /* Start of sprite data */
763 if (bpp == 8) this->hidden->bank[0] += 2048; /* 8bpp sprite have palette first */
766 this->screen->pixels = this->hidden->bank[0];
769 SDL_memcpy(this->hidden->bank[1], this->hidden->bank[0], width * height * this->screen->format->BytesPerPixel);