Amiga Modula-2 known bugs for release 1.01A as of 4/23/86 -------------------------------------------------------------------------- We expect to release a bug fix in May which should include the following new features: smart linker with optional pass to remove uncalled procedures, directory search paths, RealInOut, LongInOut, User selectable heap size, and more. -------------------------------------------------------------------------- The WriteCard, WriteOct, and WriteHex syntax on page 36 is incorrect. Each must have a length parameter of n: CARDINAL. -------------------------------------------------------------------------- These files are corrupted, you cannot IMPORT them. The lnk files are ok. AMIGAX.sym CIAHardware.sym CustomHardware.sym -------------------------------------------------------------------------- BUGS IN STREAMS MODULE: (corrected version on DL9 of Compuserve pcs-61) For some procedures, the Stream parameter sent as value parameter and not as VAR parameter so it doesn't return EOF or anything else. This must be changed in Streams.mod and Streams.def. In some routines Streams.res and Streams.eof may not have been set TRUE or FALSE and would have returned whatever value was already there. All "Seek's" had the position & mode parameters reversed. Endpos would not be determined correctly. SetPos would not detect eof correctly. You must recompile Streams.def first, then recompile Streams.mod. Please realize that any modules that were compiled using the old Streams.sym file produced by compiling Streams.def will have a version conflict upon linking. Our May bug fix will correct this. -------------------------------------------------------------------------- BUGS IN INOUT MODULE: (corrected version on DL9 of Compuserve pcs-61) OpenInput, OpenInputFile, OpenOutput, OpenOutputFile would not return correct value of Done. Read and ReadString would not return the correct value of Done. This was due to a problem in Streams.mod. (fixed) Recompile Streams.def first to get Streams.sym. Then compile Streams.mod to get Streams.lnk. DO NOT recompile InOut.def. ONLY recompile InOut.mod to get a new link file or you will have module version problems with any lnk file that uses the old version of InOut. -------------------------------------------------------------------------- Linker will crash system due to some sort of sensitivity with the file name. When file is compiled as t.mod and tried to link it, linker crashed system. When name is changed to test.mod it linked ok. Strange bug. -------------------------------------------------------------------------- Tasks.Wait and Ports.GetMsg don't work, IMPORT them from Fixes module available on pcs-61 Compuserve DL9. -------------------------------------------------------------------------- AMIGAX.DEF has CONST absExebBase = 4 instead of absExecBase = 4 -------------------------------------------------------------------------- Please note that NIL is not the same as ADDRESS (0). Use CONST NULL = ADDRESS (0); instead. -------------------------------------------------------------------------- On page 327 of manual, some more routines are listed that are not in main index. -------------------------------------------------------------------------- The manual states that the error lister will be automatically invoked upon an error. This is not currently the case. The compiler and linker will be modified in the future to return error codes so that an EXECUTE command could easily perform this function. -------------------------------------------------------------------------- DOSProcessHandler.Exit (0) hangs or blows up machine -------------------------------------------------------------------------- CommandLine.GetCL does not return the first argument. If the commandline is "link dog cat" then argc = 2, argv[0] = dog, and argv[1] = cat. -------------------------------------------------------------------------- InOut. OpenInputFile will return Done = TRUE for all cases. Fix should be on DL9. ---------------------------------------------------------------------- CloseWindow is a procedure from Windows module and also an IDCMPFlag. To avoid name conflict problem, IMPORT Windows so that references to Windows.CloseWindow are qualified. If you wish to use other procedures inside of Windows unqualified, you may IMPORT each of them in a previous statement. The IDCMPFlag name will be changed to CloseWindowFlag in the next release. ---------------------------------------------------------------------- HALT statement crashes Amiga. ---------------------------------------------------------------------- OnMenu call not implemented. ---------------------------------------------------------------------- Terminal.BusyRead always returns 0C. ---------------------------------------------------------------------- UNVERIFIED: Amiga user reports that DOSFiles.IoErr returns unpredictable results when end- of-file is reached. ----------------------------------------------------------------------