mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-22 14:33:51 +00:00
19 lines
281 B
C
19 lines
281 B
C
|
#ifndef _COMMON_H
|
||
|
#define _COMMON_H
|
||
|
|
||
|
#include <c64.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
typedef uint8_t byte;
|
||
|
typedef uint16_t word;
|
||
|
typedef int8_t sbyte;
|
||
|
typedef enum { false, true } bool;
|
||
|
|
||
|
#define COLS 40
|
||
|
#define ROWS 25
|
||
|
|
||
|
void raster_wait(unsigned char line);
|
||
|
void wait_vblank(void);
|
||
|
|
||
|
#endif
|