CompuServe Messages

Question on ARRAYs

    19-Jun-90 19:44:55
Fm: Steven D. Kapplin 70055,1021
To: Art Steinmetz 76044,3204
Art, Yep, I got the idea. However, combining your idea with the disk swapping not only resolves the 32k limitation, but also provides for dealing with a data file too large to fit in memory. Your code, with minor adaptation, provides the mechanism for reading in parts of a disk file at a time, then paging it back to disk — virtual memory. This has been one of the features lacking in most Amiga programs, that is unless the file can fit in memory it cannot be manipulated. Although building virtual memory into the program is not the most elegant way to resolve this problem, it's necessary until the OS incorporates a virtual memory handler. Even that alone will not do the trick unless the machine has an MMU, a feature only available on the 68020/030 boards. Of course even the disk swapping idea is easier if we didn't need the extra code for handling the large arrays, but that can't be done in Modula-2. I have this sick feeling that I may have to resort to learning C on the Amiga or sticking with Basic to avoid all this extra programming. Either that, or I spend my sabbatical this year trying to become a decent programmer in Modula. By the time I accomplish that, my leave will be over and I will still have an incomplete project! In the long run, I'd be real happy if someone else would write a good stat package for Ami. I'd rather buy one than write one! Steve