diff --git a/vm/csharp/Program.cs b/vm/csharp/Program.cs index a4b5467..25cab71 100644 --- a/vm/csharp/Program.cs +++ b/vm/csharp/Program.cs @@ -106,6 +106,7 @@ public static async Task Main(string[] args) DeviceLoader.OnTrace += Console.WriteLine; Module.Boot(); + InternalVMFunctions.Setup(bus); DeviceLoader.AutoGrub(bus.Add); if (AppFlag.GetVariable("REPL")) @@ -140,6 +141,8 @@ public static void InteractiveConstruction(Bus bus) var input = Console.ReadLine(); if (input is null) continue; + if (input == "exit") + return; if (input.StartsWith("0x")) {