Files
SecurityEmulator/src/main.cpp

21 lines
348 B
C++
Raw Normal View History

2026-02-04 12:52:42 +01:00
#include <iostream>
#include "Metal.h"
// mov eax, 0xF4
// mov ecx, 0x8000
// add [ecx + 0x0010], eax
2026-02-04 12:52:42 +01:00
uint8_t test[] = {
0xB8, 0xF4, 0x00, 0x00, 0x00,
0xB9, 0x00, 0x80, 0x00, 0x00,
2026-02-04 22:56:38 +01:00
0x01, 0x05, 0x10, 0x80, 0x00, 0x00,
0x00,
2026-02-04 12:52:42 +01:00
};
int main(int argc, char** argv) {
Metal metal;
metal.Upload2Memory(test, 17);
2026-02-04 12:52:42 +01:00
metal.Run();
return 0;
}