gipu/cpp/emulator.cpp

26 lines
413 B
C++
Raw Normal View History

2017-05-13 18:36:46 +01:00
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <fstream>
#include "instructions.h"
#include "vm.h"
#include "debug.h"
using namespace std;
int main() {
ifstream vmbytecode;
VM * vm;
uint8_t * data;
/*
if (vmbytecode != NULL) {
fread()
} else {
fprintf(stderr, "Couldn't open bytecode!\n");
return 1;
}
*/
return 0;
}