" int main (int argc, char **argv)
{ LONG RtVl;
if (RtVl = OpenStuff())
ProcErr(RtVl);
This part is completely broken"
Absolutely.... forgot to update that part after finishing the other routines ... :-o
"/* Preserve old view 2 restore it on exit */
oldVw = GfxBase->ActiView;
Is this safe?"
I stop multitasking 1st. I wanted to present the smallest code possible that still reproduced the bug ...
" if (RtVl = MkScrn ())
ProcErr(RtVl);
else
{ Delay (6 * TICKS_PER_SECOND);
}
This too."
forbid /permit...
"END:
LoadView(oldVw);
WaitTOF();
DestroyScrn();
CloseStuff();
exit(0);
}
I would just use OpenScreen() or other not so low level gfx api function..."
I want to preserve as much chip ram as possible, I'm assuming this will allow me to do that better (will also have to kill other screens too).
But probably the additional space that intuition takes is not much bigger (or at least not in chip ram). Will have to look at this in more detail later...