[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Half-ugly fullscreen applications, how to recover when things go bump



Hi,

I'm working on a framebuffer library, which does some ugly stuff to be able to run stuff in fullscreen, and to be able to read multiple keys at once. At the moment I can't see any clean way to do that stuff, unfortunately. The biggest problem with this is that when something goes wrong, i.e. if the app crashes, I need to restore the desktop screen and keyboard/mouse/joystick vectors.

Is there a nice way to do this? Maybe it's obvious and fundamental unix knowledge, but let's say I get a bus error, is there a way to implement some kind of "panic" recovery?

best regards

-- PeP