1. 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

new topic     » topic index » view message » categorize

2. Re: TSR Capabilites

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: TSR Capabilites

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: TSR Capabilites

>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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu