Figured it might a good idea to do a tutorial on how to get files onto the Husky Hunter 2. Since the Hunter's OS (DEMOS) is somewhat CP/M 2 compatible, it is possible to run some CP/M-80 software on it.
First, you'll need the file transfer software -
http://mahlemiut.marpirc.net/hcomboot.zip (bootable floppy disk image, containing the DOS and Windows 3.1 versions of HCOM)
I'd recommend extracting the floppy image from the zip, and using that, since floppies within zipfiles are read-only, which prevents HCOM from changing settings. Or you could copy the HCOM files to an HD image for faster access, it's your choice. For this tutorial, we'll use the DOS version running from the floppy disk.
Transfers are done by connecting a PC to the Hunter via a null modem cable, and running software on both to facilitate data transfers.
Since with MESS, this will require running two instances at the same time, it will be helpful if you have a multi-core CPU.
Step 1: Set up PC
Run any AT PC driver in MESS (at386 will do), with the software floppy in drive A, and with the null modem device connected. The null modem device adds a bitbanger device which is used to send and receive serial data, and requires a filename to send to or receive from. MESS allows sockets to be specified as files, so these can be used to facilitate a connection between MESS and other programs or even another instance of MESS. Sockets are specified by using '
socket.<IP address>:<port>'. If the two MESS instances are running on the same system, then you can use 127.0.0.1 as the IP address. Port can be any unused port on your system, it's up to you.
eg:
mess at386 -flop1 hcomboot.img -board2:comat:serport1 null_modem -bitb socket.127.0.0.1:2345 -windowThis connects the null modem to the second serial port (COM2 in DOS), as the mouse is usually connected to COM1. You can connect it to -board2:comat:serport0 if you want, but this will replace the mouse. Running MESS in a window is good idea, since there will be plenty of switching windows.
If you haven't done so previously, make sure the BIOS setup for at386 is correct. Make sure the parameters for any hard disk you may have mounted are correct, and that you have at least drive A set as 3.5" 1.44MB.
Now let it boot from floppy, pass the time settings (just press enter to accept the defaults), and you should be at the A:\> prompt. Type 'cd hcom.dos', and press enter.
Step 2: Set up the Hunter 2.
Start a second instance of MESS, running the Hunter 2 driver, with the same socket setting as for the PC driver. The IP address and port must match that used for the PC instance.
eg:
mess hunter2 -serial null_modem -bitb socket.127.0.0.1:2345 -windowIf you haven't done so previously, you will need to format the battery-backed RAMdisk. Simply type 'format', and press 'y' when asked if you're sure.
Step 3: Set up the connection
If you run HCOM now, you'll get a communications failure.
This is because the Hunter currently lacks the software to communicate with HCOM. So, you'll have to download that to the Hunter. First you should check HCOM's options. Make sure that baud rate is set to 4800, and COM port is set to COM2. These should already be set for you, but do change them if not, and select 'Save Options'. You will need to exit and restart HCOM for changes to take effect.
On the PC, running HCOM, press S to start a software download, select 'Husky Hunter', and HCOM will give you instructions what to do. You will also need to set the bitbanger settings to match the baud rate expected to, so on
both MESS instances, go to the Bitbanger Control menu and set the baud rate to 2400 (note that since MESS 0.153, bitbanger controls have been moved to the System Configuration menu, and there are two baud rate settings. Change both of these to 2400).
Switch to the Hunter, and run 'coms', and set the communication settings to match what HCOM wants.
Now type 'inp 999 hcom.com' and press enter. You will be greeted with the message "Waiting".
Switch back to the PC, and press enter to start the software download. On the Hunter, the message "Loading" should appear.
When the download is completed, switch to the Hunter, and press ESC (Shift-BRK, default mapping in MESS is Shift-Esc). Do a dir, and you should see HCOM.COM listed.