2024-09-16 20:52:18 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
class Assigner {
|
2024-09-17 19:28:50 +00:00
|
|
|
public:
|
2024-09-16 20:52:18 +00:00
|
|
|
uint8_t ram[256];
|
2024-09-17 19:28:50 +00:00
|
|
|
uint16_t a = 0, b = 0, c = 0, eal = 0, eah = 0;
|
2024-09-16 20:52:18 +00:00
|
|
|
uint32_t bc, de, hl, ea = 0;
|
|
|
|
|
|
|
|
void noteOn();
|
2024-09-17 09:21:02 +00:00
|
|
|
void voiceOn();
|
|
|
|
void resetVoices();
|
2024-09-17 19:28:50 +00:00
|
|
|
// void clearNotes();
|
|
|
|
//void assignNote();
|
2024-09-16 20:52:18 +00:00
|
|
|
|
|
|
|
};
|