mirror of
https://github.com/weiju/amiga-stuff
synced 2026-09-13 04:01:52 +00:00
outfactored waitmouse() to common.h
This commit is contained in:
@@ -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__ */
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user