From 8cff1c04e38787a99b3382055542d967dca420df Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 14 Feb 2021 16:12:47 -0800 Subject: 7745 --- html/baremetal/500text-screen.mu.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/baremetal/500text-screen.mu.html') diff --git a/html/baremetal/500text-screen.mu.html b/html/baremetal/500text-screen.mu.html index 04bd8548..5c1b0944 100644 --- a/html/baremetal/500text-screen.mu.html +++ b/html/baremetal/500text-screen.mu.html @@ -165,9 +165,9 @@ if ('onhashchange' in window) { 107 break-if-< 108 abort "tried to print out of screen bounds" 109 } -110 var height-addr/eax: (addr int) <- get screen, height +110 var width-addr/eax: (addr int) <- get screen, width 111 var result/ecx: int <- copy y -112 result <- multiply *height-addr +112 result <- multiply *width-addr 113 result <- add x 114 return result 115 } -- cgit 1.4.1-2-gfad0