1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-06-16 12:29:28 +00:00
8bitworkshop/presets/c64/common.h

23 lines
344 B
C
Raw Normal View History

2020-02-02 18:17:31 +00:00
#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
2022-08-09 14:47:55 +00:00
#define DEFAULT_SCREEN ((void*)0x400)
void raster_wait(byte line);
2020-02-02 18:17:31 +00:00
void wait_vblank(void);
2022-08-09 14:47:55 +00:00
char* get_vic_bank_start(void);
2020-02-02 18:17:31 +00:00
#endif