codefrau / SqueakJS

A Squeak Smalltalk VM in Javascript
https://squeak.js.org
MIT License
364 stars 75 forks source link

Squeak 6.0 image format unknown #137

Closed codefrau closed 1 year ago

codefrau commented 1 year ago

E.g. https://squeak.js.org/run/#zip=https://files.squeak.org/6.0/Squeak6.0-22101-32bit/Squeak6.0-22101-32bit.zip results in

Error: bad image version

Likely we just need to add the new image format magic numbers. The VM does support Sista V1 bytecodes.

fniephaus commented 1 year ago

Yes, maybe you just need to accept-list the version number of the new image format. Here's how we did this in TruffleSqueak: https://github.com/hpi-swa/trufflesqueak/commit/10388ecf75e394241073bf9caa730a8aa6668769#diff-3e25f263607346c79846a7cf80f602bc8d6d42f8f43cd5c3fdff9d59db31a756R20

improvekit commented 1 year ago

any news on this... I'm testing a new app with Squeak 6.0 and get this error in SqueakJS