[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Wed, 9 Mar 2005 21:17:30 +0000 (UTC) 
Subject:more on AMD64 version of poplog 
From:A . Sloman 
Volume-ID: 

I wrote:

> I've just noticed that 64bit Eliza does not work.

I've tracked this down to random not working on integers, though
it seems to be OK on floats.

E.g. in AMD64 poplog:

 random(10) =>
 ** 25827348580

I suspect it's going to be a simple fix for someone who understands
how random works.

I've also had a chance to check out some of the behaviour of X
facilities in RCLIB (all based on Xpw). It turns out that most
things work, but not all.

E.g. some of the action buttons in TEACH rc_control_panel, which depend
on button-up events don't work, though most other things seem to be OK,
e.g. sliders, dials, toggle buttons.

It may be that some of the C code in $usepop/pop/x/Xpw needs to be
modified for 64-bit Opteron, or some of the pop11 code for invoking
C code and testing results.

I have found that the call of

    exacc ^int data -> data; ;;; button number. positive if pressed

in rclib/lib/rc_mousepic.p returns 1073741823 instead of -1, when
mouse button 1 is released.

When I have time I'll try to check whether there's anything there that
was changed in Alpha+Unix poplog, which worked on 64 bit machines --
unless someone else investigates.

Aaron