[A83] Re: Push/PopErrHandler


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

[A83] Re: Push/PopErrHandler




#define AppOnErr(xxxx)    ld hl,xxxx \ call 0059h
#define AppOffErr         call 005Ch

    AppOnErr(errLabel)
[..code..]
    AppOffErr
    ret

errLabel:
[..error code..]

> From: "Joe Pemberton" <dArkSk8eR@buffbody.com>
>
> forgive me for my ignorance, but I've tried what the SDK said before and I
> couldn't get it to work.  can you use TASM?  and if you can use TASM, how
> do you define/use the macros?
> - -Joe

> > They're handled through macros. Use
> >
> > AppOnErr &label
> >
> > to set a error handler and:
> >
> > AppOffErr
> >
> > to uninstall the error handler. The SDK has full documentation on it
all.
> >
> > Later,
> >
> > James.





References: