Hi Eduardo,

sorry; pressed the send key too early ;)


> I'm pleased to announce the availability of the first version of
> VMSMOUNT, an installable file system for DOS that allows access to
> VMware's shared folders as a normal drive letter:


it simply works as advertised
it doesn't leave unused clutter loaded as TSR; the remaining ~15 K
seem to be necessary (even on second glance)

THANKS.

some minor comments:

void _fmemcpy_local( void far *dst, const void far *src, size_t num )
{         
   void far *d = dst;
   const void far *s = src;

                                   // fastest implementation so far
                                   // using rep movsD
        __asm {
        
        push es;
        push ds;
        push si;
        push di;
        
        mov cx, num;
        les di, d;
        lds si, s;
        
        
                                                                        // 
push/pop strictly not necessary
                                                                        // but 
doing the byte moves at last 
                                                                        // 
favors aligned buffers
        shr cx,1;
        pushf
        shr cx,1;
        rep movsd;
                     
        adc cx,cx;
        rep movsw;

        popf
        adc cx,cx;
        rep movsb;
        
        pop di;
        pop si;
        pop ds;
        pop es;
        }

        return;
}

void _fmemcpy_local( void far *dst, const void far *src, size_t num )
{
                                                        // it's ok, using 
inlining  but works only wordwise
   _fmemcpy(dst, src, num);
   return;
}
with inline optimization is also ok, but only works with words

is a bit faster; my pure read speed from disk goes up from 26 MB/sec
to 43 MB/sec. read speed from SSD is 50 MB/sec now  ( I7 920 machine)

_fstrrchr_local() should check that it doesn't touch str[-1] if the
character isn't found


in REDIR.C
                cli
                mov ss, ax
                mov sp, (offset newStack) + STACK_SIZE - 2
                sti

CLI/STI is not necessary; from the 80386 programmers reference manual:
   'a MOV into SS inhibits all interrupts until after the execution of
   the next instruction (which is presumably a MOV into eSP)'

and VMWare will not run on 80286 or lower ;)

Tom

















------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to