Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

FTP ASCII vs binary "image" (Announce)

posted by mbbrutman Homepage, Washington, USA, 25.07.2010, 01:35

> > You mentioned Win32 version of FM, but said it was MS-DOS 7.1. Is it in
> > Windows, or is it running in DOS with some sort of compatibility layer?
>
> The latter of course - it uses HX's Win32 emulation. For FAR in DOS, see
>
> http://www.bttr-software.de/forum/forum_entry.php?id=3628
>
> > What networking stack is it using?
>
> HX's WSOCK32.DLL uses WATT32 - slightly modified.
>
> > Long filenames: mTCP checks the filename format and gives up. Get
> allows
> > you to special a local filename to save to. I'll look into DOSLFN.
>
> DOSLFN just implements the LFN API introduced with Windows 95. To support
> LFNs, use DOS int 21h, AX=716Ch to create/open files and fall back to the
> standard method if LFN isn't installed ( the DOS int returns ax=7100h then
> ).

Interesting. I've never done a performance comparison against WATT32 - I need to find out what the differences are. (A quick read of the web page did not shed much light.) Usually my code runs faster than WATTCP based code, so I'm curious as to what is going on. The two most performance sensitive parts of the code are the IP checksum and memcpy ... I avoid memcpy like the plague, but when disk I/O is performed there are many more memcpys being performed.

I'll look at DOS LFN support - that doesn't look too hard to implement.

---
mTCP - TCP/IP apps for vintage DOS machines!
http://www.brutman.com/mTCP

 

Complete thread:

Back to the forum
Board view  Mix view
22780 Postings in 2123 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum