cool-bun-demo/system.h

22 lines
589 B
C
Raw Normal View History

2024-05-02 16:52:06 +00:00
#ifndef __SYSTEM_H__
#define __SYSTEM_H__
#include "types.h"
#include "screen.h"
// this needs to be kept in sync with the XDEFs in system.s
// copperlist
extern void initializeCopperlist(void *copperlist);
extern uint16_t* endCopperlist(uint16_t *copperlist);
extern uint16_t* addDisplayToCopperlist(uint16_t *copperlist, struct ScreenSetup *);
extern uint16_t* addColorsToCopperlist(uint16_t *copperlist, color_t[], int count);
extern void takeOverSystem(void);
extern void giveBackSystem(void);
extern void setUpDisplay(struct ScreenSetup *);
extern void myWaitBlit(void);
#endif