Porting to Playstation2.

David Ryan oobles at hotmail.com
Wed Feb 16 01:46:30 UTC 2005


First, thanks Bert, the webcrawler solution worked like a charm. :)  Now the 
fun starts.

The first really basic question about VMMaker.  Should the path to generated 
sources overlap with the platforms code?  Currently I have it pointing to 
another location, but don't understand what gets copied from the platform 
tree.  There seems to be some hidden magic I'm not seeing.

I've setup a new directory with the following structure:

c:\squeak\src\platforms\ps2

\misc\ToCopy
    Makefile
    Makefile.pref
\plugins
     -- nothing here yet --
\vm
    sq.h
    sqConfig.h
    sqNamedPrims.c
    sqPlatformSpecific.c
    sqPlatformSpecific.h
    sqPs2Exports.c
    sqPs2Main.c
    sqVirtualMachine.c
    sqVirtualMachine.h


My makefile and its preferences get copied correctly, but the vm files 
don't.  Should the makefile simply refer back to the source tree, or is 
another technique used?  Once I get this sorted out I will commit the file 
to my CVS so people can see my progress.

So far, with the above files all manually copied to the output directory, 
and all the required functions stubbed out, I can compile an executable.

Thanks,
David.





More information about the Vm-dev mailing list