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 |
||
|---|---|---|
| .github | ||
| boards | ||
| build-platforms | ||
| components | ||
| components_pc | ||
| data | ||
| distfiles | ||
| docs | ||
| include | ||
| lib | ||
| mcuconfig | ||
| notes | ||
| pico | ||
| platformio-ini-files | ||
| src | ||
| tests | ||
| tools | ||
| .clang-format | ||
| .dir-locals.el | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| .travis.yml | ||
| AGENTS.md | ||
| bisect-helper.py | ||
| build-sh.md | ||
| build.sh | ||
| build_firmwarezip.py | ||
| build_merge.py | ||
| build_packages.py | ||
| build_pico.py | ||
| build_prereqs.py | ||
| build_version_pc.py | ||
| build_webui.py | ||
| CMakeLists.txt | ||
| coding-standard.py | ||
| CONTRIBUTING.md | ||
| create-platformio-ini.py | ||
| CREDITS.md | ||
| debug_version.py | ||
| fujinet.py | ||
| fujinet_firmware_uploader.md | ||
| fujinet_firmware_uploader.py | ||
| fujinet_partitions_4MB.csv | ||
| fujinet_partitions_4MB_noupdate.csv | ||
| fujinet_partitions_8MB.csv | ||
| fujinet_partitions_16MB.csv | ||
| fujinet_pc.cmake | ||
| full-verify.sh | ||
| install_python_modules.sh | ||
| LICENSE | ||
| Makefile | ||
| pc_merge_notes.md | ||
| platformio-sample.ini | ||
| python_modules.txt | ||
| README.md | ||
| README_wifi.md | ||
| sdkconfig.defaults | ||
| sdkconfig.defaults.psram_octal | ||
| sdkconfig.fujiapple-rev0 | ||
| sdkconfig.fujinet-adam-v1 | ||
| sdkconfig.fujinet-atari-esp32-s3-wroom-1-n16r8 | ||
| sdkconfig.fujinet-iec-fujiapple | ||
| sdkconfig.fujinet-iec-lolin-d32 | ||
| sdkconfig.fujinet-iec-nugget | ||
| sdkconfig.fujinet-lynx-rev1 | ||
| sdkconfig.fujinet-rs232-s3 | ||
| sdkconfig.fujiversal-drivewire | ||
| sdkconfig.fujiversal-rs232 | ||
| upstream.sh | ||
| verify-webui-progress.sh | ||
| verify-webui.sh | ||
| version_common.py | ||
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.shmerges - 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:
- Software development discussion in "#FujiNet - a WIP SIO Network Adapter for the Atari 8-bit"
- Hardware discussion in "#FujiNet Hardware Discussion"