[net.micro.apple] PASCAL on //e

hsplab@ecsvax.UUCP (03/22/84)

I have used the old II+ Pascal on IIe's with the 80 column board.  The
system automatically comes up in 80 column mode.  The only problem we
have encountered is that the up and down cursor controls do not work
These functions still require the use of the old control-L and control-P
keys as in the IIe.  On the positive side, the upper/lower case keyboard
on the IIe is a real improvement.

D. Chou
University of NC, Chapel Hill
   !mcnc!ecsvax!hsplab

ee163abs@sdccs7.UUCP (03/22/84)

The way to get the cursors working on a //e is to Xecute the "setup" program
and tell it that the control chars that the //e uses for up and down.  

Ron Breger




-

hall@ittral.UUCP (Doug Hall) (03/22/84)

[]

     The up and down arrow keys on the Apple //e *can* be used in Pascal.
It requires changes to the SYSTEM.MISCINFO file on the startup disk. See
the Operating System Ref. Manual for details; it only takes a few
a few minutes. There are other changes you can make as well, and they
make the Apple Pascal language system much nicer to use.

                                Doug Hall
                                ittvax!ittral!hall

ags@pucc-i (Seaman) (03/23/84)

>  I have used the old II+ Pascal on IIe's with the 80 column board.  The
>  system automatically comes up in 80 column mode.  The only problem we
>  have encountered is that the up and down cursor controls do not work
>  These functions still require the use of the old control-L and control-P
>  keys as in the IIe.  On the positive side, the upper/lower case keyboard
>  on the IIe is a real improvement.

You need to open your "Apple Pascal Operating System Reference Manual" to
page 199 and read about system reconfiguration.  Specifically, you need
to run the program APPLE3:SETUP.CODE and change the values of the following
setup parameters, as shown in the table on page 209:

	Parameter name			default value	value for //e
	--------------			-------------   -------------
	KEY TO MOVE CURSOR DOWN		CTRL-L		<down arrow>
	KEY TO MOVE CURSOR UP		CTRL-O		<up arrow>
	HAS LOWER CASE			FALSE		TRUE
	SCREEN WIDTH			79		80

You don't even have to know the ASCII codes that are generated by the
arrow keys, since the program allows you to type the keys themselves in
response to the prompt.  One other possibly desirable change is:

	KEY TO DELETE LINE		CTRL-X		DELETE

The problem with this last is a quirk in the operating system.  On the
//e, the ASCII DELETE is a PRINTING CHARACTER (it makes a checkerboard
pattern which is used as a cursor by Apple DOS, but not by Pascal).
The Pascal system, however, thinks that DELETE is a nonprinting character.
The result is that when you delete a line using DELETE, it appears that
one character is still there (but it really isn't).

There are two possible solutions to this dilemma, other than forgetting about
DELETE:

  1.  Figure out how the system tables work and patch the system to make
      DELETE a printing character.  There are some hints dropped in the
      manuals, but it is not clear-cut.  I didn't go this route, because
      of:

  2.  The Modula-2 System from Volition Systems provides (among other things)
      a patched version of the system that recognizes DELETE as the
      "delete line" character and handles it correctly.
-- 

Dave Seaman
..!pur-ee!pucc-i:ags

"Against people who give vent to their loquacity 
by extraneous bombastic circumlocution."

eric@aplvax.UUCP (03/25/84)

	To get the up and down arrow keys to work in Pascal, use the
configuration program on the third disk. It works fine (at least mine
has).

-- 
					eric
					...!seismo!umcp-cs!aplvax!eric