charlesUnixPro / dps8m-planb

Backup of SourceForge dps8m
4 stars 1 forks source link

Pascal Compiler Problems? #1

Open ibatten opened 8 years ago

ibatten commented 8 years ago

r >user_dir_dir>SysAdmin>Batten 08:00 pascal ex1.pascal Pascal 8.04a r >user_dir_dir>SysAdmin>Batten 08:05 ex1

Error: fault_tag_1 by >user_dir_dir>SysAdmin>Batten>ex1|15 (line 1) referencing !BBBKKqcfQXmZKW.area.linker|40040 (in process dir) Ascii data where pointer expected. r >user_dir_dir>SysAdmin>Batten 08:05 level 2 print ex1.pascal

                ex1.pascal          10/31/16  0806.0 pst Mon

program ex1 (input, output);

begin writeln('Hello World') end.

r >user_dir_dir>SysAdmin>Batten 08:06 level 2

charlesUnixPro commented 8 years ago

On Mon, Oct 31, 2016 at 9:10 AM, ibatten notifications@github.com wrote:

Error: fault_tag_1 by >user_dir_dir>SysAdmin>Batten>ex1|15 (line 1) referencing !BBBKKqcfQXmZKW.area.linker|40040 (in process dir) Ascii data where pointer expected.

Known issue; unclear what the exact nature of the problem is.

My last try at analysis is at http://ringzero.wikidot.com/wiki:cac-2016-07-04

I believe that this is a bug in the emulator; it is expressed here as the Pascal compiler and runtime library are written in Pascal, whereas the bulk of Multics is written in ALM and PL1. The code sequences generated by the Pascal Compiler are different the the sequences generated by the PL1 compiler; the PL1 sequences are well debugged due to the process of getting Multics running, and something that the Pascal compiler is generating is being incorrectly interpreted by the emulator.

This is difficult to debug due to the fact that we lack the source code for the Pascal compiler and runtime library.

-- Charles