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

(WIP) Blitzblit meta-effect #78

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

AltairQ
Copy link

@AltairQ AltairQ commented Feb 23, 2022

No description provided.

@cahirwpz
Copy link
Owner

@AltairQ Please fix Python formatting errors ;-)

static __data_chip u_short bplbuf0[BB_BPR * BB_HEIGHT / 2];
static __data_chip u_short bplbuf1[BB_BPR * BB_HEIGHT / 2];

static BitmapT bitbuf0 = {
Copy link
Owner

Choose a reason for hiding this comment

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

I guess you could use NewBitmap function to achieve the same?


// nonblocking
static void BLITZ_Load(u_short idx) {
(void)idx;
Copy link
Owner

Choose a reason for hiding this comment

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

What was your intent to put idx into function parameters ?

custom->bltalwm = LastWordMask[1];

// SHIFT A MINTERM
custom->bltcon0 = rorw((uint16_t)1, 4) | SRCA | SRCB | SRCC | DEST | (minterm_curr & 0xff);
Copy link
Owner

Choose a reason for hiding this comment

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

Please use ASHIFT and BSHIFT macros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants