<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi all,<div><br></div><div>I was trying to run Cuis on SqueakJS for fun. The spur images need some prims that SqueakJS doesn't have yet, but the v3 image worked. Or almost worked. The Transcript was showing tons of errors which made the system unusable:</div><div><br></div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div><div><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica">HybridCanvas(MorphicCanvas)>>drawWorld:repair:</p></div></div></div><div class="gmail_quote"><div><div><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica">BitBIt >> copyBits failed. Will retry with parameters rounded. Requested parameters are:</p></div></div></div><div class="gmail_quote"><div><div><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica">#('dest, source, halftone, rule:' Form(1512x807×32) nil a Bitmap:1 of length 1 0)</p></div></div></div><div class="gmail_quote"><div><div><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica">#('dest, extent, source, clipOrigin, clipExtent' 523@46 158@280 0@0 0@0 681@326)</p></div></div></div><div class="gmail_quote"><div><div><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica">#('colorMap' a Bitmap:4096 of length 4096)</p></div></div></div><div class="gmail_quote"><div><div><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica">#copyBitsAgain failed. Requested BitBIt operation not performed. Call stack follows:</p></div></div></div><div class="gmail_quote"><div><div><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica">BitBitCanvasEngine(BitBIt)>>copyBitsAgain</p></div></div></div></blockquote><div class="gmail_quote"><div dir="ltr"><div><br></div><div>Turned out the BitBlt failed because some bitmaps were 1 word longer than width*height would require, and my (10 year old) version of BitBlt complained about that, it expected an exact size match.</div><div><br></div><div>I implemented a workaround in my VM which warns about the mismatch but doesn't fail the BitBlt primitive. It works now, try it here 🎉</div><div><br></div><div>    <a href="https://tinyurl.com/cuis6053" target="_blank">https://tinyurl.com/cuis6053</a><br></div><div><br></div><div>Cuis on a phone 😍 although not exactly usable there (you could set highdpi to false in the URL but then the UI gets huge).</div><div><br></div><div><div>But my question is: Was the image wrong or the VM? I've never seen this problem in Squeak images, old or new.</div><div><br></div><div>Vanessa</div></div><div><br></div><div><img src="cid:ii_lo52wxmt1" alt="IMG_0FC5A40A0908-1.jpeg" width="250" height="542"><br></div><div><br></div></div>
</div></div>