Newsgroups: comp.sys.amiga Path: utzoo!utgpu!jarvis.csri.toronto.edu!csri.toronto.edu!sam From: sam@csri.toronto.edu (Sam Weber) Subject: Re: TDI Modula-2/Amiga Message-ID: <8901070111.AA12536@carlton.csri.toronto.edu> Summary: Yet more bugs Keywords: bug city Organization: University of Toronto, CSRI References: <1443@psu-cs.UUCP> Date: Fri, 6 Jan 89 20:11:46 EST In article <1443@psu-cs.UUCP> bartonr@psu-cs.UUCP (Robert Barton) writes: >Some notes on TDI Modula-2/Amiga- > >Finding errors: Version 0.10a of the editor reliably reads the error file and >no longer inserts a bunch of spaces at the beginning of the file being edited. >It displays both text and menu headers incorrectly if the user has chosen the >60-column mode from Preferences, and sets the maximum width of the window to >640 pixels regardless of screen size. > >RAM Disk support: Version 3.01a of the compiler will compile files on the >RAM Disk. > >The definition modules: These are the major remaining source of problems. They >range from minor (ANOPktFail for ANQPktFail, TimerRequest for TimeRequest) to >fatal (CIAB declared at the wrong absolute address, fields missing or reversed >in IntuitionBase, incorrect offsets in CIAType and MemEntry). Yet more problems (with the 3.01a version): I had an integer variable declared, and overflow checking turned on. The variable had value -1. Adding 1 to this variable caused an overflow in integer expression error. Apparently 0 is too large to be represented! (Also note, the same lines at a different part of the program caused no problem, so it probably depends upon what registers the compiler is using at the time) -- --Sam Weber "An Academic speculated whether a bather is beautiful if there is none in the forest to admire her. He hid sam@csri in the bushes to find out, which vitiated his premise but made him happy. Moral: Empiricism is more fun than speculation."