Nicolas Cellier uploaded a new version of Cog to project VM Maker:
http://source.squeak.org/VMMaker/Cog-nice.429.mcz==================== Summary ====================
Name: Cog-nice.429
Author: nice
Time: 31 December 2020, 10:08:44.719565 am
UUID: 3b588f4d-7263-43c7-87b9-e3f1d9a7bd85
Ancestors: Cog-eem.428
Enable using a WordArray or other RawBitsArray species as simulation memory.
This implies using byteSize at a few places.
=============== Diff against Cog-eem.428 ===============
Item was changed:
----- Method: CogProcessorAlien>>singleStepIn: (in category 'execution') -----
singleStepIn: aMemory
| result |
+ result := self primitiveSingleStepInMemory: aMemory minimumAddress: 0 readOnlyBelow: aMemory byteSize.
- result := self primitiveSingleStepInMemory: aMemory minimumAddress: 0 readOnlyBelow: aMemory size.
result ~~ self ifTrue:
[self error: 'eek!!']!
Item was changed:
----- Method: MIPSSimulator>>initializeWithMemory: (in category 'as yet unclassified') -----
+ initializeWithMemory: aRawBitsArray
+ memory := aRawBitsArray.
- initializeWithMemory: aByteArray
- memory := aByteArray.
readableBase := 0.
writableBase := 0.
executableBase := 0.
+ readableLimit := memory byteSize.
+ writableLimit := memory byteSize.
+ executableLimit := memory byteSize.!
- readableLimit := memory size.
- writableLimit := memory size.
- executableLimit := memory size.!