Skip to content

Fix hires buffers and showcase demos#277

Open
Vairn wants to merge 4 commits into
AmigaPorts:mainfrom
Vairn:Fix-Hires
Open

Fix hires buffers and showcase demos#277
Vairn wants to merge 4 commits into
AmigaPorts:mainfrom
Vairn:Fix-Hires

Conversation

@Vairn

@Vairn Vairn commented May 25, 2026

Copy link
Copy Markdown
Collaborator

Description

Fix Hires screen issues, as shown in showcase.
Attempted to fix Reusable Buffer example, couldn't replicate but tightened up the demo.

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

if(
(pManager->ubFlags & SCROLLBUFFER_FLAG_OWN_BACK) &&
pManager->pBack && pManager->pBack != pManager->pFront
pManager->pBack && (!isOwnFront || pManager->pBack != pManager->pFront)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this code is a bit cryptic here - just checking for OWN_BACK and non-same buffers should be enough

Comment thread src/ace/utils/extview.c
g_pCustom->bplcon3 = 0; // AGA fix
#endif
if(pView->pFirstVPort->eFlags & VP_FLAG_HIRES) {
g_pCustom->bplcon0 |= BV(15);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this won't work, bplcon0 is write-only

tCopBlock *pBlock = pManager->pCopBlock;
pBlock->uwCurrCount = 0; // Rewind to beginning
if(ubHiresCop) {
copMove(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't like conditional length of the copperlist when the fn for getting cop length isn't conditional.

Also, why's that only for simplebuffer and only for block mode?

@kwn

kwn commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Hey @tehKaiN and @Vairn

I fixed HiRes buffers in #280. You can consider removing the HiRes fix related code from this PR.

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