outfactored waitmouse() to common.h

This commit is contained in:
Wei-ju Wu 2016-09-21 21:04:12 -07:00
parent 24f4e04928
commit ffe2349c08
4 changed files with 3 additions and 9 deletions

View File

@ -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__ */

View File

@ -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),

View File

@ -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),

View File

@ -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),