x68000:file_transfer_between_windows_pcs_and_x68000_machines_using_null_modem_cable
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
x68000:file_transfer_between_windows_pcs_and_x68000_machines_using_null_modem_cable [2011/12/31 04:43] – eidis | x68000:file_transfer_between_windows_pcs_and_x68000_machines_using_null_modem_cable [2014/08/15 16:37] – eidis | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== File transfer between Windows PCs and X68000 machines using a null modem cable ==== | ||
- | The following tutorial is kind contribution by our forum member Magic Knight. | + | ====== File transfer between Windows PCs and X68000 machines using a null modem cable ====== |
+ | |||
+ | The following tutorial is kind contribution by our forum member | ||
Last year I had a problem. I wanted to transfer files which I had downloaded from the Internet onto my Windows PC over to my X68000. I didn’t have a 5.25” drive on my PC, and even if I were to get one, I was running Windows XP so a program like xfloppy wasn’t going to work anyway. I do have a laptop, running Windows 98, but with no way to connect a 5.25” drive. | Last year I had a problem. I wanted to transfer files which I had downloaded from the Internet onto my Windows PC over to my X68000. I didn’t have a 5.25” drive on my PC, and even if I were to get one, I was running Windows XP so a program like xfloppy wasn’t going to work anyway. I do have a laptop, running Windows 98, but with no way to connect a 5.25” drive. | ||
Line 8: | Line 9: | ||
I therefore contacted Makoto Kamada, whose website is here: | I therefore contacted Makoto Kamada, whose website is here: | ||
+ | |||
http:// | http:// | ||
He suggested that I should try connecting the two machines (Window 98 laptop and X68000) using a null modem cable and then transfering the files that way. At the time he had not yet publicly released the BASIC program he wrote to start the process, but recently he did release it with details of how to use it on his website (in Japanese), along with the program itself. | He suggested that I should try connecting the two machines (Window 98 laptop and X68000) using a null modem cable and then transfering the files that way. At the time he had not yet publicly released the BASIC program he wrote to start the process, but recently he did release it with details of how to use it on his website (in Japanese), along with the program itself. | ||
+ | |||
http:// | http:// | ||
Line 16: | Line 19: | ||
First, let’s look at the requirements: | First, let’s look at the requirements: | ||
- | Your Windows PC will probably have to be Windows 95/98 or similar, I haven’t tried it with other operating systems. You could try it and see if it works on your own system. | ||
- | Your X68000 probably needs Human68k 3.02, it may well work with earlier versions, I really don’t know. | ||
- | A null modem cable. The one I got to work is the Sanwa KR-MD1 but you can build one yourself using the following pinouts. | ||
- | http://www.sanwa.co.jp/ | + | *Your Windows PC will probably have to be Windows 95/98 or similar, I haven’t tried it with other operating systems. You could try it and see if it works on your own system. |
+ | *Your X68000 probably needs Human68k 3.02, it may well work with earlier versions, I really don’t know. | ||
+ | *A null modem cable. Use the following diagram to construct the cable. | ||
- | |{{ :x68000: | + | http://www.gamesx.com/ |
- | |{{ : | + | |
- | + | ||
- | + | ||
- | If you look at the website you can see how the pins from each end are connected, so you can probably find a similar cable in your own country. You may also have to connect two cables together before you get the right connection. | + | |
Ensure that both machines are turned OFF when connecting the cable. | Ensure that both machines are turned OFF when connecting the cable. | ||
Line 32: | Line 30: | ||
Now, the procedure: | Now, the procedure: | ||
- | 1. Download and install Tera Term Pro ver. 2.3 for Windows on your PC | + | ==== 1. Download and install Tera Term Pro ver. 2.3 for Windows on your PC ==== |
Download ttermp23.zip from: | Download ttermp23.zip from: | ||
+ | |||
http:// | http:// | ||
Line 39: | Line 39: | ||
- | 2. Download ZM.X for X68000 | + | ==== 2. Download ZM.X for X68000 |
Download ZMX68K4.LZH from: | Download ZMX68K4.LZH from: | ||
+ | |||
http:// | http:// | ||
+ | |||
This is a ZMODEM transfer tool for the X68000. | This is a ZMODEM transfer tool for the X68000. | ||
- | 3. Extract sxmr.zip onto the Windows PC | + | ==== 3. Extract sxmr.zip onto the Windows PC ==== |
http:// | http:// | ||
- | When extracted, you will see a simple text file, sxmr.bas. | + | |
- | This is a simple XMODEM receiver tool written by Makoto. | + | When extracted, you will see a simple text file, sxmr.bas. This is a simple XMODEM receiver tool written by Makoto. You use it only once, when transferring ZM.X from the Windows PC to the X68000. |
- | You use it only once, when transferring ZM.X from the Windows PC to the X68000. | + | |
- | 4. Setup the serial port of the Windows PC | + | ==== 4. Setup the serial port of the Windows PC ==== |
Start Tera Term Pro. | Start Tera Term Pro. | ||
- | Tera Term Pro | + | < |
| | ||
| | ||
- | Baud rate: 4800 | + | Baud rate: 4800 |
| | ||
| | ||
Line 68: | Line 69: | ||
| | ||
0 msec/ | 0 msec/ | ||
- | -Save setup | + | -Save setup</ |
- | 5. Setup the RS-232C port of the X68000 | + | ==== 5. Setup the RS-232C port of the X68000 |
Using Human68k version 3.02: | Using Human68k version 3.02: | ||
You need to use RSDRV.SYS, so edit your CONFIG.SYS to include the following line: | You need to use RSDRV.SYS, so edit your CONFIG.SYS to include the following line: | ||
- | DEVICE | + | |
+ | < | ||
Now reset the X68000 so that the driver loads while booting. | Now reset the X68000 so that the driver loads while booting. | ||
- | At the X68000 Command line type | + | At the X68000 Command line type: |
- | A: | + | |
+ | < | ||
The SPEED program will set up the communications port to use the following settings: | The SPEED program will set up the communications port to use the following settings: | ||
- | Baud rate: | + | |
+ | Baud rate: 4800 | ||
| | ||
| | ||
Line 92: | Line 97: | ||
- | 6. Transfer sxmr.bas from the Windows PC to the X68000 | + | ==== 6. Transfer sxmr.bas from the Windows PC to the X68000 |
+ | |||
+ | At the X68000 Command line type: | ||
- | At the X68000 Command line type | + | < |
- | A:\>copy aux sxmr.bas | + | |
- | From Tera Term Pro | + | < |
-File | -File | ||
-Send file | -Send file | ||
-File name: sxmr.bas | -File name: sxmr.bas | ||
- | | + | |
This is an easy method to transfer text files from Windows PC to X68000. | This is an easy method to transfer text files from Windows PC to X68000. | ||
- | CAUTION: The copy command of X68000 does not stop until 0x1a is received. | + | **CAUTION:** |
- | You might have to use the INTERRUPT switch or the RESET button to abort the copy command if you have a problem. | + | *The copy command of X68000 does not stop until 0x1a is received. |
+ | *You might have to use the INTERRUPT switch or the RESET button to abort the copy command if you have a problem. | ||
- | sxmr.bas already ends with 0x1a. | + | sxmr.bas already ends with 0x1a. You can easily add a 0x1a to the end of a file by the following command at the Windows Command Prompt. |
- | You can easily add a 0x1a to the end of a file by the following command at the Windows Command Prompt. | + | < |
- | > copy OLDFILE+nul NEWFILE | + | |
- | 7. Transfer ZM.X from Windows PC to X68000 | + | ==== 7. Transfer ZM.X from Windows PC to X68000 |
- | If you already have an LZH extractor on your X68000, transfer the file ZMX68K4.LZH. | + | *If you already have an LZH extractor on your X68000, transfer the file ZMX68K4.LZH. |
- | Otherwise, transfer ZM.X extracted from ZMX68K4.LZH by using your favourite tool. | + | *Otherwise, transfer ZM.X extracted from ZMX68K4.LZH by using your favourite tool. |
+ | |||
+ | At the X68000 Command line type: | ||
+ | |||
+ | < | ||
- | At the X68000 Command line type | ||
- | A: | ||
X-BASIC starts. | X-BASIC starts. | ||
- | Filename=? ZMX68K4.LZH or ZM.X | + | < |
- | From Tera Term Pro | + | < |
-File | -File | ||
| | ||
Line 131: | Line 139: | ||
-Send | -Send | ||
| | ||
- | | + | |
Hit any key on X68000 to start transferring. | Hit any key on X68000 to start transferring. | ||
Line 137: | Line 145: | ||
When the transfer is finished, use " | When the transfer is finished, use " | ||
+ | Now you can use higher speed of 19200 bps with ZM.X | ||
- | 8. Transfer any files from Windows PC to X68000 | + | At the X68000 |
- | At the X68000 Command line type | + | < |
- | A: | + | |
- | From Tera Term Pro | + | The SPEED program will set up the communications port to use the following settings: |
+ | |||
+ | Baud rate: 19200 | ||
+ | | ||
+ | | ||
+ | | ||
+ | Flow control: | ||
+ | |||
+ | |||
+ | ==== 8. Transfer any files from Windows PC to X68000 ==== | ||
+ | |||
+ | At the X68000 Command line type: | ||
+ | |||
+ | < | ||
+ | |||
+ | < | ||
-File | -File | ||
| | ||
| | ||
-Send | -Send | ||
- | | + | |
+ | |||
+ | If you had transferred not ZMX68K4.LZH but ZM.X, you should transfer a LZH extractor, e.g. lx.r, and ZMX68K4.LZH first and replace ZM.X. | ||
- | If you had transferred not ZMX68K4.LZH but ZM.X, you should transfer | ||
- | a LZH extractor, e.g. lx.r, and ZMX68K4.LZH first and replace ZM.X. | ||
lx.r is here: | lx.r is here: | ||
+ | |||
http:// | http:// | ||
- | 9. Transfer any files from X68000 to Windows PC | + | ==== 9. Transfer any files from X68000 to Windows PC ==== |
- | From Tera Term Pro | + | < |
-File | -File | ||
| | ||
| | ||
- | | + | |
- | At the X68000 Command line type | + | At the X68000 Command line type: |
- | A:\> zm -s FILENAME | + | |
+ | < | ||
Note that the baud rate when transferring initially is 4800, this is probably the highest speed possible when transfering using the BASIC program, due to the speed of the BASIC interpreter. When using ZM.X, you can probably go higher, I transfer files at 9600 baud when using ZM.X. | Note that the baud rate when transferring initially is 4800, this is probably the highest speed possible when transfering using the BASIC program, due to the speed of the BASIC interpreter. When using ZM.X, you can probably go higher, I transfer files at 9600 baud when using ZM.X. | ||
+ | |||
+ | |||
+ | ==== 10. Transfer files at 38400 bps speed ==== | ||
+ | |||
+ | It is possible to achieve even higher speeds with MuTerm. | ||
+ | |||
+ | Get it here: | ||
+ | http:// | ||
+ | |||
+ | Transfer it to X68000, extract the files from archive, open muterm.cnf in text editor and change the following lines | ||
+ | |||
+ | From: | ||
+ | |||
+ | < | ||
+ | PMODE = 0 | ||
+ | *SPEED | ||
+ | XFLOW = 1 | ||
+ | </ | ||
+ | |||
+ | To: | ||
+ | |||
+ | < | ||
+ | PMODE = 1 | ||
+ | SPEED = 38400 | ||
+ | XFLOW = 0 | ||
+ | </ | ||
+ | |||
+ | Start Tera Term Pro. | ||
+ | |||
+ | < | ||
+ | | ||
+ | | ||
+ | Baud rate: 38400 | ||
+ | | ||
+ | | ||
+ | | ||
+ | Flow control: | ||
+ | | ||
+ | 0 msec/ | ||
+ | -Save setup</ | ||
+ | |||
+ | On X68000 side launch MuTerm and use the following keys: | ||
+ | |||
+ | < | ||
+ | F4 - Send | ||
+ | F5 - Receive | ||
+ | BREAK - Interrupt data transfer | ||
+ | SHIFT+BREAK - Exit to HumanOS | ||
+ | </ | ||
+ | |||
+ | Please note that there is no need to use the SPEED command because MuTerm sets RS232 port speed and parameters automatically. | ||
+ | |||
+ | ==== 11. Transfer any files at 38400 bps from Windows PC to X68000 ==== | ||
+ | |||
+ | < | ||
+ | -File | ||
+ | | ||
+ | | ||
+ | -Send | ||
+ | | ||
+ | | ||
+ | |||
+ | At X68000 in MuTerm press F5, type any name for the incoming file and press Enter. | ||
+ | |||
+ | |||
+ | ==== 12. Transfer any files at 38400 bps from X68000 to Windows PC ==== | ||
+ | |||
+ | < | ||
+ | -File | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | -Type any name for the incoming file and click Open</ | ||
+ | |||
+ | At X68000 in MuTerm press F4, then hit Enter and select the file you want to transfer. | ||
+ | |||
+ | Please note that it is recommended to use 1K option only when transferring from X68000 to PC. When transferring data from PC to X680000, CRC option gave better performance. |
x68000/file_transfer_between_windows_pcs_and_x68000_machines_using_null_modem_cable.txt · Last modified: 2020/06/20 19:23 by NFG