QB45 Forums
Party like you didn't do in 1999.

Programming Talk - View Post
Anything related to programming under the sun

Glenn
NORMAL

Posts: 37
Well, not knowing what language/compiler you're using,...
Posted by Glenn, on Aug 28th, 2005
I'll just give you the generalities.

Put 4Ch in the AH register.

Put your return code (between 0 and 255 (FFh)) in AL.

Call INT 21h.

That terminates what ever program it is that did that and puts the return code in the "user communication area," and you can have your IDE read that byte. I believe the particular byte you want to read is at 0:04FE, but I am going to go verify that. (The user communcation area consists of the 16 bytes beginning at 0:04F0.)

Back to Programming Talk


Windows should be defenestrated.
Replies:
There are no replies to this message

Post a reply:







All content copyrighted 2004, All rights reserved.