VOGONS


First post, by mbbrutman

User metadata
Rank Oldbie
Rank
Oldbie

NetCD is a DOS device driver that simulates a CD-ROM or a DVD-ROM, substituting network calls in place of direct hardware accesses. This allows you to mount ISO images (ISO9660 or High Sierra) across the network on your DOS machine. MSCDEX works directly with it - just substitute OAKCDROM.SYS or whatever you are currently using with NETCD.SYS.

Why does this exist? Because installing software from CD-ROM on a machine that doesn't have a CD-ROM is irritating. And even if you do have a CD-ROM available, they are often older and getting pretty flaky.

Requirements:

  • MS-DOS or PC DOS 3.1 or better. (The Network Redirector API is required.)
  • MSCDEX.EXE (Tested with version 2.23)
  • An Ethernet card, packet driver, and mTCP already configured and working.
  • A NetDrive server with the new test code that supports ISO images. My public server at brutman.com has two ISO images that you can test against, or you can download the test server and serve your own images locally.

I'm looking for more people to try it out and tell me what they think of it. Download it, but also please let me know what you think of it:

Thanks in advance,
Mike

Last edited by mbbrutman on 2026-11-20, 22:01. Edited 2 times in total.

Reply 2 of 9, by thisIsLoneWolf

User metadata
Rank Newbie
Rank
Newbie

What a great idea!
I can't wait to test it out.

Reply 3 of 9, by Yoghoo

User metadata
Rank Oldbie
Rank
Oldbie

Tried it on a 386sx/40 laptop and works without problem. Speed is around a 2.1x speed CD-ROM drive with a 10MB network card (measured with CDTA). Other benchmarks hanged (cdspeed) or gave an error: invalid sector size (cdbench). As everything seemed to work fine I blame this on my laptop. Copying of a 10MB file from CD to HDD (CF card) took 55 seconds.

One thing that could be improved is the server side. If I had to reboot the laptop because of a hang or forgetting to disconnect I needed to restart the server as the ISO was still open.

Reply 4 of 9, by mbbrutman

User metadata
Rank Oldbie
Rank
Oldbie

If you mark the ISO image on the server side as read only you can open it multiple times and not get that message. Read only files are allowed to be shared about being closed first.

You can also probably improve the speed by setting the max read ahead value yourself. The read-ahead value is autodetected based on the CPU class but it is very conservative. Try using "netcd set_max_ra 16" or "netcd set_max_ra 32" and see how they work. If you have a reasonable network card you should see file copies improve greatly.

There are also commands you can type at the server to kill and remove sessions. There is no need to restart the server; just use the kill command or kill all command.

-Mike

Reply 6 of 9, by Yoghoo

User metadata
Rank Oldbie
Rank
Oldbie

Tried "netcd set_max_ra 16" and "netcd set_max_ra 32" but speed results are exactly the same with CDTA (compared to default 8k). As I now did a test with the server running on a wired network it was a bit faster (about 2.8x speed). Previously I ran the server connected to WIFI7.

cdbench now works but comes back with unrealistic results (61.0x speed) and a warning: "RTC drift detected. Ignore these results and change driver."

Setting the ISO to read-only indeed solved the reboot problem. Maybe add it to the readme file? But as it only support CD-ROMs (which are read-only) why is this needed? Why does the server not work by default as if the ISO is read-only?

Reply 7 of 9, by mbbrutman

User metadata
Rank Oldbie
Rank
Oldbie
Yoghoo wrote on 2026-11-21, 01:07:

Tried "netcd set_max_ra 16" and "netcd set_max_ra 32" but speed results are exactly the same with CDTA (compared to default 8k). As I now did a test with the server running on a wired network it was a bit faster (about 2.8x speed). Previously I ran the server connected to WIFI7.

cdbench now works but comes back with unrealistic results (61.0x speed) and a warning: "RTC drift detected. Ignore these results and change driver."

CDBench is also complaining about my 386-40 experiencing clock drift. I'm not disabling interrupts for long but the packet driver surely has to. My Pentium 133 does not seem to have the clock drift problem, so I would suggest trying a faster machine or benchmarking using a stopwatch. (COPY /B FILENAME NUL: works just fine.)

The Pentium is reporting 40x with an 8KB read-ahead value. and 66.9 with a 64KB read-ahead value. Those are plausible numbers; they track with what I measured for NetDrive. The access time is 1ms, which is great compared to real hardware.

Yoghoo wrote on 2026-11-21, 01:07:

Setting the ISO to read-only indeed solved the reboot problem. Maybe add it to the readme file? But as it only support CD-ROMs (which are read-only) why is this needed? Why does the server not work by default as if the ISO is read-only?

Because I'm more interested in ensuring it works than worrying about the fluffy trivial parts. Those come after I know it's solid.

Reply 8 of 9, by mbbrutman

User metadata
Rank Oldbie
Rank
Oldbie

Some recent changes and updates:

  • I'm merging NetCD into NetDrive. One device driver file will load both the NetCD driver and NetDrive at the same time. The combined drivers are only about 700 bytes larger than NetDrive is today.
  • Pass-through support is working so you can run network hard drives, a network CD-ROM, and run networking programs while both of those are active.

Still to do:

  • Add support for multiple CD_ROM drives. (Each one will be a logical unit in the driver.)
  • Merge the command line utilities into one program.

Even though NetCD probably won't be released as a stand-alone device driver, I'm still interested in hearing how it is working for people. The code is different enough from NetDrive; getting some more varied testing on it is important.

(As always, no AI is being used on this project.)

-Mike

Reply 9 of 9, by mbbrutman

User metadata
Rank Oldbie
Rank
Oldbie

Another round of test code is available.

For this round the function has been folded into NetDrive and it is no longer a stand-alone device driver. You can use drive images (block devices) and CD-ROM devices at the same time. Up to 8 CD-ROM devices can be configured. All of the other NetDrive features work as before, including being able to run networking programs while NetDrive is active.

There is something magical about seeing DOS 3.1 from 1985 mount the SIMTEL MS-DOS shareware archive across the Internet on a machine 1400 miles away. Or having my Pentium 133 connected to a local server measure the equivalent of a 66.9X speed optical drive.

Please see http://brutman.com/mTCP/NetCD for the current notes and download links. And help me test this ... my testing has been thorough so there is nothing to be scared of, but I really need more feedback.

Thanks,
Mike