- [NEW] mòdul zx_system per a gestionar la vida i canvi de systemes (48K, 128K...)
20 lines
412 B
C++
20 lines
412 B
C++
#pragma once
|
|
#include <stdint.h>
|
|
|
|
#define ZX_NOCHANGE 0x00
|
|
#define ZX_48K 0x01
|
|
#define ZX_128K 0x02
|
|
#define ZX_2A_3 0x03
|
|
#define ZX_NEXT 0x04
|
|
|
|
namespace zx_system
|
|
{
|
|
int init(const uint8_t mode);
|
|
void reset(const uint8_t mode);
|
|
void shutdown();
|
|
const bool shuttingDown();
|
|
|
|
void registerUpdatable(void(*callback)(uint32_t));
|
|
void update(uint32_t dt);
|
|
}
|