From 2c56af2d8f791902f5ff59754c0277eddeb27a3e Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 11 Nov 2020 23:43:04 -0800 Subject: 7227 --- html/apps/raytracing/1.mu.html | 4 ++-- html/apps/raytracing/2.mu.html | 6 +++--- html/apps/raytracing/3.mu.html | 6 +++--- html/apps/raytracing/color.mu.html | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'html/apps/raytracing') diff --git a/html/apps/raytracing/1.mu.html b/html/apps/raytracing/1.mu.html index de84e398..bc5ab657 100644 --- a/html/apps/raytracing/1.mu.html +++ b/html/apps/raytracing/1.mu.html @@ -75,9 +75,9 @@ if ('onhashchange' in window) { 17 { 18 compare i, 0xff 19 break-if-> -20 print-int32-decimal 0, i +20 print-int32-decimal 0, i 21 print-string 0, " " -22 print-int32-decimal 0, j +22 print-int32-decimal 0, j 23 print-string 0, " 64\n" 24 i <- increment 25 loop diff --git a/html/apps/raytracing/2.mu.html b/html/apps/raytracing/2.mu.html index 5bc16803..8e068b01 100644 --- a/html/apps/raytracing/2.mu.html +++ b/html/apps/raytracing/2.mu.html @@ -126,21 +126,21 @@ if ('onhashchange' in window) { 67 var src-addr/eax: (addr float) <- get c, r 68 result <- multiply *src-addr 69 var result-int/edx: int <- convert result -70 print-int32-decimal screen, result-int +70 print-int32-decimal screen, result-int 71 print-string screen, " " 72 # print 255 * c->g 73 src-addr <- get c, g 74 result <- copy xn 75 result <- multiply *src-addr 76 result-int <- convert result -77 print-int32-decimal screen, result-int +77 print-int32-decimal screen, result-int 78 print-string screen, " " 79 # print 255 * c->b 80 src-addr <- get c, b 81 result <- copy xn 82 result <- multiply *src-addr 83 result-int <- convert result -84 print-int32-decimal screen, result-int +84 print-int32-decimal screen, result-int 85 print-string screen, "\n" 86 } diff --git a/html/apps/raytracing/3.mu.html b/html/apps/raytracing/3.mu.html index f090649a..9819e2ba 100644 --- a/html/apps/raytracing/3.mu.html +++ b/html/apps/raytracing/3.mu.html @@ -328,21 +328,21 @@ if ('onhashchange' in window) { 267 var src-addr/eax: (addr float) <- get c, r 268 result <- multiply *src-addr 269 var result-int/edx: int <- truncate result -270 print-int32-decimal screen, result-int +270 print-int32-decimal screen, result-int 271 print-string screen, " " 272 # print 255.999 * c->g 273 src-addr <- get c, g 274 result <- copy xn 275 result <- multiply *src-addr 276 result-int <- truncate result -277 print-int32-decimal screen, result-int +277 print-int32-decimal screen, result-int 278 print-string screen, " " 279 # print 255.999 * c->b 280 src-addr <- get c, b 281 result <- copy xn 282 result <- multiply *src-addr 283 result-int <- truncate result -284 print-int32-decimal screen, result-int +284 print-int32-decimal screen, result-int 285 print-string screen, "\n" 286 } 287 diff --git a/html/apps/raytracing/color.mu.html b/html/apps/raytracing/color.mu.html index b1d90af3..8313b7ec 100644 --- a/html/apps/raytracing/color.mu.html +++ b/html/apps/raytracing/color.mu.html @@ -74,21 +74,21 @@ if ('onhashchange' in window) { 16 var src-addr/eax: (addr float) <- get c, r 17 result <- multiply *src-addr 18 var result-int/edx: int <- truncate result -19 print-int32-decimal screen, result-int +19 print-int32-decimal screen, result-int 20 print-string screen, " " 21 # print 255.999 * c->g 22 src-addr <- get c, g 23 result <- copy xn 24 result <- multiply *src-addr 25 result-int <- truncate result -26 print-int32-decimal screen, result-int +26 print-int32-decimal screen, result-int 27 print-string screen, " " 28 # print 255.999 * c->b 29 src-addr <- get c, b 30 result <- copy xn 31 result <- multiply *src-addr 32 result-int <- truncate result -33 print-int32-decimal screen, result-int +33 print-int32-decimal screen, result-int 34 print-string screen, "\n" 35 } -- cgit 1.4.1-2-gfad0