I guess we should make a new topic, but just to add an interesting twist to the previous post,
I found a fun & simple way to do file transfers
to/from the RUNNING Windows 95 under DOSBox on R-PI ;
whereas the way proposed in the earlier post was preferably done with the DOSBox off.
Actually we'll be able to transfer files between the running "virtual" Windows-95 machine and, not just
the R-Pi host but ANY tcp-enabled machine
on your LAN or even the internets (provided fierwalls, NATs etc don't get in the way). All this using the standard DOSBox
- that has no emulated network adapter
and without having to install any network protocol in the Windows 95 !
Here is the trick : Windows 95 comes natively with "Hyperterminal
" and that can do file transfers through serial
ports, using ZModem
(preferred) or similar protocols.
Now, DOSBox can pipe internal (emulated) serial ports to/from an TCP socket on the host (Rpi).
The last piece of the puzzle, install the "Tools for zmodem file transfer" (lrsz
) package on the
host Pi (and on other connected *X system which you'd want to exchange files w/ the Windows in DOSBox),
and you're all set !
In dosbox-xxx.conf, [serial] section :
In Windows 95/Hyperterminal : create a "direct connection" using COM1.
To send a file from host (or other connected client) :
In Hyperterminal menus : Tranfer...Receive file...(choose a directory), click : Receive,
In terminal (on host or client):
That's all ! If transferring from a client other
than the host-RPi, substitute the Pi's IP address (on the LAN or, firewalls allowing, WAN) instead of 127.0.0.1 (which is localhost).
To transfer files in the other direction, i.e. from
the DOSBox, it's just a matter of :
In Hyperterminal, selecting Transfer... Send..., select file to send, click : Send,
In Linux terminal,
That is, rz to receive / sz to send (by Z-modem protocol).
That's all folks ! :=)