I’m trying to create a graphics server (resource manager) just like
io-graphics but more specifically for my needs. Inspired by the code in
bench.c from the DDK I want to be able to change graphic mode and back to
text mode. I can switch to graphic mode OK but when I perform the call to
“modef.fini()” just like in the bench.c program I’m stuck in graphic mode.
The bench program brings the system back to text mode. What am I doing
wrong?
My function for switching to text mode looks like this:
int SetTextMode()
{
miscf.fini(&adapter);
memf.fini(&adapter);
modef.fini(&adapter);
return 0;
}
Thanks,
Jens