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

Mouse cursor #122

Open
thejpster opened this issue Jan 11, 2025 · 0 comments
Open

Mouse cursor #122

thejpster opened this issue Jan 11, 2025 · 0 comments

Comments

@thejpster
Copy link
Member

We might have enough CPU time to paint a single sprite on the screen. Basically if line >= min and <= max, then write a handful of 16 bit RGB words into the scan line we just drew.

The Archimedes had a single sprite which it used for a mouse cursor.

If we want to burn some RAM, we could do a single sprite per scan-line, with a display list per scanline stating which words to write and with what. Would cost 480 pointers (one per line) plus 16 bits per sprite pixel, plus four bytes per active line for the X position and width. Would cost about 3K of RAM.

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

No branches or pull requests

1 participant