home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
077.lha
/
Logo
/
README.1ST
< prev
next >
Wrap
Text File
|
1986-11-20
|
5KB
|
187 lines
AMIGA LOGO - 7/87
This is a beta-test version of a port of LOGO
recently posted to Usenet, made to run on the AMIGA.
Ported by: Scott Evernden
USENET: seismo!harvard!m2c!applix!scott
CIS: 73116,3451
BIX: s_evernden
PLINK: SCOTT E
What's Here?
============
These are the files included in this release of LOGO for Amiga:
README.1ST what you're reading right now.
README the original README from Lincoln-Sudbury Regional HS.
LOGO the executable LOGO interpreter program.
LOGOMAN the printer-ready LOGO manual.
HELP text file used for answering the LOGO "help" word.
SPLITHELP program to break logoman into pieces; see below.
APPLEDIFF description of differences from APPLE LOGO.
INSTALL an EXECUTE file to move these files into their places.
F.LOGO G.LOGO HANOI.LOGO HOME.LOGO HOWIS.LOGO L.LOGO LAUGH.LOGO
LISTP.LOGO PICK.LOGO POLY.LOGO POS.LOGO QUEST.LOGO QUIZ1.LOGO
SETCURSOR.LOGO SETPOS.LOGO SETX.LOGO SETY.LOGO TOP.LOGO
TOWARDS.LOGO
LOGO procedure examples and utilities.
Setting Up
==========
Format a disk and name it LOGO
1> FORMAT DRIVE DFn: NAME LOGO
Move all the above files onto this new disk.
1> COPY #? TO LOGO:
Create some directories
1> MAKEDIR LOGO:LIB
1> MAKEDIR LOGO:DOC
Move "logoman", "help", and "splithelp" into LOGO:DOC
1> RENAME LOGO:LOGOMAN LOGO:LIB/LOGOMAN
1> RENAME LOGO:SPLITHELP LOGO:LIB/SPLITHELP
1> RENAME LOGO:HELP LOGO:LIB/HELP
All of the .LOGO files need to get moced into LOGO:LIB
1> RENAME LOGO:xxx.LOGO LOGO/LIB/xxx.LOGO
(The preceding commands can be found in the file "INSTALL" which you
may EXECUTE).
You may want to get a printout of the manual
1> COPY LOGO:DOC/LOGOMAN TO PRT:
And if you want to use the LOGO "describe" command (prints excerpts
from the manual), then do the following
1> CD LOGO:DOC
1> SPLITHELP <LOGOMAN
this will produce a pile of short files, each describing a single LOGO
command.
How to Run This LOGO
====================
From the CLI, merely incant:
1> CD LOGO:
1> LOGO
The current version will, unfortunately, not work properly under
the WorkBench.
Please refer to the "logoman" file for furthur information
regarding the use of the LOGO language as implemented here.
Notes Specifically About This AMIGA Version
===========================================
Turtle Graphics
---------------
I (rather quickly) implemented turtle graphics via a seperate WorkBench
window which appears whenever a graphics command is issued, or whenever
the turtle is turned on via the
? turtle "dpy
command, or any other command affecting the turtle. To sidestep certain
user-interface issues not handled by the original LOGO system, I made this
window fixed size, but it can be moved about like other windows. It has a
coordinate range from -200 to 200 in both X and Y. (Note that Y coordinates
are approximated on the screen to preserve a square aspect ratio). The
program will sense if you are running an interlaced WorkBench, and modify
internal factors accordingly.
The resulting turtle is somewhat feeble, and really ought to be done over
with better attention to the AMIGA's capabilities. For that matter, some
Music, Speech, added Color, and Sprite capabilities wouldn't hurt, either.
Mathematics
-----------
This AMIGA version was compiled using the MANX 3.4a C compiler with
short 32-bit floating point numbers. The numeric range is not great.
Numbers run from about -9.2e18 to 9.2e18, and can get only as small as
about 1e-19.
Editor
------
You can use the LOGO "edit" word to modify your procedures.
The program looks to see if a file named "editor" can be opened; if so,
it reads the name of the editor to use from that file. (If you happen
to have the Manx SET command, LOGO will check for an EDITOR environment
variable, for the heck of it).
Otherwise, if the "editor" file doesn't exit, then LOGO tries to use "ed".
You always edit a copy of the procedure file in RAM: under a temporary
name starting with "logo..." and followed by some numbers (the task
address).
Dos
---
The "logoman" file describes a word, "unix", for accessing the Operating
System. AmigaDOS isn't Unix, so I changed it to "dos". (I left "unix" as
a synonym, though).
I also added a command to allow changing directories, "chdir".
Pause and CBreak and Readchar and Keyp
--------------------------------------
Not sure how good they work; these should get fixed soon.
The keyboard "quit" key is Control-C; and the keyboard "interrupt" key is
Control-D. You have to type RETURN after hitting these.
WorkBench
---------
I wish I could make it work, but I've spent more time on trying to get it
to work than on the rest of the system. Perhaps some other more
enterprising soul can to it. Until then, LOGO needs to be run from a CLI.
Final Words
===========
I don't know LOGO. I ported the code simply to contribute. If you find
problems, then let me know, and I will try to do something about it. I
probably haven't tested out all the capabilities of this thing.
I hope it works OK.
Oh, and the system may ask you to:
Please submit a Logo bug report, telling what you typed,
and asking for a more specific error message.
I don't know who's supposed to get this bug report, so you can probably
ignore it. :-)
======
-scott