// boostrap.h // Boostrapping Functions for the SplitBit CPU Emulator // Written by Anachronaut // 10/16/2024 #ifndef BOOTSTRAP_H #define BOOTSTRAP_H #include uint8_t loadFile(const char *path, uint8_t *Program, uint8_t *Data); // The same, from bytes the emulator carries rather than a file it opens. See loadROM. uint8_t loadROM(const unsigned char *bytes, unsigned long length, uint8_t *Program, uint8_t *Data); #endif // BOOTSTRAP_H