Re: Playing CDs with Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message

>> Lastly, as a conceptual issue (explaining how would be way over my head
>> right now), but can I use Euphoria to write TSRs?
>>
>> Thanks again.
>>
>> --Alan
>>
>
>
> not entirely, the tsr itself has to be compiled to machine code.
>however the code for the routine could be in a sequence thats poked to
>memory by euphoria witch could then launch it.
>        unless of course theres a way to set ex.exe itslef up as a tsr
>(with the prog bound into it.), but thats really reaching I think.


Euphoria interpreter (ex.exe, exw.exe) can't be launched as a TSR. If you
need a TSR it doesn't matter if you poke it into memory... it'll never stay
resident after Euphoria terminates. Read the documentation, there it says
that if there's any allocate()-ed memory when your program ends, Euphoria
will free() it automatically, thus terminating the illusion. If you use
exw.exe (under win32) maybe there's a chance you can make something: leave
your Euphoria program running on one shell box (pseudo-TSR). I don't know
how you can interact with other shell boxes... but take a try, maybe it
works!

Regards,
    Daniel Berstein
    daber at pair.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu