initial cpu structure :thonk:

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-08-27 21:40:55 +05:30
parent ad64b1e8d1
commit 84c68a4e00
20 changed files with 449 additions and 42 deletions

16
include/emulator.hh Normal file
View File

@@ -0,0 +1,16 @@
#ifndef EMULATOR_HH
#define EMULATOR_HH
// Why do I have a public API? We will know that in the future
#include <string>
namespace emulator {
void
run(std::string filepath);
void
run(std::ifstream& ifile);
}
#endif /* EMULATOR_HH */

View File

@@ -1,6 +0,0 @@
#ifndef MATAR_HH
#define MATAR_HH
int run();
#endif /* MATAR_HH */

5
include/meson.build Normal file
View File

@@ -0,0 +1,5 @@
headers = files(
'emulator.hh'
)
install_headers(headers, subdir: meson.project_name(), preserve_path: true)