From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Pietro Gagliardi Subject: Re: [9fans] How to read/write pixels from Memimage Date: Sun, 27 Jan 2008 14:14:29 -0500 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 3a42c06e-ead3-11e9-9d60-3106f5b1d025 Well I just found it, and I couldn't believe it. I'm going to look at Gerard's original source for the VAX and see what he does on divide by zero. On Jan 27, 2008, at 1:05 PM, Skip Tavakkolian wrote: >> The code led me to confusion, so I just decided to use wordaddr. It >> works properly now, and my Pico is now up at /n/sources/contrib/ >> pietro/pico9.tgz (note the 9). Details are in README.Plan9, test >> files are in /lib/face/. > > some book examples are failing: > > cpu% 8.out > 1: new[x,y] = x % y > 8.out 181613: suicide: sys: trap: divide error pc=0x000023fd >