Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup of palettized-PNG, NEO and XIMG support #35

Closed
wants to merge 28 commits into from

Conversation

bbbradsmith
Copy link
Contributor

@bbbradsmith bbbradsmith commented Jan 26, 2024

Cleanup intended to consolidate: #30, #31, #33, #34

Implementing suggestions made by Eero Tamminen on the mailing list:

  • Static arrays converted to function-local stack arrays.
  • Using be_swap16 instead of custom StoreNEOU16.
  • Consolidate shared code between SaveNEO/SaveXIMG.
  • Document the command line --screnshot-format which was added.
  • Document the revised screen dialog.

Additionally:

  • Add XIMG option to the GUI.
  • Add "ximg" command line option.

Including from #33 and #34:

  • NEO format should support any GenConv format that matches one of the 3 standard ST resolutions.
  • XIMG screenshot format.
  • ConvertNextLine passes line memory stride information from GenConv (rather than duplicating/assuming it).
  • Filename field in NEO indicates HATARI and BPP.

bbbradsmith and others added 24 commits January 3, 2024 02:27
note that hires palette is unavailable (and safer method of addressing it)
… (though we still have no FrameBuffer image data)
# Conflicts:
#	src/configuration.c
#	src/includes/configuration.h
#	src/screenConvert.c
#	src/screenSnapShot.c
…te suffix, create errors to diagnose when the screenshot can't be created
…instead of custom StoreU16NEO function,

add ximg to --screenshot-format formats, document in manual.html
@bbbradsmith
Copy link
Contributor Author

The CI failure looks spurious, the only change was the HTML documentation, but the logged failure was an instruction test on cygwin only?

@huth
Copy link
Member

huth commented Jan 26, 2024

The CI failure looks spurious, the only change was the HTML documentation, but the logged failure was an instruction test on cygwin only?

I think I've seen the "command-fifo" test failing on some few occasion in the past weeks, but failed to reproduce it so far ... seems to be a bit flaky ... you can certainly ignore it for this PR here for now.

make flags field for NEO explicit 0
some NEO header comments for clarity
@huth huth requested a review from npomarede January 26, 2024 16:25
Copy link
Contributor

@npomarede npomarede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good for me, I merged everything into Hatari

@npomarede npomarede closed this Jan 28, 2024
@npomarede
Copy link
Contributor

Closing this PR as everything was merged into Hatari

@bbbradsmith bbbradsmith deleted the neo-ximg-png-rev branch April 15, 2024 17:18
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