Code: Select all
#include <genesis.h>
#define APLAN_DEFAULT 0xE000
int main() {
VDP_setWindowAddress(APLAN_DEFAULT);
VDP_setTextPlan(PLAN_B);
VDP_drawText("This goes to plane B.", 10, 13);
while (1);
return 0;
}
Moderator: Stef
Code: Select all
#include <genesis.h>
#define APLAN_DEFAULT 0xE000
int main() {
VDP_setWindowAddress(APLAN_DEFAULT);
VDP_setTextPlan(PLAN_B);
VDP_drawText("This goes to plane B.", 10, 13);
while (1);
return 0;
}
Thanks for pointing this one ! Never noticed, will be fixed next versioncero wrote:OK, I found a bug.
In the setBPlaneAddress function, the bplan_adr variable is not updated, even though that's done in the setReg function. Will file this one to github.