Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!well!gurgle From: gurgle@well.sf.ca.us (Pete Gontier) Newsgroups: comp.sys.mac.programmer Subject: MemErr and SetGrowZone on IIci Message-ID: <22228@well.sf.ca.us> Date: 18 Dec 90 03:38:20 GMT Organization: cellular Lines: 17 In article <1CE00001.66qcvx@tbomb.ice.com> time@tbomb.ice.com writes: >I am implementing the trap call in Assembler, and Inside Mac Vol II >page 42 clearly states that d0 returns a result code. However, I did >not make the logical leap to see that the Pascal call (shown just >above the assembler comment :) was a procedure. In (thinly) related news, we spent hours trying to track down the misbehavior of the low memory global MemErr after a call to SetGrowZone. We had in MacsBug, the instruction 'TST.W MemErr' listed. We'd do a 'dw MemErr' and get an error code we'd never seen before and wasn't listed anywhere. After single-stepping the TST, we'd do another 'dw MemErr' and it would turn out to have CHANGED to 0. We finally decided that on the IIci, there was something wrong with the MMU, because this behavior did not appear on other machines. Anybody ever seen or heard of anything like this? -- Pete Gontier, gurgle@well.sf.ca.us Software Imagineer, Kiwi Software, Inc.