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 e89a0906..cb3c75b9 100644
--- a/shell/main.mu
+++ b/shell/main.mu
@@ -10,7 +10,10 @@ fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
   initialize-sandbox sandbox, 1/with-screen
   load-state data-disk, sandbox, globals
   $main:loop: {
-    render-globals screen, globals, 0/x, 0/y, 0x55/xmax, 0x2f/screen-height-without-menu
+    # globals layout: 1 char padding, 41 code, 1 padding, 41 code, 1 padding =  85
+    # sandbox layout: 1 padding, 41 code, 1 padding                          =  43
+    #                                                                  total = 128 chars
+    render-globals screen, globals
     render-sandbox screen, sandbox, 0x56/sandbox-left-margin, 1/y, 0x80/screen-width, 0x2f/screen-height-without-menu
     {
       var key/eax: byte <- read-key keyboard