Re: A86: Not displaying "done" at end


[Prev][Next][Index][Thread]

Re: A86: Not displaying "done" at end




In a message dated 4/27/99 10:08:15 PM Eastern Daylight Time, 
syzygy.bp@juno.com writes:

> Where is this documented? ASM Studio only has a short list of the system
>  flags...
>  When I had to eliminate the 'Done' message (for a program I wrote to add
>  commas to numbers, like 1234567890 would be displayed as 1,234,567,890),
>  I just used _jforcecmdnochar ($409C, an 'undocumented' routine), which
>  also works. I was hesitant at first, because I was unsure if it was an
>  entirely safe way to exit from the program. What are the relative
>  advantages/disadvantages of using the system flag instead? Is it
>  permanent, or will it 'fix' itself like _runindicoff does? Is it faster?


_jforcecmdnochar will go straight to the home screen whether the prog was run 
from a shell or not.  as for it being safe, i'm pretty sure it's safer than a 
ret!  however, if you've managed the stack correctly, res 5,(iy+0) is your 
best option.  the os checks it after the program returns and decides whether 
to display done or not.  it's not permanent or anything, and it's much much 
faster than jp _jforcecmdnochar

and where it is "documented" is that Pat emailed the list several months ago 
telling us :-)