8-bit systems to ESP32 WiFi Multifunction Firmware https://fujinet.online
Find a file
FozzTexx 3fb9db1347
[iwm] Free Disk II media on eject and handle it being gone (#2407)
iwmDisk2 hid iwmDisk's _disk with its own and had an empty unmount(), so
ejecting a Disk II slot never freed its media. Drop both so eject goes
through iwmDisk::unmount(), which now detaches the media before freeing
it. The head-step path's change_track() and write_sector() return early
when no media is mounted instead of asserting or dereferencing null.

Fixes #2406
2026-11-16 11:36:12 -08:00
.github [ci] Run the FujiNet-PC release zip step under bash (#2364) 2026-11-12 10:17:00 -06:00
boards [docs] Add READMEs for build tooling, tests, pico and vendored components (#1755) 2026-10-02 12:56:27 -05:00
build-platforms [all] Let a board's FUJI_EOL build flag set the native EOL (#2340) 2026-11-09 11:57:33 -05:00
components [libsmb2] Replace an existing target on rename (#2354) 2026-11-10 15:51:04 -05:00
components_pc [libsmb2] Replace an existing target on rename (#2354) 2026-11-10 15:51:04 -05:00
data [config] Update autorun images to CONFIG 474d10f (#2361) 2026-11-13 10:21:32 -05:00
distfiles [apple2] update to support 8 SP devices & updated config image v2 (#1244) 2026-04-13 10:36:16 -07:00
docs [docs] Update build documentation and remove the dead test/ directory (#2353) 2026-11-10 11:25:43 -05:00
include [drivewire] Swap disks with the fujiversal BOOT button (#2405) 2026-11-16 11:06:54 -05:00
lib [iwm] Free Disk II media on eject and handle it being gone (#2407) 2026-11-16 11:36:12 -08:00
mcuconfig [docs] Add READMEs for build tooling, tests, pico and vendored components (#1755) 2026-10-02 12:56:27 -05:00
notes Merge branch 'master' 2024-01-12 21:10:21 +01:00
pico [intv] JLP flash: erase the addressed sector; range-check row and address (#2335) 2026-11-09 07:10:01 -06:00
platformio-ini-files [build] Set prerequisite minimums to the oldest versions that build (#1981) 2026-10-14 19:23:02 -04:00
src [all] Reach the Fuji device through SYSTEM_BUS instead of globals (#2378) 2026-11-14 08:41:44 -06:00
tests Change mount() to return error_is_true (#2402) 2026-11-16 07:50:51 -08:00
tools [docs] Add READMEs for build tooling, tests, pico and vendored components (#1755) 2026-10-02 12:56:27 -05:00
.clang-format Created coding-standard.py to check whitespace/formatting of plain text files (#981) 2025-07-27 16:32:16 -05:00
.dir-locals.el Created coding-standard.py to check whitespace/formatting of plain text files (#981) 2025-07-27 16:32:16 -05:00
.gitattributes Mark disk images and binaries as binary for git (#2179) 2026-10-24 16:55:36 -04:00
.gitignore [docs] Update build documentation and remove the dead test/ directory (#2353) 2026-11-10 11:25:43 -05:00
.gitmodules [fujiversal] build a companion MCU image into the firmware (1/6) (#1681) 2026-09-22 08:16:36 -05:00
.travis.yml Add jinja2 templating for webUI 2022-12-03 15:47:19 +00:00
AGENTS.md [tests] Describe the ifdef check's allow-list in the docs (#2296) 2026-11-04 17:19:07 -05:00
bisect-helper.py Make bisect-helper.py able to work with custom names instead of bad/good. (#1370) 2026-06-21 08:57:11 -05:00
build-sh.md [docs] Update build documentation and remove the dead test/ directory (#2353) 2026-11-10 11:25:43 -05:00
build.sh [docs] Update build documentation and remove the dead test/ directory (#2353) 2026-11-10 11:25:43 -05:00
build_firmwarezip.py [fujiversal] build a companion MCU image into the firmware (1/6) (#1681) 2026-09-22 08:16:36 -05:00
build_merge.py [fujiversal] build a companion MCU image into the firmware (1/6) (#1681) 2026-09-22 08:16:36 -05:00
build_packages.py Update build.sh to also do PC builds 2024-01-13 17:21:28 +00:00
build_pico.py [build] Set prerequisite minimums to the oldest versions that build (#1981) 2026-10-14 19:23:02 -04:00
build_prereqs.py [build] Install missing Python modules into the build venv without asking (#2267) 2026-11-03 09:34:16 -06:00
build_version_pc.py Remove warnings from nfs compile (#1960) 2026-10-13 21:45:39 -04:00
build_webui.py [apple2] restore the Disk ][ slots in the web interface (#1636) 2026-09-15 17:09:52 -05:00
CMakeLists.txt Applying @fenrock's FujiBusPacket unit tests 2026-06-22 14:22:21 -05:00
coding-standard.py Unification, part 1: Rename fuji device source code to match class name. (#1050) 2025-11-05 10:05:59 -05:00
CONTRIBUTING.md [docs] Update build documentation and remove the dead test/ directory (#2353) 2026-11-10 11:25:43 -05:00
create-platformio-ini.py Add debug_version.py to put commit ID into FN_VERSION_FULL during build without altering include/version.h 2024-10-16 10:29:30 -04:00
CREDITS.md Small XEX bootloader change... 2020-08-04 15:28:27 -07:00
debug_version.py New DaisyChain class to centralize device chain management across buses (#1594) 2026-09-01 08:47:06 -07:00
fujinet.py Building for Atari 2022-02-02 01:05:36 -06:00
fujinet_firmware_uploader.md [fujinet] added a new python script to upload releases from cli 2024-08-10 18:58:54 -04:00
fujinet_firmware_uploader.py Allow specifying firmware zip on command line (#865) 2025-03-19 22:51:18 -04:00
fujinet_partitions_4MB.csv Update partition tables and mount point in prep for custom OTA functionality (#949) 2025-06-16 09:23:50 -05:00
fujinet_partitions_4MB_noupdate.csv Adds xdrive device support (#1005) 2025-09-02 13:41:49 -05:00
fujinet_partitions_8MB.csv Update partition tables and mount point in prep for custom OTA functionality (#949) 2025-06-16 09:23:50 -05:00
fujinet_partitions_16MB.csv Update partition tables and mount point in prep for custom OTA functionality (#949) 2025-06-16 09:23:50 -05:00
fujinet_pc.cmake [adam] Remove the unused adamSerial device (#2349) 2026-11-10 08:42:22 -06:00
full-verify.sh Consolidate webui configs with inheritance (#1621) 2026-09-09 14:50:59 -05:00
install_python_modules.sh [build] Check build prerequisite versions and offer to install them (#1870) 2026-10-09 15:20:44 -04:00
LICENSE convert lf to crlf 2023-06-29 11:43:46 -05:00
Makefile [tests] Fail make tests/<name> when no test has that name (#2297) 2026-11-04 17:41:04 -05:00
pc_merge_notes.md [PC] re-add get_general_label() 2024-01-08 17:12:44 +01:00
platformio-sample.ini [build] Remove build_version.py, disabled since 2023 (#1903) 2026-10-12 10:07:10 -05:00
python_modules.txt [build] Set prerequisite minimums to the oldest versions that build (#1981) 2026-10-14 19:23:02 -04:00
README.md [docs] Add README hubs for lib, bus, device, media, src and include (#1752) 2026-10-02 12:55:30 -05:00
README_wifi.md fix typos in documentation markdown 2024-05-26 09:17:46 -05:00
sdkconfig.defaults [config] Enable TLS 1.3 in the ESP builds (#2210) 2026-10-27 13:22:03 -04:00
sdkconfig.defaults.psram_octal [intv] add back in the fujiversal-intv. (#1529) 2026-08-12 15:17:09 -05:00
sdkconfig.fujiapple-rev0 [config] Enable TLS 1.3 in the ESP builds (#2210) 2026-10-27 13:22:03 -04:00
sdkconfig.fujinet-adam-v1 [config] Enable TLS 1.3 in the ESP builds (#2210) 2026-10-27 13:22:03 -04:00
sdkconfig.fujinet-atari-esp32-s3-wroom-1-n16r8 [config] Enable TLS 1.3 in the ESP builds (#2210) 2026-10-27 13:22:03 -04:00
sdkconfig.fujinet-iec-fujiapple [config] Enable TLS 1.3 in the ESP builds (#2210) 2026-10-27 13:22:03 -04:00
sdkconfig.fujinet-iec-lolin-d32 [config] Enable TLS 1.3 in the ESP builds (#2210) 2026-10-27 13:22:03 -04:00
sdkconfig.fujinet-iec-nugget [config] Enable TLS 1.3 in the ESP builds (#2210) 2026-10-27 13:22:03 -04:00
sdkconfig.fujinet-lynx-rev1 [config] Enable TLS 1.3 in the ESP builds (#2210) 2026-10-27 13:22:03 -04:00
sdkconfig.fujinet-rs232-s3 [config] Enable TLS 1.3 in the ESP builds (#2210) 2026-10-27 13:22:03 -04:00
sdkconfig.fujiversal-drivewire [config] Enable TLS 1.3 in the ESP builds (#2210) 2026-10-27 13:22:03 -04:00
sdkconfig.fujiversal-rs232 [config] Enable TLS 1.3 in the ESP builds (#2210) 2026-10-27 13:22:03 -04:00
upstream.sh fixup rebase for build.sh 2024-01-22 18:37:33 -05:00
verify-webui-progress.sh Consolidate webui configs with inheritance (#1621) 2026-09-09 14:50:59 -05:00
verify-webui.sh Consolidate webui configs with inheritance (#1621) 2026-09-09 14:50:59 -05:00
version_common.py Created common library for version getting scripts (#1442) 2026-07-11 15:51:15 -07:00

FujiNet

A multi-function peripheral built on ESP32 hardware being developed for the multiple 8-bit systems

Please see the GitHub wiki for documentation and additional details.

A dedicated web site is also available at https://fujinet.online/

MAJOR ANNOUNCEMENT FOR ANYONE WORKING ON FIRMWARE CODE:

Fujinet-platformio has been ported forward to the new PlatformIO Esp32 3.0. The changes made mean that it no longer builds under 1.12.x or 2.0, so you must upgrade in order to work on this firmware.

To upgrade:

  • Select Platforms from PIO Home in Quick Access

  • You should see an upgrade notice for Espressif 32. Upgrade it. After the upgrade, you will move from 1.12.x or 2.0 to 3.0.

  • Once this is done, delete your .vscode and .pio folders, and re-start vs.code.


Generating platformio configuration for your board

See build.sh documentation for full documentation on using build.sh to configure your platformio ini files.

Repository map

Each directory below carries a README.md describing its intent, its layout and how it fits with the rest; start with lib/README.md for the architecture.

  • src/: src/main.cpp, the entry points and per-platform device assembly
  • lib/: nearly all code: buses, devices, media, filesystems, protocols, web UI, hardware
  • include/: shared headers: result and wire types, command and device IDs, pin maps
  • tests/: host-side unit tests and policy checks, run by the FujiNet-PC build
  • build-platforms/: one PlatformIO ini per supported board
  • boards/: PlatformIO board definitions
  • platformio-ini-files/: the shared ini layer build.sh merges
  • data/webui/: web UI sources that become the flash filesystem image
  • mcuconfig/: TUI for editing board pin assignments
  • pico/: RP2040 and RP2350 companion-MCU firmware
  • components/, components_pc/: vendored ESP-IDF and PC libraries
  • tools/: OAuth relays and Macintosh image tools
  • docs/: design notes and the C++ style guide; CONTRIBUTING.md is the working reference

ATARI

FujiNet currently provides the following devices for the Atari 8-bit system:

  • D: for disk emulation, allowing disk images to be read or written to on SD cards or TNFS servers over the local network or Internet.
  • P: for printing emulation, providing printer emulation for various types of popular printers, including Atari-branded, Epson, and other alternatives.
  • R: for RS-232 emulation, providing a Wi-Fi modem that can be used by existing communications programs that work with an Atari 850 interface.
  • N: providing a network adapter that can talk TCP, HTTP, UDP, and other protocols to other TCP/IP hosts.

This is the primary ESP32 firmware project. In addition, there are several related Github projects:

  • fujinet-config: Atari 8bit program to configure FujiNet
  • fujinet-nhandler: Atari 8bit "N:" device handler
  • fujinet-config-tools: Additional Atari 8bit programs to directly control FujiNet
  • fujinet-hardware: Schematics and design files for FujiNet hardware

Coleco ADAM

  • Disk and Tape emulation, allowing disk images to be read or written to on SD cards or TNFS servers over the local network or Internet.
  • Printing emulation, providing printer emulation for various types of popular printers, including Atari-branded, Epson, and other alternatives.
  • A network adapter that can talk TCP, HTTP, UDP, and other protocols to other TCP/IP hosts.

Apple

  • Floppy and Hard drive emulation
  • Printing emulation
  • An N device that allows Applesoft to use a network adapter that can talk TCP, HTTP, UDP, and other protocols to other TCP/IP hosts.

Other works in progress

Atari Lynx, IEC devices (Commodore 64, Commander X16), RC2014, S100 and more are coming all the time

How to contact us outside of GitHub:

There is active discussion and work on Discord: https://discord.gg/7MfFTvD

There are two active threads on the AtariAge forums: