public override Opcode Parse(ZorkStream z) { var re = new Call(); re.BranchOffset_1 = 50; return(re); }
private void LoadStoryFile(StoryFile f) { _MemmorySize = f.rawData.Length; Reset(); Memmory = new ZorkStream(f.rawData); //TODO: load header data ProgramCounter = f.Header.ProgramCounter; }
public void Reset() { Memmory = new ZorkStream(new byte[_MemmorySize]); Stack = new byte[_StackSize]; }
public ZorkEngine() { Memmory = new ZorkStream(new byte[_MemmorySize]); Stack = new byte[_StackSize]; }