[Vm-dev] Loading VMMaker
tim Rowledge
tim at rowledge.org
Sat Jul 2 00:05:05 UTC 2016
> On 01-07-2016, at 4:22 PM, Yoshiki Ohshima <Yoshiki.Ohshima at acm.org> wrote:
>
>
> A do it in the workspace:
>
> VMMaker generateConfiguration
>
> lets me generate the code for the VM (I'm getting there.)
>
> What is the suggested way to add a simple external VM plugin, and keep
> regenerating the file for it during the debug process?
There should be at least two Workspaces in your vmmaker image - one labelled ‘Overview’ and the other simply ‘Workspace’.
‘Overview’ has the basic #generateConfiguration etc stuff ready to run as well as (at the end) a useful snippet to generate a list of specific plugins for testing.
If you peek at VMMaker class>>generateSqueakCogVM for example you’ll see one of the simplest possible generate processes and the implementor will get you started on understanding the more complex ones. VMMaker class>>generatePlugins shows a way of generating the plugins (duh). I’m fairly sure a new plugin would need to end up in that list to become part of the normal build.
Given the amazing array of options to provide for it’s unsurprising there are a lot of methods involved. The VMMakerTool hasn’t really kept up with it from some time. Perhaps an interesting project for someone?
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: YVR: Branch to Vancouver
More information about the Vm-dev
mailing list