Jump to content
IGNORED

FujiNet-PC


apc

Recommended Posts

Hi, I put together bundle with couple of bits: launcher utility, fujinet-pc, netsio hub, and custom device file - all necessary pieces to connect emulated Atari (Altirra) with FujiNet.

 

launcher.thumb.png.a0619e7d8eb41ab013add9541cab3534.png

 

 

If interested, Fujinet-PC launcher repository is here: https://github.com/a8jan/fujinet-pc-launcher

Instructions are here: https://github.com/a8jan/fujinet-pc-launcher/blob/master/Install.md and video instructions:

 

 

FujiNet-PC-bundle-20220305.1_win-x64.zip

 

It is not perfect. There is only Windows 64 bit version at this moment and plenty of room for improvements - you are welcome to help ?

 

Jan

 

  • Like 9
  • Thanks 3
Link to comment
Share on other sites

On 3/16/2022 at 12:10 AM, Alfred said:

Where would I find the source for that little TNFS config tool shown above ?

FujiNet CONFIG:

https://github.com/FujiNetWIFI/fujinet-config

 

Loader to speed up CONFIG boot time:

https://github.com/a8jan/fujinet-config-loader

 

Lot of valuable info on wiki:

https://github.com/FujiNetWIFI/fujinet-platformio/wiki

 

Link to comment
Share on other sites

On 3/13/2022 at 10:32 PM, feoh said:

I *do* know Python although I don't know WXPython but could easily learn :)

 

What are the next tasks that need doing to improve this? Runs great. Super impressive. Thanks for all the hard work!

For the Launcher "GUI" utility, more or less the core functionality is there. The stuff to improve is the build process (automate it), add 32-bit for Windows,  prepare Linux binary bundle runnable on most common distros (likely in form of AppImage), prepare macOS bundle.

Some cosmetics, GUI window can use better background picture. Current picture (borrowed from fujinet.online, thank you :)) is jagged on window edges (limited by transparency support). Maybe 800/XL/XE skins? ;-)

For the emulator bridge it would be nice to get other Atari emulators pluggable too. Altirra was ready for external peripherals. For other emulators it is likely their code needs to be modified/extended to support such thing.

And FujiNet-PC, it needs to work on it to catch with HW FujiNet.

 

..or to start from opposite end, make some programs which will use FujiNet! ?

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Thanks for putting this together! It looks like the bundle will need an update to handle the latest firmware/fconfig/N driver changes.

 

Right now if you try to boot FUJINET-PC with a fujinet enabled DOS it will fail on FCONFIG saying "Fujinet not responding".

 

I'd be happy to try rebuilding this. Did you happen to put notes together anywhere?

  • Like 1
Link to comment
Share on other sites

On 5/5/2022 at 3:32 AM, feoh said:

Did you happen to put notes together anywhere?

Not sure if usable, the "build notes" for bundle are here:

https://github.com/a8jan/fujinet-pc-launcher/blob/master/Build.md

First, fujinet-pc needs an update for FCONFIG SIO call.

If interested, you can check here.

https://github.com/FujiNetWIFI/fujinet-pc

I will try to get into it during weekend.

Jan

Link to comment
Share on other sites

On 5/5/2022 at 3:32 AM, feoh said:

Thanks for putting this together! It looks like the bundle will need an update to handle the latest firmware/fconfig/N driver changes.

 

Right now if you try to boot FUJINET-PC with a fujinet enabled DOS it will fail on FCONFIG saying "Fujinet not responding".

 

I'd be happy to try rebuilding this. Did you happen to put notes together anywhere?

Updated FN-PC (in bundle with launcher and emulator related stuff):

https://github.com/a8jan/fujinet-pc-launcher/releases/download/20220509/FujiNet-PC-bundle-20220509_win-x64.zip

 

Enjoy!

  • Like 2
Link to comment
Share on other sites

  • 3 months later...

I am pleased to announce

FujiNet-PC Launcher 2208.1

What's new:

  • Automated Build and Release jobs using GitHub Actions
  • Release variants
    • All in one bundle - heavy package, system specific binary, everything is included, currently limited to Windows only
    • Scripts - light package, no binaries, no Python included, only scripts and custom device file for Altirra

Downloads: https://github.com/a8jan/fujinet-pc-launcher/releases/tag/release-2208.1

Project: https://github.com/a8jan/fujinet-pc-launcher

FujiNet-PC 2208.1

What's new:

  • Lot of code refactored following fujinet-platformio
  • Updates taken from fujinet-platformio:
    • Enable/disable modem and printer, updated Boot Settings, added JSON parser, many small improvements/fixes
  • Added SMB protocol handler for N device (N:SMB://fileserver/share/path)
  • Host slot can point to SMB Share (smb://fileserver/share), currently limited to anonymous read-only access
  • Build and Release automation using GitHub Actions

Downloads: https://github.com/FujiNetWIFI/fujinet-pc/releases/tag/release-2208.1

Project: https://github.com/FujiNetWIFI/fujinet-pc

 

Demo: Booting game from SMB share (Windows share / Linux Samba / NAS device)

 

Jan

 

  • Like 6
  • Thanks 1
Link to comment
Share on other sites

  • 2 months later...
New releases:

FujiNet-PC 2210.1

Changes:

  • Following FujiNet main project:
    • Support for High Score Enabled Games on Atari
    • Improved directory navigation for N: (CD in NOS)
    • Improved JSON parsing
  • Host slot in CONFIG can point to FTP server (read-only, no writes)
    E.g host slot can be ftp://ftp.pigwa.net
  • Fixed [C]opy file in CONFIG program from / to TNFS server

Project: https://github.com/FujiNetWIFI/fujinet-pc

Downloads: https://github.com/FujiNetWIFI/fujinet-pc/releases/tag/release-2210.1

FujiNet-PC Launcher 2210.1

  • Bundle with Launcher and updated FujiNet-PC

Project: https://github.com/a8jan/fujinet-pc-launcher

Downloads: https://github.com/a8jan/fujinet-pc-launcher/releases/tag/release-2210.1

 

Enjoy!

Jan

Edited by apc
  • Like 8
Link to comment
Share on other sites

  • 7 months later...

After winter sleep and spring awakening, a new release is here:

 

FujiNet-PC 2306.1
  • Added serial port into Windows version
    • It is possible to connect FujiNet-PC with Atari via SIO2PC cable
      (disable emulator connection in web interface and configure serial port)
    • Known issue: CPU utilization can be high when serial port is enabled
      (will try to improve it)
  • Changes in GitHub automated builds (some build environments are no longer available)
    • macOS 10.15 build replaced by macOS 11
      (should run on 11, 12, 13, Rosseta needed on M1/M2 Mac)
    • Ubuntu 18.04 build replaced by Ubuntu 20.04
      (Ubuntu builds can also work with other Linux distributions)
    • Added Window x86 (32-bit) build
      (it uses UCRT Windows runtime, Windows 10 is needed)
  • Changes to make Windows XP build possible - experimental
    • For Windows XP and Windows 7
    • Made with old build environment, use of old libraries
      (implicates bugs, impacts security, affects crypto, ...)
    • Manual build, no GitHub automation

Project: https://github.com/FujiNetWIFI/fujinet-pc

Downloads: https://github.com/FujiNetWIFI/fujinet-pc/releases/tag/release-2306.1

 

 

2083338744_Screenshot2023-06-22010724.thumb.png.62105fda058639d81cd326ac5ecd1d71.png

IMG_7430.thumb.jpg.6c50cc34f1ea0a159bf4b6bbe31f794b.jpg

Enjoy!

Jan

Edited by apc
  • Like 5
  • Thanks 2
Link to comment
Share on other sites

  • 3 weeks later...

FujiNet-PC 2307.1

  • Things which were fixed in FujiNet main project some time ago
    These were preventing fujinet-pc to work properly with new hot items on the scene (game lobby, multiplayer 5 card stud game, etc.)

    • Fixed JSON validation bug causing fujinet-pc to crash
    • Fixed End-of-Line translations, thank you, Thom!
  • Added initial support for PCLink protocol

    • "SD card" (i.e. "SD" folder in fujinet-pc) can be accessed as PCL1: from SDX

Project: https://github.com/FujiNetWIFI/fujinet-pc

Downloads: https://github.com/FujiNetWIFI/fujinet-pc/releases/tag/release-2307.1

  • Like 6
Link to comment
Share on other sites

  • 4 weeks later...

FujiNet-PC 2308.1

  • Fixed bug on Windows. Appkeys (FujiNet cookies) were corrupted on write. Thanks to Bocianu for finding and reporting that!
  • Improved JSON parser. Fixed few memory leaks.
  • Improved XEX loader (picoboot). Thanks to Fenrok!
  • Included updated CONFIG with new feature to boot Game Lobby directly from it.

Project: https://github.com/FujiNetWIFI/fujinet-pc

Downloads: https://github.com/FujiNetWIFI/fujinet-pc/releases/tag/release-2308.1

 

FujiNet-PC Launcher 2308.1

  • All in one bundle with FujiNet-PC 2308.1, Launcher GUI and all necessary files to connect FujiNet-PC with Altirra emulator.
  • Lightweight "scripts only" package with Launcher GUI script and necessary files to connect with Altirra (FN-PC binary not included).
  • Updated netsio.atdevice file (Altirra custom device). Data sent to Atari is slowed down a bit to allow CONFIG program to work at HSIO index 0.

Project: https://github.com/a8jan/fujinet-pc-launcher

Downloads: https://github.com/a8jan/fujinet-pc-launcher/releases/tag/release-2308.1

Edited by apc
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 4 months later...
6 hours ago, freetz said:

The bridge works great, thanks a lot! But is there a way to monitor the debug output of fujinet-pc? I'm running the launcher on MacOS and contrary to running fujinet-pc on the command-line, nothing comes up...

Right click in empty area on the picture of the fujinet device and choose "Show Log"

image.png.cfb2e0525855450721f7d0c621dbf0ae.png

Link to comment
Share on other sites

May I ask one more question: I asked the question in the FujiNet FB group whether it's possible to use a real FujiNet and then use it with Altirra. One user mentioned that you (@apc) have been able to do so, is that true and could you tell me how to do it?

The reason behind it is that I would like to work on the FujiNet firmware without having it connected to an Atari. I'm mostly away from my 8-bit hardware, so if I could just compile the firmware onto an ESP32 and then use that FujiNet instance to work with Alitrra, that would be awesome.

So if anyone has any pointers, that would be great.

Link to comment
Share on other sites

  • 4 weeks later...
On 12/18/2023 at 4:21 PM, freetz said:

May I ask one more question: I asked the question in the FujiNet FB group whether it's possible to use a real FujiNet and then use it with Altirra. One user mentioned that you (@apc) have been able to do so, is that true and could you tell me how to do it?

I was working on it in a past, but was not satisfied with the result, so it was not added into main code.

wasn't reliable and I wasn't patient enough to solve the issues in a chain:

[FN+NetSIO]  <-WiFi/UDP->  [NetSIO hub / Altirra Device Server]  <-localhost/TCP->  [netsio.atdev]  <-custom device->  [Altirra]

That does not mean I will not try again in a future. If you are interested to help with it:
https://github.com/FujiNetWIFI/fujinet-emulator-bridge
https://github.com/FujiNetWIFI/fujinet-platformio/tree/master/lib/bus/sio/siocom

and the best part at https://discord.gg/fbpVXhTfuAZ ;-)

 

But if you really want some experiment ... there is serial port mode added into NetSIO hub ... then with 1050-2-PC cable one can connect physical SIO device to PC and use it with Altirra.

From netsiohub help:

  --serial SERIAL       Switch to serial port mode. Specify serial port (device) to use for communication with peripherals.
  --command {RTS,DTR}   Specify how is COMMAND signal connected, value can be RTS (default) or DTR
  --proceed {CTS,DSR}   Specify how is PROCEED signal connected, value can be CTS (default) or DSR

 

Example:

python -m netsiohub --serial /dev/ttyUSB1 --command DTR

NetSIO HUB v0.14

Serial port: /dev/ttyUSB1
DTR -> COMMAND
CTS <- PROCEED
Altirra Custom Device Server v0.8

Waiting for localhost connection from emulator on port 9996 -- Ctrl+Break to stop

 

You may end up with something like this on you desk:

IMG_8087.jpeg.c49a1955f8e7b8d390fe37bc85cb464b.jpeg

- SIO port using 1050-2-PC/USB for communication with Altirra

- USB port for firmware upload and debug console

 

Here is the netsiohub with serial mode in action with 1050 floppy:

(video has very low audio, you need volume up, sorry)

 

Disclaimer: Just for fun :) not for serious use, don't use to make backup of your floppies!

 

-Jan

Edited by apc
Link to comment
Share on other sites

Thank you for this detailed answer, Jan!

I was hoping for a simpler solution like this:

I have gotten FujiNet PC to work with Altirra and the AltirraBridge via NetSIO. So I was thinking if I run FujiNet on a standalone ESP32 and use that one's IP address for NetSIO, then Alirra would talk to the "real" ESP32. I would not need the Atari because the functions that I plan to work on are only on the ESP32 side (adding printer and e-mail functionality). I have so far bought a ESP32 S3 (because it was the only one I could find with 16 MB of flash and 8 MB of PSRAM), but compiling/flashing fails unfortunately, so I'm at a dead end here...

 

EDIT: I'm sorry, I didn't make the connection between you, the Fujinet Emulator Bridge you mentioned and that this was exactly what I was using ;). So that means I kind of got it working the "right" way, I just need to get the ESP32 running "proper" Fujinet rather than just Fujinet PC...

Edited by freetz
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...