[Vm-dev] simulation in BitBltSimulation

Eliot Miranda eliot.miranda at gmail.com
Sat Mar 15 01:16:49 UTC 2014


Hi Tim,

    I'm simulating bitblt code and have a situation where

(cmShiftTable at: 0) = 4294967280
(cmShiftTable at: 0) hex '16rFFFFFFF0'

Clearly this should be -4.

This breaks simulation because
        (sourcePixel bitAnd: (cmMaskTable at: 0)) bitShift: (cmShiftTable
at: 0)
is trying to make a 4Gb LargePositiveInteger ;-).

How can we make it so?
-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140314/70299b4f/attachment.htm


More information about the Vm-dev mailing list