Skip to content

PALETTE COLOR does not update graphics screen palette #232

@sir-lazarus

Description

@sir-lazarus

Test Environment (required)
You can use MEGAINFO from within FREEZER to obtain this information
(long press RESTORE to enter FREEZER, then press HELP to start MEGAINFO)

  • Platform: MEGA65 (tested with R3)
  • ROM Release: (920413) and tested also with 920416
  • Core Commit: aaf4542

Describe the bug
When save the current graphic screen to a IFF-file with the BASIC command SAVEIFF, the used color palette is not stored within the file.

To Reproduce
Steps to reproduce the behavior:

  1. open graphic screen
  2. change colors of the current palette
  3. draw something on the screen with different colors
  4. save the screen with SAVEIFF to disk
  5. reset the computer
  6. open graphic screen
  7. load saved graphic from file

Expected behavior
Loaded graphic should have had the same colors as the one which has been saved.

Screenshots
Us the attached test program

Additional context
Enclosed is a test program which changes the colors of the color palette in BASIC, generates a graphic, saves it to disk with SAVEIFF. The color palette is then reset to the standard and the saved image is loaded again. Then you can see that the colors are not the ones that were used when saving. At the end of the program, the color palette is again set as it should be in the image file. Key presses steps though the stages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions