daver2
10k Member
I have just spent an hour or two reading the programming manual. Time to go and do something less stressful now and come back to it!
I am sure there are some mistakes in some of the example code - either that or I am misunderstanding something...
We need a "hello world" example of retrieving and processing command lines (OUT-, IN- and OPT-) and loading/invoking an overlay don't we?
It looks like the command decoder (.CD.) is relocatable and can, therefore, be loaded anywhere (by the invoking program) and that an 'overlay' is invoked by loading (and executing) the "MON 1 CALL" block. However, the annoyance, is that this block is dependent upon whether the system device is a disk or a tape (block 10 (octal) for disk and block 13 (octal) for tape).
As a result of using the CALL interface, it would appear that overlays have to be 'named' files on the disk/tape media and have a fixed load/execute address. I think this is a little limiting. I wonder if there is a more 'generalised' overlay controller somewhere? I have had a quick look through the DECUS software listings but I have not found anything as yet.
Dave
I am sure there are some mistakes in some of the example code - either that or I am misunderstanding something...
We need a "hello world" example of retrieving and processing command lines (OUT-, IN- and OPT-) and loading/invoking an overlay don't we?
It looks like the command decoder (.CD.) is relocatable and can, therefore, be loaded anywhere (by the invoking program) and that an 'overlay' is invoked by loading (and executing) the "MON 1 CALL" block. However, the annoyance, is that this block is dependent upon whether the system device is a disk or a tape (block 10 (octal) for disk and block 13 (octal) for tape).
As a result of using the CALL interface, it would appear that overlays have to be 'named' files on the disk/tape media and have a fixed load/execute address. I think this is a little limiting. I wonder if there is a more 'generalised' overlay controller somewhere? I have had a quick look through the DECUS software listings but I have not found anything as yet.
Dave