1. TSR Capabilites
- Posted by Matt Stancliff <sysop at ATL.MINDSPRING.COM> Nov 26, 1996
- 1758 views
- Last edited Nov 27, 1996
I have an idea for a new program, but it requires the program to be a TSR. Does anyone know if Euphoria supports TSR's? I haven't found any information in the docs so I'm asumming not. Just thought I'd ask before I gave up completly. -Matt Stancliff
2. Re: TSR Capabilites
- Posted by Robert Craig <72614.1667 at COMPUSERVE.COM> Nov 26, 1996
- 1732 views
- Last edited Nov 27, 1996
Matt Stancliff writes: > I have an idea for a new program, but it requires the program to be a TSR. > Does anyone know if Euphoria supports TSR's? I haven't found any According to the Causeway DOS extender docs: "If a Causeway application needs to terminate and stay resident (TSR), then INT 21 function 31 may be used....No value is required in DX " I've never tried this, so I can't guarantee anything. I don't know if this can be done using Euphoria's dos_interrupt() or not, since dos_interrupt() switches into real mode. You might have to issue the interrupt by calling a piece of machine code that you poke in. (i.e. you'll be executing the INT instruction from protected mode). If you manage to get something working, please post it to this list. Thanks, Rob Craig Rapid Deployment Software
3. Re: TSR Capabilites
- Posted by Jacques Deschenes <desja at QUEBECTEL.COM> Nov 27, 1996
- 1739 views
- Last edited Nov 28, 1996
At 19:23 26-11-96 -0500, you wrote: >---------------------- Information from the mail header ----------------------- >Sender: Euphoria Programming for MS-DOS <EUPHORIA at >MIAMIU.ACS.MUOHIO.EDU> >Poster: Matt Stancliff <sysop at ATL.MINDSPRING.COM> >Subject: TSR Capabilites >------------------------------------------------------------------------------- > >I have an idea for a new program, but it requires the program to be a TSR. >Does anyone know if Euphoria supports TSR's? I haven't found any >information in the docs so I'm asumming not. Just thought I'd ask before I >gave up completly. > > >-Matt Stancliff > An euphoria program can't be a TSR because euphoria programs are interpreted. It mean that ex.exe should be running for your euphoria code to execute. TSR are usually triggered by interrupt. So an euphoria program can trigger a TSR using dos_interrupt, but it can't itself be a TSR. Jacques Deschenes Baie-Comeau, Quebec Canada desja at quebectel.com
4. Re: TSR Capabilites
- Posted by Matt Stancliff <sysop at ATL.MINDSPRING.COM> Nov 27, 1996
- 1809 views
- Last edited Nov 28, 1996
>An euphoria program can't be a TSR because euphoria programs are >interpreted. It mean >that ex.exe should be running for your euphoria code to execute. >TSR are usually triggered by interrupt. So an euphoria program can trigger >a TSR using >dos_interrupt, but it can't itself be a TSR. Thanks for clearing that up. I did try to use the INT 21 function 31, but after the program ended I couldn't do a mem command so I don't know if it ever worked. -Matt Stancliff ---------------------------------------------------------------------------- ------------------------------ "How predictable, you have sacrificed everything you cared for, your companions, yourself, and your world. And for what? If you were seeking forgiveness you will not find it here. You have found nothing." -Talpa