initial cpu structure :thonk:
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
16
include/emulator.hh
Normal file
16
include/emulator.hh
Normal 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 */
|
@@ -1,6 +0,0 @@
|
||||
#ifndef MATAR_HH
|
||||
#define MATAR_HH
|
||||
|
||||
int run();
|
||||
|
||||
#endif /* MATAR_HH */
|
5
include/meson.build
Normal file
5
include/meson.build
Normal file
@@ -0,0 +1,5 @@
|
||||
headers = files(
|
||||
'emulator.hh'
|
||||
)
|
||||
|
||||
install_headers(headers, subdir: meson.project_name(), preserve_path: true)
|
Reference in New Issue
Block a user