[Vm-dev] VM Maker: VMMaker.oscog-tfel.1682.mcz
commits at source.squeak.org
commits at source.squeak.org
Wed Feb 17 13:01:58 UTC 2016
Tim Felgentreff uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-tfel.1682.mcz
==================== Summary ====================
Name: VMMaker.oscog-tfel.1682
Author: tfel
Time: 17 February 2016, 2:00:34.166899 pm
UUID: be3fb4eb-3718-4bc1-b161-b3eab7e8d58e
Ancestors: VMMaker.oscog-tfel.1681
fix BitBlt simulation to go through primitiveCopyBits primitive.
=============== Diff against VMMaker.oscog-tfel.1681 ===============
Item was changed:
----- Method: BitBltSimulation class>>copyBitsFrom: (in category 'system simulation') -----
copyBitsFrom: aBitBlt
"Simulate the copyBits primitive"
| proxy bb |
proxy := InterpreterProxy new.
proxy loadStackFrom: thisContext sender home.
bb := self simulatorClass new.
bb initialiseModule.
bb setInterpreter: proxy.
proxy success: (bb loadBitBltFrom: aBitBlt).
+ bb primitiveCopyBits.
+ ^ proxy stackValue: 0!
- bb copyBits.
- proxy failed ifFalse:[
- proxy showDisplayBits: aBitBlt destForm Left: bb affectedLeft Top: bb affectedTop Right: bb affectedRight Bottom: bb affectedBottom].
- ^proxy stackValue: 0!
More information about the Vm-dev
mailing list