This page (revision-10) was last changed on 03-Feb-2023 15:25 by Roland B. Wassenberg 

This page was created on 03-Apr-2010 07:07 by Carsten Strotmann

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
10 03-Feb-2023 15:25 66 KB Roland B. Wassenberg to previous
9 13-Aug-2017 20:39 65 KB Roland B. Wassenberg to previous | to last
8 17-Mar-2014 00:03 65 KB Roland B. Wassenberg to previous | to last
7 03-Apr-2010 07:28 65 KB Carsten Strotmann to previous | to last
6 03-Apr-2010 07:27 65 KB Carsten Strotmann to previous | to last
5 03-Apr-2010 07:21 18 KB Carsten Strotmann to previous | to last
4 03-Apr-2010 07:18 16 KB Carsten Strotmann to previous | to last
3 03-Apr-2010 07:13 9 KB Carsten Strotmann to previous | to last
2 03-Apr-2010 07:07 4 KB Carsten Strotmann to previous | to last
1 03-Apr-2010 07:07 4 KB Carsten Strotmann to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 54 added 115 lines
!! Introduction
Draper Software welcomes you to the world of Pascal for the Atari 400/800, XL, and XE series Computer systems.
! What is Pascal?
Pascal is a high-level structured programming language developed by Niklaus Wirth in 1971. It is easy to understand and well suited for program development and maintenance.
!What is Draper Pascal?
Draper Pascal is not a "standard" Pascal. It has a number of commands which are exactly like ISO and UCSD versions, some which are similar, and many "extensions" which bring out the true power of the Atari computer in an easy to use manner. It was designed to require only one disk drive for operation, but not be limited to only one. At this time, it has been shown to work with all hardware and software configurations where enough memory is provided. This implementation also has a number of commands which are familiar to Atari BASIC users, such as POKE, PEEK, SETCOLOR, NOTE, POINT, etc..
!About this manual
This manual is intended to familiarize you with all the features of Draper Pascal. It is not intended to teach you how to program in Pascal. However, if you already know Atari BASIC, then you can understand the Pascal statements more easily by referring to their BASIC equivalents shown after the definition of each Pascal reserved word in the complete manual provided to registered users. It is recommended that you read this manual completely to be familiarized with its features and restrictions.
!What is Draper Pascal made of?
This implementation of Pascal is made up of three main components. They are the Supervisor (sometimes referred to as runtime routines), the Compiler, and the Editor. The Supervisor is a high performance machine language program which simulates a 16-bit pseudo computer. The Compiler translates Pascal source code into pseudo-code instructions to be executed by the Supervisor. The Editor is used to enter and modify Pascal source programs. It may also be used to edit data files, or BASIC programs which have been LISTed to a disk or tape. These components are explained in detail within this manual.
For a description of the various files included on the supplied diskette, refer to the 'System Information' section.
!About the DOS
Draper Pascal can be used with most popular Disk Operating Systems. It has been tested with Atari DOS 2.5, SpartaDOS 3.2d, and MYDOS. You should format a diskette with DOS on it to contain the Draper Pascal system. Since the Draper Pascal Supervisor is named AUTORUN.SYS, it will execute immediately after the disk is booted. For XL and XE computers, you do not need to hold down the Option key while booting unless you are using SpartaDOS. If using SpartaDOS, you may want to rename AUTORUN.SYS to PASCAL.COM and create a STARTUP.BAT file containing the following two lines:
{{{
BASIC OFF
PASCAL
}}}
This documentation file is not required to be on that same diskette.
!Ramdisk support
Draper Pascal supports the use of the "Ramdisk" capability provided by using a DOS that supports a ramdisk like Atari DOS 2.5 or SpartaDOS 3.x with an Atari computer system having sufficient memory to support the ramdisk. While using this feature, the Editor takes less than two seconds to load and the Compiler takes less than three seconds. Details on setup and use of this feature are provided in the complete manual provided to registered users.
!! Getting Started
This section is intended to show by example how to use the Draper Pascal system. You will edit, compile, and run a sample program. Information displayed by the computer is shown in normal type while responses to be entered by you are shown underlined with dashes (---). To begin with, make sure you have 48K RAM installed and no cartridge in place. Boot the disk now by placing it in disk drive 1 and turning on the power to the Atari computer. After the Supervisor has finished loading, you will see a screen that looks like this:
{{{
DRAPER PASCAL
1 - Run Program
2 - Disk Directory
3 - Compile Program
4 - Edit a Program
5 - Exit to DOS
6 - List a file
7 - Trace on
}}}
{{{
DRAPER SOFTWARE
EDITOR
A - Add line(s) at end
C - Change line(s)
D - Delete line(s)
E - Edit a line
F - Filer menu
I - Insert before line
L - List line(s)
M - Menu
P - Print line(s)
Q - Quit
S - Scan line(s)
X - Exit to Compiler
A,C,D,E,F,I,L,M,P,Q,S,X,?->F Select Filer menu
-
}}}
{{{
A - Append file
D - Directory list
L - Load file
S - Save file
L Load a file
-
}}}
{{{
Enter filename -> SAMPLE1 Enter the name of the file
------- to be loaded. The name of
the last file edited,
compiled, or run will be
filled in by the Editor.
You may have to overtype
it with the name shown.
}}}
{{{
A,C,D,E,F,I,L,M,P,Q,S,X,?->L List the file on the
- screen
Line from -> Just press RETURN for
- 'Line from' and 'Line to'.
Line to -> This will give a list of
- the entire program in
memory.
}}}