about summary refs log tree commit diff stats
path: root/shell/main.mu
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.mu')
-rw-r--r--shell/main.mu5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/main.mu b/shell/main.mu
index e6df31ee..5d5dc987 100644
--- a/shell/main.mu
+++ b/shell/main.mu
@@ -74,7 +74,10 @@ fn store-state data-disk: (addr disk), sandbox: (addr sandbox), globals: (addr g
   }
   var stream-storage: (stream byte 0x200)
   var stream/edi: (addr stream byte) <- address stream-storage
-  write stream, "((sandbox . "
+  write stream, "((globals . "
+  write-globals stream, globals
+  write stream, " )\n"
+  write stream, " (sandbox . "
   write-sandbox stream, sandbox
   write stream, "))"
   store-sector data-disk, 0/lba, stream