Skip to content

Best practice: show frames by pointer, paced by a VERTB counter - #97

Open
slaapliedje wants to merge 1 commit into
ApolloTeam-dev:mainfrom
slaapliedje:best-practice/show-frames-by-pointer
Open

slaapliedje wants to merge 1 commit into
ApolloTeam-dev:mainfrom
slaapliedje:best-practice/show-frames-by-pointer

Conversation

@slaapliedje

Copy link
Copy Markdown

New core/best-practices/show-frames-by-pointer.md: three 64-byte aligned buffers shown by writing $DFF1EC without waiting, paced by a VERTB interrupt server that counts frames and signals the drawing task. Measured in a C++ game at 800x600 RGB565 on Core 12846: 60.0 frames/s, no copy into the P96 bitmap. Also: no torn frame in 240 captured frames with the pointer swapped at random moments, and the VERTB rate follows the chunky mode while exec's VBlankFrequency stays 50.

The technique came to the developer as advice from the Apollo team; it is marked (other) for now. Could the core developer confirm or correct it, so that it can be marked (G)? The server's assembly is the code that runs in the game (assembled bytes compared).

🤖 Generated with Claude Code

https://claude.ai/code/session_01NWALVGtmg35zN3v1pCUHCA

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