Skip to content

Fix UlA+ border colour handling - #71

Merged
voytas merged 5 commits into
mainfrom
fix-ula-plus-border
Sep 2, 2026
Merged

Fix UlA+ border colour handling#71
voytas merged 5 commits into
mainfrom
fix-ula-plus-border

Conversation

@voytas

@voytas voytas commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 14366f08f6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Spectron.Emulation/State/StateSnapshot.cs
Comment thread src/Spectron/ViewModels/TimeMachineViewModel.cs Outdated
Comment thread src/Spectron.Emulation/Extensions/EmulatorStateExtensions.cs Fixed
Comment on lines +40 to +51
if (isUlaPlus)
{
color = (bitmap & FastLookup.BitMasks[bit]) != 0 ?
snapshot.UlaPlus!.GetInkColor(attribute) :
snapshot.UlaPlus!.GetPaperColor(attribute);
}
else
{
color = (bitmap & FastLookup.BitMasks[bit]) != 0 ^ isFlashOn ?
attributeData.Ink :
attributeData.Paper;
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Current is easier to read

@voytas
voytas merged commit 6ea8817 into main Sep 2, 2026
7 checks passed
@voytas
voytas deleted the fix-ula-plus-border branch September 2, 2026 20:00
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.

1 participant