Sentinel65X-Kernel/include/drivers/vera.h

24 lines
585 B
C

//*****************************************************************************
// Sentinel 65X Kernel
//
// include/drivers/vera.h
//*****************************************************************************
#pragma once
#include <stdint.h>
void vera_init(void);
uint8_t vera_peek(uint32_t addr);
uint16_t vera_peek16(uint32_t addr);
void vera_poke(uint32_t addr, uint8_t value);
void vera_poke16(uint32_t addr, uint16_t value);
void _vera_set_bgcolor(uint8_t color);
#define vera_set_bgcolor(X) _vera_set_bgcolor((X))
#define vera_set_bgcolour(X) _vera_set_bgcolor((X))