MediaWiki:Blocklogtext

From askoh.net wiki

Jump to: navigation, search

Contents

MethodContext & BlockContext

Index MethodContext BlockContext
0

1
2
3
4
5
6

Sender

InstructionPointer
StackPointer
Method
-
Receiver
TempFrameStart

Caller

InstructionPointer
StackPointer
BlockArgumentCount
InitialPointer
HomeContext
-

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

  1. Download Squeak 3.9.1-full and SqueakVM 3.9.2. One with the image, and the other with Squeak.exe.
  2. Extract them into directory of your choice. Make sure image file and Squeak.exe are in same directory.
  3. Download four ChangeSets into current directory. (to correct interpreterSimulator)
    1. InterpreterSimulator-3.9-fixes.1.cs
    2. InterpreterSimulator-fixes.1.cs
    3. InterpreterSimulatorFixes-al.1.cs
    4. InterpreterSimulator-fixes-mtf.1.cs
  4. Open up Squeak.exe with image Squeak3.9.1-final-7075.image
  5. Load VMMaker package with SqueakMap Package Loader, find VMMaker and install. Click yes or proceed on any warning.
  6. Open File List, and find for the four ChangeSet files (*.cs). File in each of them.
  7. Open a workspace, write the following and doit.
    ObjectMemory initializeWithBytesToWord: Smalltalk wordSize
  8. Change the desktop color to something different.
  9. Save image as simulator.image.
  10. Copy the following, doit in workspace.
    (InterpreterSimulator new openOn: 'Squeak3.9.1-final-7075.image') test
  11. Wait with patient until interpreterSimulator shows up with image chosen.
Personal tools
Navigation