1
0
mirror of https://github.com/weiju/amiga-stuff synced 2025-12-08 14:58:33 +00:00

hardware: clean out main modules

made the init_display() and reset_display() functions
more indepenent from their callers
This commit is contained in:
Wei-ju Wu
2016-09-21 21:19:59 -07:00
parent ffe2349c08
commit b31f5a40aa
5 changed files with 13 additions and 44 deletions

View File

@ -50,8 +50,8 @@
#define COP_MOVE(addr, data) addr, data
#define COP_WAIT_END 0xffff, 0xfffe
extern BOOL init_display(UWORD lib_version);
extern void reset_display(struct View *current_view, UWORD lib_version);
extern BOOL init_display(void);
extern void reset_display(void);
// VBCC Inline assembly
void waitmouse(void) = "waitmouse:\n\tbtst\t#6,$bfe001\n\tbne\twaitmouse";