Wednesday, February 6, 2019

TESTROL

Table of Contents ] [ List of Example Programs ] [ TESTROL Disk Image ]

The TESTROL program is from MT MicroSYSTEMS Atari Pascal Documentation v0.0. It reads a text file (D2:ERRORS.TXT) from disk line by line and displays it on screen. As expected, this reads the file much faster than the char by char program.

The ERRORS.TXT file must be copied from the Atari Pascal Language System disk #1 to the disk that contains the TESTROL program.

The TESTROL program required some tweaks to getting working with the released version of the Atari Pascal Language System.

All work done on Altirra 3.10. The source code was created and edited with AtariWriter8. I compiled, linked, and ran the TESTROL program from the APLS Monitor.

I left this program in all upper case. Atari Pascal programs are case insensitive.

I added a WRITE(CHR(125)) at the beginning of the program to clear the screen. I also added a READLN(S) toward the end to keep to program from ending and return to the Atari DOS 2.0S menu.


The program was linked as follows:

LINKER V1.0
*D2:TESTROL.ERL,PASLIB/S

The program was run by selecting (R)un from the Atari Pascal Monitor and entering:
D2:TESTROL.COM




No comments:

Post a Comment