Monday, February 11, 2019

INPUTEXP

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

INPUTEXP is a program that appears on page 43 of the book Pascal Primer by David Fox and Mitchell Waite. It demonstrates inputting a single character using both the READLN and READ statements. The program has been ported from UCSD Pascal for the Apple II to the Atari Pascal Language System for the Atari 8-bit computers.

I'm using the Altirra 3.10 Atari 8-bit emulator. I'm editing the code using AtariWriter 80 (AtariWriter80_b_XE-working.ATR). Note that if you use AtariWriter to edited your source code, you will need to use CONTROL+S to save your file in straight ASCII rather than the SAVE Menu option which includes some AtariWriter header info. I'm compiling, linking, running the program using the Atari Pascal Language System.

The link command looks like:

LINKER V1.0
*D2:INPUTEXP,PASLIB/S

When you run the program, it looks like:


No comments:

Post a Comment