Internet for Amiga/ao486
Starting from 2018 may 7 release MiSTer supports serial (UART) connection from FPGA to Linux. Linux OS runs PPP or Console daemon on this connection allowing access the internet or Linux shell from FPGA cores.
Cores supporting serial connection¶
- Minimig. Tested on Roadshow TCP/IP, AmiTCP and Miami. AmiTCP provides more complete solution with ftpd daemon. There are many other 3rd party addons are based on AmiTCP, so it’s advised to use this package. Roadshow works ok locally, although i couldn’t make DNS work. Probably it needs more settings, but their 20min demo doesn’t allow to test and setup it fully. Miami was successfully tested. The Miami settings that worked: use PPP connection via serial.device, set baud rate to 115200, RTS/CTS to on, and enable 8N1. Set modem to nullmodem. Manually enter an IP suitable for your lan ending in 254, e.g. 192.168.1.254. Manually add a DNS server, e.g. 8.8.8.8 for Google DNS. Term v4.7 has been used to test console connection.
- ao486. Currently only console connection has been tested using Dos Navigator’s integrated Terminal and Kermit 3.15. PPP should work under Win95. DOS tools are here : dos_ftpd.zip
- C64. Serial connection.
OSD provides an option to switch between PPP and Console on these cores. Both console and PPP are using baud rate 115200 8N1 mode with hardware RTS/CTS flow control for stability.
Console connection¶
Using this connection with supported terminal application on FPGA core, you can access the Linux shell and do some file managements or Linux settings if required. No special settings are required of Linux.
PPP connection¶
Using this connection core may have internet connection. More important, the core may run ftp daemon and provide access to its filesystem, so you can use FTP client on PC to move the files to/from the emulated system.
PPP daemon uses /media/fat/linux/ppp_options (linux\ppp_options of PC) file. Most likely you don’t need to modify it. Recent update assigns IPs automatically. Core gets
NOTE: I’m looking Amiga and MSDOS terminal supporting color and control codes of linux, so it will be possible to use Midnight Commander in terminal connection. If you know such terminal application, then let me know.
PPP connection in Windows 95 on ao486¶
Unfortunately winsock and winsock2 provided by Microsoft do not work with the ppp connection when in Windows 95. The following steps will allow you to get it working.
- In the Mister System Menu ( Win/F12 ) set the “Uart Connection” to “PPP” and save it.
- In Windows 95 ensure the COM1 device is installed in Start->Settings->Control Panel->System
Device Manager Tab, there should be a twisty called Ports(COM & LPT) and under that a “Communications Port (COM1)” - If it doesn’t exist go to Start->Settings->Control Panel->Add/New Hardware and it should be automatically added.
- Get the replacement PPP client
Download the software. There are other newer versions available BUT be warned only version 3.0 will work.
Trumpet Winsock 3.0 or Official Homepage
(I extracted the file from the disk image and uploaded it using the DOS ftp client documented above) - License the Software
This software is still shareware (time limited) please license it appropriately. Once you acquire a license you can put the details in Tcpman in the “Special” menu in “Password registration” - Configure Software
- Start Tcpman
- Under File->PPP Options ensure all checkboxes are unchecked and the text boxes are blank.
- Under File->Setup Enter an “IP Address” suitable for your LAN eg 192.168.1.254 and a “DNS Server(s)” 192.168.1.1
Under the Driver section select the PPP radio button and click on “Dialer settings…” - In the “Dialer settings…”
“COMM port” COM1
“Baud rate” 115200
- Using the software ( important, be patient )
Win95 is rather slow so let it start fully before starting the PPP manager (Tcpman)
Once it is started it will begin syncing with PPP on the linux host . . . Be patient it takes a few seconds.
When you see the PPP[C021] SND and RCV you can start your TCP/IP program
Serial connection on C64¶
The following is an example for connecting to a BBS using Striketerm 2014.
- Start the C64 core (please note that custom kernels may remove functionality required, if in doubt use the built in kernel).
- In the Mister System Menu ( Win/F12 ) set the “Uart Connection” to “Midi”, “Remote”, “TCP” and save it.
- Load Striketerm 2014 from d64. Available from here
- Keep the defaults in the Main Menu (F1), ensure you are running at 2400 baud.
- Save a BBS into the Addressbook (F5), you can get some from here
- Surf the BBS very slowly . . .