Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TCXL Database - _cerrget http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_CerrGet
_CerrSet
_CerrOut
_CerrPush
_CerrPop

Critical Error Handler manipulation.

Header File.....TCXLdos.h

Prototype.......IffpCP PAS _CerrGet(NOARG);
                IntT PAS _CerrSet(IffpCP fa);
                VOID PAS _CerrOut(NOARG);
                IntT PAS _CerrPush(IffpCP fa);
                IntT PAS _CerrPop(NOARG);

Source File.....OPS\_CRITERR.ASM

Arguments.......fa -  Critical Error Handler Routine

Notes...........Under normal conditions, these routines should not be
                needed by users.  A default critical error handler
                 _DefCrit  is installed by TcxlInit() when your program
                begins.  This is a "bare-bones" error handler.

                If you want more detail provided, the library also contains
                an alternate critical error handler  _AltCrit  that
                provides more detail than you or your customers would ever
                want.

                To replace the current error handler with either _AltCrit()
                or one of your own design, use _CerrPush() with a pointer
                to your own handler.  When you are finished using your own
                handler just call _CerrPop().

                For more details on writing your own critical error
                handlers,

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson