Skip to content

Conversation

@FozzTexx
Copy link
Contributor

@FozzTexx FozzTexx commented Oct 14, 2025

Opened as draft, needs testing before merging Taking out of draft

Renamed all the io_*() functions to use fujinet-lib fuji_*() naming and arguments. It makes sense to move forward by making fujinet-lib API the default and any systems that aren't yet using fujinet-lib can have their io_*() functions renamed to be fuji_*() like was done here for Adam.

CONFIG for each platform needs to be tested, look under the Checks tab above for pre-compiled versions.

@FozzTexx
Copy link
Contributor Author

Issue reported by @tschak909:

Atari test results.

All functions working.

However, An interesting visual bug where the bar doesn't change to indicate an active connection (it checks the wifi status and if it's connected, the bar turns green) CONFIG initializes it to RED by default, and it looks like it's not changing. It does not change if I scan for SSIDs and re-connect. Behavior is same on both emulation and real hardware.
image
image

@FozzTexx
Copy link
Contributor Author

Culprit is screen/bar stuff in the atari/io.c:

bool io_get_wifi_enabled(void)
{
  wifiEnabled = fuji_get_wifi_enabled();

  if (wifiEnabled == 1)
  {
    return true;
  }
  else
  {
    bar_set_color(COLOR_SETTING_FAILED);
    return false;
  }
}

@FozzTexx FozzTexx marked this pull request as ready for review October 20, 2025 19:07
@FozzTexx FozzTexx requested a review from tschak909 October 20, 2025 19:07
@tschak909
Copy link
Contributor

Thank you.

@tschak909 tschak909 merged commit 81213f7 into main Oct 20, 2025
5 checks passed
@tschak909 tschak909 deleted the feature/fujinet-lib-is-api branch October 20, 2025 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants