-
Notifications
You must be signed in to change notification settings - Fork 78
Run FujiNet with Altirra for Atari
It is possible to run multiple instances of Fujinet-PC / Altirra to simulate two Ataris on a single computer for emulation.
Follow the guide below to setup 1 or 2 Altirra+FujiNet-PC environment on your Mac, Windows, or Linux machine.
Altirra (netsio.atdevice) -> FujiNet (NetSIO) Bridge -> FujiNet-PC
Altirra uses a custom device file to talk to the Python NetSIO bridge, which in turns talks to FujiNet-PC.
- Altirra -> FujiNet Bridge (port 9996) -> FujiNet-PC (port 9997)
- Altirra -> FujiNet Bridge (port 9986) -> FujiNet-PC (port 9987)
- FujiNet NetSIO bridge requires Python.
- Altirra is Windows only, so to run on Mac/Linux, use Wine64.
-
Altirra - https://www.virtualdub.org/altirra.html
-
Fujinet NetSIO Emulator Bridge - https://github.com/a8jan/fujinet-pc-launcher/releases
- Download/unzip the latest fujinet-pc-scripts-* file
- FujiNet-PC Binaries - https://github.com/FujiNetWIFI/fujinet-firmware/releases/
- Download the latest FujiNet-PC nightly build, unzip to fujinet-pc directory from step 2 above
We will basically create two copies of some files/directories, with the second copy modified to use different ports.
Duplicate the fujinet-pc directory to fujinet-pc2 for the second instance
In fujinet-pc2/fnconfig.ini , change the port under NetSIO to 9987
[NetSIO]
enabled=1
host=localhost
port=9997
In emulator/Altirra, duplicate the netsio.atdevice file to netsio-2.atdevice.
Edit the second copy, changing the port from 9996 to 9986
option "network":
{
port: 9986
};
Start Altirra. Save a configuration as instance-1.ini Open the ini file and make the following changes (alternatively, you can do this in the Altirra screens and save the config afterward):
Disable fastboot so the fujinet config will boot
"Kernel: Fast boot enabled" = 0
Enable Altirra to run in the background
"Pause when inactive" = 0
If on a Mac, disable direct3d/9 to avoid crashes by editing the
"Display: Direct3D9" = 0
"Display: 3D" = 0
Add the FujiNet Bridge device (change to your emulator/Altirra path):
"Devices" = "[{\"tag\":\"custom\",\"params\":{\"hotreload\":false,\"path\":\"C:\\\\users\\\\eric\\\\My Documents\\\\projects\\\\fujinet-emulator-bridge\\\\emulator\\\\Altirra\\\\netsio.atdevice\"}}]"
Duplicate instance-1.ini to instance-2.ini
Open instance-2.ini and modify the device to point to netsio-2.device
"Devices" = "[{\"tag\":\"custom\",\"params\":{\"hotreload\":false,\"path\":\"C:\\\\users\\\\eric\\\\My Documents\\\\projects\\\\fujinet-emulator-bridge\\\\emulator\\\\Altirra\\\\netsio-2.atdevice\"}}]"
Now, you should be able to run two instance of Altirra that connect to their own instances of FujiNet Bridge/FujiNet-PC
- Start FujiNet bridge for my two instances
cd ~/Documents/fujinet-pc-scripts/;python3 -m netsiohub --port 9996 --netsio-port 9997
cd ~/Documents/fujinet-pc-scripts/;python3 -m netsiohub --port 9986 --netsio-port 9987
- Start FujiNet PC
cd ~/Documents/fujinet-pc-scripts/fujinet-pc;./run-fujinet
cd ~/Documents/fujinet-pc-scripts/fujinet-pc2;./run-fujinet
- Start Altirra
cd ~/Documents/Altirra;wine64 Altirra64.exe /portablealt:instance-1.ini
cd ~/Documents/Altirra;wine64 Altirra64.exe /portablealt:instance-2.ini
You should see each boot into fujinet config. You can now use FujiNet on these two instances as separate machines.
Copyright 2024 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD
- Home
- What is FujiNet?
- The Definition of Done
- Board bring up for FujiNet Platform.IO code
- The Complete Linux CLI Guide
- The Complete macOS CLI Guide
- Development Env for Apps
- FujiNet-Development-Guidelines
- System Quickstarts
- FujiNet Flasher
- Setting up a TNFS Server
- FujiNet Configuration File: fnconfig.ini
- AppKey Registry - SIO Command $DC Open App Key
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine