MediaWiki:Blocklogtext
From askoh.net wiki
Contents |
MethodContext & BlockContext
Index | MethodContext | BlockContext |
---|---|---|
0 1 | Sender InstructionPointer | Caller InstructionPointer |
Object Header
CompiledMethod Header
header |
---|
literal frame
... |
bytecodes
... ... |
Special Objects
0.NilObject 1.FalseObject 2.TrueObject 3.SchedulerAssociation 4.ClassBitmap 5.ClassInteger 6.ClassString 7.ClassArray 8."SmalltalkDictionary" "Do not delete!" 9.ClassFloat 10.ClassMethodContext 11.ClassBlockContext 12.ClassPoint 13.ClassLargePositiveInteger 14.TheDisplay 15.ClassMessage 16.ClassCompiledMethod 17.TheLowSpaceSemaphore 18.ClassSemaphore 19.ClassCharacter 20.SelectorDoesNotUnderstand 21.SelectorCannotReturn 22.ProcessSignalingLowSpace "was TheInputSemaphore" 23.SpecialSelectors 24.CharacterTable 25.SelectorMustBeBoolean 26.ClassByteArray 27.ClassProcess 28.CompactClasses 29.TheTimerSemaphore 30.TheInterruptSemaphore 34.SelectorCannotInterpret 35.MethodContextProto 37.BlockContextProto 38.ExternalObjectsArray 39.ClassPseudoContext 40.ClassTranslatedMethod 41.TheFinalizationSemaphore 42.ClassLargeNegativeInteger 43.ClassExternalAddress 44.ClassExternalStructure 45.ClassExternalData 46.ClassExternalFunction 47.ClassExternalLibrary 48.SelectorAboutToReturn 49.SelectorRunWithIn
Interpreter Simulator
- Download Squeak 3.9.1-full and SqueakVM 3.9.2. One with the image, and the other with Squeak.exe.
- Extract them into directory of your choice. Make sure image file and Squeak.exe are in same directory.
- Download four ChangeSets into current directory. (to correct interpreterSimulator)
- Open up Squeak.exe with image Squeak3.9.1-final-7075.image
- Load VMMaker package with SqueakMap Package Loader, find VMMaker and install. Click yes or proceed on any warning.
- Open File List, and find for the four ChangeSet files (*.cs). File in each of them.
- Open a workspace, write the following and doit.
ObjectMemory initializeWithBytesToWord: Smalltalk wordSize
- Change the desktop color to something different.
- Save image as simulator.image.
- Copy the following, doit in workspace.
(InterpreterSimulator new openOn: 'Squeak3.9.1-final-7075.image') test
- Wait with patient until interpreterSimulator shows up with image chosen.