To Quote [EMAIL PROTECTED] :
> The usual way to make an error is to execute the machine code instruction
> RST 8 (op code 207) followed by a data byte.  Were you doing this?
> 
> things like searching for a file on the disk.  Funnily enough, hook codes
> are accessed by writing RST 8 followed by a data byte.  If you ask me it's
> silly, but there you go.  In SamDOS, the difference between a hook code and
> an error is that the hook codes have values over 127.  I think.

That sounds right then, I think it was 128 that started it.

I was actually playing around with SAM C, and using abort(int) in stdlib
which I guess must work like that.

Oh well, you learn something new everyday.

Cheers!

Tim ....@/

Reply via email to