On Wed, 11 Feb 2004, [big5] maintainer freedospg wrote:

> I learned from a book to write a critical error
> handler, just to set AX to 0 and IRET.

Arrgh - 0 means "ignore", what is not useful in most cases.

A good description is in RBIL:
http://www-2.cs.cmu.edu/afs/cs.cmu.edu/user/ralf/pub/WWW/files.html

Quote:

Values for critical error handler action code:
 00h    ignore error and continue processing request
 01h    retry operation
 02h    terminate program as though INT 21/AH=4Ch called (INT 20h for DOS
1.x)
 03h    fail system call in progress (DOS 3+)

If "fail" is not allowed, the kernel defaults to "abort" (02).

Bye,

-- 

Steffen Kaiser


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to