/* setScreenBuffer.c By Pierre Sarrazin . This file is in the public domain. */ #include "pmode4game.h" void setScreenBuffer(void *screen) { scrnBuffer = (byte *) screen; #ifndef OS9 if (isCoCo3 && emulatingPMode4OnCoCo3) * (void **) 0xFF9D = 0xE000 | (screen >> 3); else showGraphicsAddress(6, (byte) (screen >> 9)); #endif }