diff --git a/hardware/common.h b/hardware/common.h index ae0bc4f..3a67fa6 100644 --- a/hardware/common.h +++ b/hardware/common.h @@ -53,4 +53,7 @@ extern BOOL init_display(UWORD lib_version); extern void reset_display(struct View *current_view, UWORD lib_version); +// VBCC Inline assembly +void waitmouse(void) = "waitmouse:\n\tbtst\t#6,$bfe001\n\tbne\twaitmouse"; + #endif /* __COMMON_DEFS_H__ */ diff --git a/hardware/playfield1.c b/hardware/playfield1.c index 6eb65e0..19e178e 100644 --- a/hardware/playfield1.c +++ b/hardware/playfield1.c @@ -36,9 +36,6 @@ extern struct Custom custom; extern struct Library *GfxBase; -// VBCC Inline assembly -void waitmouse(void) = "waitmouse:\n\tbtst\t#6,$bfe001\n\tbne\twaitmouse"; - static UWORD __chip coplist[] = { COP_MOVE(BPL1PTH, 0), COP_MOVE(BPL1PTL, 0), diff --git a/hardware/sprites.c b/hardware/sprites.c index 59615df..124c279 100644 --- a/hardware/sprites.c +++ b/hardware/sprites.c @@ -12,9 +12,6 @@ extern struct Custom custom; extern struct Library *GfxBase; -// VBCC Inline assembly -void waitmouse(void) = "waitmouse:\n\tbtst\t#6,$bfe001\n\tbne\twaitmouse"; - static UWORD __chip coplist_pal[] = { COP_MOVE(SPR0PTH, 0x0000), COP_MOVE(SPR0PTL, 0x0000), diff --git a/hardware/startup.c b/hardware/startup.c index 16d50ae..88ccce1 100644 --- a/hardware/startup.c +++ b/hardware/startup.c @@ -23,9 +23,6 @@ extern struct Custom custom; extern struct Library *GfxBase; -// VBCC Inline assembly -void waitmouse(void) = "waitmouse:\n\tbtst\t#6,$bfe001\n\tbne\twaitmouse"; - static UWORD __chip coplist_pal[] = { COP_MOVE(BPLCON0, BPLCON0_COMPOSITE_COLOR), COP_MOVE(COLOR00, 0x000),