momiji

m68k emulator infrastructure

About Source code

Table of contents

newState

MISSING HEADER

Creates a new state


std::optional newState(const std::string& str) (1)
void newState(momiji::ExecutableMemory binary) (2)
  1. Tries to parse the string and, if successful, creates a new System state
    Parameters:
    • const std::string& str : The string to parse
    Returns: An optional containing the parsing error, else an empty optional
  2. Reads a raw, compiled, program and creates a new system state with the executable memory set to that of the provided binary. No checking is done for the correctness of the binary
    Parameters:
    • ExecutableMemory binary : The raw executable memory to read