RE: Suggestion for 2.3

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

Whoah...

I certainly wasn't thinking of something *that* involved.  I will 
probably experiment with simpler ideas and let everybody know how it 
goes...

-- Brian

sephiroth _ wrote:
> 
> Kat wrote:
> > Unless you translate it to C and then compile it. Surely you can find a 
> > dos C 
> > compiler that you can drop the translated code into?
> 
> you probably could, but not many C compilers can make TSR's from source 
> code. here's what making a TSR involves:
> 
> 1. write some code and hook it to int 0x1c or 0x8(for being called 
> regularly), 0x9(for being called on every keypress), or 0x28(for being 
> called when DOS is idle)
> 2. make that code CAPABLE OF RESTORING ALL REGISTERS. any destroyed 
> registers could mean disaster
> 
> so you can't simply write some C code on the fly and hook it to an 
> interrupt. it has to be specially coded. also, it must be coded in the 
> tiny model to make it work properly, and you'll need a C compiler 
> capable of inserting assembly so you could insert a pusha at the 
> beginning and a popa at the end
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu