2019-05-03 17:11:43 +02:00
|
|
|
#include <gint/display.h>
|
2020-02-23 15:49:55 +01:00
|
|
|
#include <display/cg.h>
|
2019-05-03 17:11:43 +02:00
|
|
|
//#include <gint/drivers/r61524.h>
|
|
|
|
|
2019-07-04 17:46:26 +02:00
|
|
|
/* dupdate() - Push the video RAM to the display driver */
|
2019-05-03 17:11:43 +02:00
|
|
|
void dupdate(void)
|
|
|
|
{
|
2019-10-27 08:14:42 +01:00
|
|
|
r61524_display(gint_vram, 0, 224, 1);
|
2020-02-23 15:49:55 +01:00
|
|
|
|
|
|
|
/* The DMA is still running, so we need to switch VRAMs to avoid
|
|
|
|
overwriting the data which is about to be sent. */
|
|
|
|
dvram_switch();
|
2019-07-04 17:46:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* dupdate_noint() - Push VRAM to the display without interrupts */
|
|
|
|
void dupdate_noint(void)
|
|
|
|
{
|
2019-10-27 08:14:42 +01:00
|
|
|
r61524_display(gint_vram, 0, 224, 0);
|
2019-05-03 17:11:43 +02:00
|
|
|
}
|