[Vm-dev] nuSqueak source

Yoshiki Ohshima Yoshiki.Ohshima at acm.org
Sat Oct 24 22:27:13 UTC 2020


I still have not managed to compile the VM from the latest source on
Raspberry Pi 4 yet, I was experimenting from the Squeak side (Thanks Tim).
The bug manifests this way:

https://youtu.be/HUieqOpD2k0

As you can see, nextEventFromQueue is modified to show a keystroke event to
Transcript. I launch the image, enable FCITX, and type one character (あ).
In the normal case, it would show only one question mark in the transcript.
But at some random times, in this movie the second time, the exact same
sequence gives the image two question marks, with the second one having a
bogus key value. (The value changes at random.)

I suspect that the use of malloc() and sizeof in x2sqKeyCompositionInput or
such might be ending up with a wrong alignment or such and a character
becomes two. Worst, it is a bug in X11... Then it'd be harder to fix...

On Sat, Oct 24, 2020 at 1:59 PM Yoshiki Ohshima <Yoshiki.Ohshima at acm.org>
wrote:

> Hi Eliot,
>
> For build.linux64ARMv8/squeak.cog.spur/build.debug, i get the following
> error. I think I followed the steps in the instructions, including running
> updateSCCSVersion and mvm. How can I fix it?
>
> /home/pi/opensmalltalk-vm/spur64src/vm/cogit.c:22:3: error: #error As yet
> no Cogit implementation appears to exist for your platform.
>
>  # error As yet no Cogit implementation appears to exist for your
> platform.
>
>    ^~~~~
>
> /home/pi/opensmalltalk-vm/spur64src/vm/cogit.c:23:3: error: #error
> Consider implementing it, starting by adding a subclass of
> CogAbstractInstruction.
>
>  # error Consider implementing it, starting by adding a subclass of
> CogAbstractInstruction.
>
>    ^~~~~
>
> make[1]: *** [Makefile:207: cogit.o]
>
> On Wed, Oct 21, 2020 at 10:21 AM Eliot Miranda <eliot.miranda at gmail.com>
> wrote:
>
>>
>> Hi Yoshiki,
>>
>> On Wed, Oct 21, 2020 at 10:14 AM Yoshiki Ohshima <Yoshiki.Ohshima at acm.org>
>> wrote:
>>
>>>
>>> Hi,
>>>
>>> I heard that people got a new problem in inputting Japanese text into
>>> Scratch 1.4 running on Raspberry Pi OS after, or around the version
>>> 2020-08-20. I would like to take a look at it but it might involve
>>> recompiling and generating  the VM with debugging info.  Last time I looked
>>> into it was years and years ago and I need to basically make a fresh start.
>>>
>>> Is the process of making NuSqeauk VM For Raspberry Pi up to date and
>>> straightforward? Can people point me to the right point to start?
>>>
>>
>> Making a Cog VM for Raspberry pi is straight-forward.  Clone
>> opensmalltalk-vm.  cd to build.linux64ARMv8, read the HowToBuild, cd to build.linux64ARMv8/squeak.cog.spur/build.debug,
>> or build.linux64ARMv8/squeak.stack.spur/build.debug, then run ./mvm
>>
>> _,,,^..^,,,_
>> best, Eliot
>>
>
>
> --
> -- Yoshiki
>
>

-- 
-- Yoshiki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20201024/d8fa6987/attachment.html>


More information about the Vm-dev mailing list