Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!VAX1.CC.UAKRON.EDU!r3jjs From: r3jjs@VAX1.CC.UAKRON.EDU (Jeremy J Starcher) Newsgroups: comp.os.msdos.programmer Subject: Re: Print String via BIOS and return DOS prompt: How? Message-ID: <791@VAX1.CC.UAKRON.EDU> Date: 3 Nov 90 04:30:29 GMT References: <4741@trantor.harris-atd.com> Reply-To: r3jjs@VAX1.CC.UAKRON.EDU (Jeremy J Starcher) Distribution: na Organization: U of Akron Computer Center, Ohio Lines: 30 In article <4741@trantor.harris-atd.com> sonny@trantor.harris-atd.com (Bob Davis) writes: >In a TSR (where, as I understand it, I need to stay out of non-reentrant DOS) >I want to print a string followed by a return to the DOS prompt. > >Using Int 10, Fcn. 0Eh, I get the string OK, but the cursor position is not >updated when not at the bottom of the screen, and I do not return to the >DOS prompt. > >Can you give me a hint on how to do what I want? I have searched long and >hard through my _DOS Programmer's Reference_ without finding what I seek. > Ok.. You just got me on m y favorite subject... You will not get a DOS prompt because DOS has no concept that you just changed the screen on it. A TSR will work behind DOS's back, doing things that DOS has no concept of.. When you say that the cursor position is not updated, can you be a little more specific (or send a little source)? If you want it, I have plenty of TSR source around here (TSRs are the reason I learned assembly to begin with...)-- --------------------------+--------------------------------------------------- Jeremy J Starcher ! No programmer programs in LOGO after reaching r3jjs@vax1.cc.uakron.edu ! age 14... r3jjs@akronvm.bitnet !