Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!mordor!lll-tis!ptsfa!hoptoad!academ!killer!toma From: toma@killer.UUCP (Tom Armistead) Newsgroups: comp.lang.c Subject: Turbo C and TSR's Message-ID: <1041@killer.UUCP> Date: Wed, 24-Jun-87 23:09:44 EDT Article-I.D.: killer.1041 Posted: Wed Jun 24 23:09:44 1987 Date-Received: Wed, 1-Jul-87 06:42:14 EDT Organization: The Org. for the Disorg. of Org. Lines: 28 Keywords: Anybody done it? Well, I too have just recently received a copy of Turbo C, $55 bucks from a discount sftwr house (Nothing but praise!!!) One complaint: I don't like the way the inline assembly stuff works, you must have MASM (3.0 or greater) to use this feature. I'll be damned if I'm gonna pay $80 bucks for the worst assembler on the market... A86 all the way!!! One question: Has anyone written any TSR's in Turbo C, they give you this nice function called keep() for terminatiing and staying resident, but, you must give keep() the number of paragraphs of memory used by you pgm and they don't document how to get that value. I called Borland's tech supp. and they don't really have an answer yet (they are working on it), however, I was told of a undoc'd global variable called _brkval that is supposed to point first byte of the stack, so (_brkval + _stklen) should point to the end of data??? Sometimes it does and sometimes it doesn't??? Any suggestions??? Tom ----- UUCP: ihnp4\ \killer!toma infoswx!convex!dj3b1/ Tom Armistead