Re: documentation for fs redirector

Bart Oldeman
2007-11-12T22:51:11Z

Hi,

> I'm trying to write samba fs redirector but I have problems with correct
> documentation of fs redirector. I found some example codes (including this
> one in dosemu) and residual documentation and these all contains
> contradictory informactions :(

Yes, that's the problem with undocumented interfaces... Ralf Brown is
good but not complete.
There are registers, the stack, fields in the SDA, and fields in the
SFT, and different redirectors use different fields.

> There's also one more thing. Maybe it's stupid, but I can't find way to test
> this 2E subfunction. I found some programs witch use it in some cases but
> some c/c++ dos program would be the best in my case - if someone could point
> me how force dos to use this function I would be gratefull.

int21/ah=6c is the one to use for a DOS app. IIRC DJGPP programs use
this one for straight C programs; otherwise you'd have to call it
manually.

Bart