Skip to content

(WIP) Blitzblit meta-effect - #78

Open
AltairQ wants to merge 5 commits into
cahirwpz:masterfrom
AltairQ:blitzblit
Open

(WIP) Blitzblit meta-effect#78
AltairQ wants to merge 5 commits into
cahirwpz:masterfrom
AltairQ:blitzblit

Conversation

@AltairQ

@AltairQ AltairQ commented Feb 23, 2022

Copy link
Copy Markdown

No description provided.

@cahirwpz

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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