2019-05-03 17:11:43 +02:00
|
|
|
#include <gint/display.h>
|
|
|
|
|
|
|
|
/* Put both VRAMs in the system stack! */
|
|
|
|
static uint16_t *main = (void *)0xac0f0000;
|
|
|
|
static uint16_t *scnd = (void *)0xac11b500;
|
|
|
|
|
2019-10-27 08:14:42 +01:00
|
|
|
/* Shared VRAM pointer, the one exposed by <gint/display.h> */
|
|
|
|
uint16_t *gint_vram = (void *)0xac0f0000;
|
2019-05-03 17:11:43 +02:00
|
|
|
|
|
|
|
/* dvram() - Control video RAM address and triple buffering */
|
|
|
|
void dvram(uint16_t *new_main, uint16_t *new_secondary)
|
|
|
|
{
|
|
|
|
main = new_main;
|
|
|
|
scnd = new_secondary;
|
|
|
|
}
|