about summary refs log tree commit diff stats
path: root/baremetal
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-02-24 10:50:35 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-02-24 10:50:35 -0800
commitabf3eb86b69af9d5d2be1d1f4f8f36f785f9a5be (patch)
tree0e35c6eb693bdc1b7faae7439fe29d7bbed72c06 /baremetal
parent4eb50e412b43362d7ea094ebe9c2f43c190d5d7f (diff)
downloadmu-abf3eb86b69af9d5d2be1d1f4f8f36f785f9a5be.tar.gz
7799
Diffstat (limited to 'baremetal')
-rw-r--r--baremetal/shell/trace.mu18
1 files changed, 9 insertions, 9 deletions
diff --git a/baremetal/shell/trace.mu b/baremetal/shell/trace.mu
index 372a2f19..241ce095 100644
--- a/baremetal/shell/trace.mu
+++ b/baremetal/shell/trace.mu
@@ -176,7 +176,7 @@ fn test-render-trace-empty {
   # setup: screen
   var screen-on-stack: screen
   var screen/edi: (addr screen) <- address screen-on-stack
-  initialize-screen screen, 5, 4
+  initialize-screen screen, 5/width, 4/height
   #
   var y/ecx: int <- render-trace screen, t, 0/xmin, 0/ymin, 5/xmax, 4/ymax, 0/no-cursor
   #
@@ -192,7 +192,7 @@ fn test-render-trace-collapsed-by-default {
   # setup: screen
   var screen-on-stack: screen
   var screen/edi: (addr screen) <- address screen-on-stack
-  initialize-screen screen, 5, 4
+  initialize-screen screen, 5/width, 4/height
   #
   var y/ecx: int <- render-trace screen, t, 0/xmin, 0/ymin, 5/xmax, 4/ymax, 0/no-cursor
   #
@@ -208,7 +208,7 @@ fn test-render-trace-error {
   # setup: screen
   var screen-on-stack: screen
   var screen/edi: (addr screen) <- address screen-on-stack
-  initialize-screen screen, 0xa, 4
+  initialize-screen screen, 0xa/width, 4/height
   #
   var y/ecx: int <- render-trace screen, t, 0/xmin, 0/ymin, 0xa/xmax, 4/ymax, 0/no-cursor
   #
@@ -226,7 +226,7 @@ fn test-render-trace-error-at-start {
   # setup: screen
   var screen-on-stack: screen
   var screen/edi: (addr screen) <- address screen-on-stack
-  initialize-screen screen, 0xa, 4
+  initialize-screen screen, 0xa/width, 4/height
   #
   var y/ecx: int <- render-trace screen, t, 0/xmin, 0/ymin, 0xa/xmax, 4/ymax, 0/no-cursor
   #
@@ -245,7 +245,7 @@ fn test-render-trace-error-at-end {
   # setup: screen
   var screen-on-stack: screen
   var screen/edi: (addr screen) <- address screen-on-stack
-  initialize-screen screen, 0xa, 4
+  initialize-screen screen, 0xa/width, 4/height
   #
   var y/ecx: int <- render-trace screen, t, 0/xmin, 0/ymin, 0xa/xmax, 4/ymax, 0/no-cursor
   #
@@ -265,7 +265,7 @@ fn test-render-trace-error-in-the-middle {
   # setup: screen
   var screen-on-stack: screen
   var screen/edi: (addr screen) <- address screen-on-stack
-  initialize-screen screen, 0xa, 4
+  initialize-screen screen, 0xa/width, 4/height
   #
   var y/ecx: int <- render-trace screen, t, 0/xmin, 0/ymin, 0xa/xmax, 4/ymax, 0/no-cursor
   #
@@ -286,7 +286,7 @@ fn test-render-trace-cursor-in-single-line {
   # setup: screen
   var screen-on-stack: screen
   var screen/edi: (addr screen) <- address screen-on-stack
-  initialize-screen screen, 0xa, 4
+  initialize-screen screen, 0xa/width, 4/height
   #
   var y/ecx: int <- render-trace screen, t, 0/xmin, 0/ymin, 0xa/xmax, 4/ymax, 1/show-cursor
   #
@@ -346,7 +346,7 @@ fn test-cursor-down-and-up-within-trace {
   # setup: screen
   var screen-on-stack: screen
   var screen/edi: (addr screen) <- address screen-on-stack
-  initialize-screen screen, 0xa, 4
+  initialize-screen screen, 0xa/width, 4/height
   #
   var y/ecx: int <- render-trace screen, t, 0/xmin, 0/ymin, 0xa/xmax, 4/ymax, 1/show-cursor
   #
@@ -389,7 +389,7 @@ fn test-cursor-down-past-bottom-of-trace {
   # setup: screen
   var screen-on-stack: screen
   var screen/edi: (addr screen) <- address screen-on-stack
-  initialize-screen screen, 0xa, 4
+  initialize-screen screen, 0xa/width, 4/height
   #
   var y/ecx: int <- render-trace screen, t, 0/xmin, 0/ymin, 0xa/xmax, 4/ymax, 1/show-cursor
   #