20 lines
348 B
C++
20 lines
348 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace zx_ula
|
|
{
|
|
int port_in(int port);
|
|
void port_out(int port, int val);
|
|
|
|
uint8_t get_border_color();
|
|
void set_border_color(uint8_t col);
|
|
uint8_t get_ear();
|
|
void set_ear(const uint8_t val);
|
|
|
|
uint8_t get_sample();
|
|
|
|
void keydown(const char key);
|
|
void keyup(const char key);
|
|
}
|