22 lines
397 B
C++
22 lines
397 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();
|
|
uint8_t get_ear();
|
|
void set_ear(const uint8_t val);
|
|
|
|
void sound_init();
|
|
void sound_enable();
|
|
void sound_disable();
|
|
void sound_update(const uint8_t dt);
|
|
|
|
void keydown(const char key);
|
|
void keyup(const char key);
|
|
}
|