Hi Roland, the function vm_main_with_parameters() starts the vm and it will not return until the image finishes. In my example, only when the SDL window is closed, the quit primitive is executed and the function ends.
To do a nicer POC we need to make modifications in the image, so it handles keeping the image open. On Wed, Jan 22, 2020 at 7:08 PM Roland Plüss via Pharo-users <pharo-users@lists.pharo.org> wrote: > > I gave the C-Example repository a try but I don't fully understand how > it works. Does the vm_main_with_parameters() block until the VM is quit > or some function it runs? From looking at the source code I'm not sure > what it does. > > On 1/22/20 12:17 PM, Pierce Ng wrote: > > On Wed, Jan 22, 2020 at 11:04:07AM +0100, teso...@gmail.com wrote: > >> nice to hear about the Pascal experiment, > > I've published my code on GH and sent an announcement to pharo-dev. > > > > Repo is https://github.com/PierceNg/pharo-vm-embedded-pascal > > > > Pierce > > > > > > -- > Yours sincerely > Plüss Roland > > Leader and Head Programmer > - Game: Epsylon ( http://www.indiedb.com/games/epsylon ) > - Game Engine: Drag[en]gine ( http://www.indiedb.com/engines/dragengine > , http://dragengine.rptd.ch/wiki ) > - As well as various Blender export scripts und game tools > -- Pablo Tesone. teso...@gmail.com