home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
152.lha
/
Eliza.doc
< prev
next >
Wrap
Text File
|
1988-04-26
|
6KB
|
136 lines
*********************************************************************
*
* AUTHOR'S NOTES
* --------------
* Release 2 15 March 1984
*
* ELIZA is an Artificial Intelligence simulation developed by
* Joseph Weizenbaum of MIT in 1965. Eliza was named after Eliza
* Doolittle in George Bernard Shaw's play Pygmalion, which was
* subsequently used as the basis for the musical, My Fair Lady.
*
* Shaw's Eliza was a flower girl who was taught by phonologist
* Henry Higgins to talk "like a lady". Weizenbaum's Eliza does a
* remarkable job of carrying on a conversation that at times seems
* intelligent.
*
* "ELIZA for the 6502" was written by Richard Albers and myself
* in 1983, as a commercial program. It was later ported to the 64,
* but never sold as a 64 program. We are now offering this version
* as freeware to everyone. You may freely copy and redistribute,
* but the copyright notice(s) and other notice(s) must remain pre-
* served.
*
* We sold not only the program, but also the source code, and
* therefore tried to make it a model of a well commented, modular
* program. Because of the isolated character I/O, it was easy to
* port to the 64, and perhaps to other 6502 based computers. We
* hope you enjoy reading the code as much as we enjoyed writing it.
* To the best of our knowledge, this is the only hand assembled
* version of Eliza for any personal computer. In order to assemble
* the source without modification, you must use Eastern Software's
* assembler, MAE.
*
*
* Release 3 7 July 1988
*
* The above notes were written for the C64/128 version and are
* not terribly valid for the Amiga version. For one thing, the
* Amiga is a much more complex, multitasking computer, and it was
* not possible to retain the same machine-independent character I/O
* routines that were used previously. Also, obviously the assem-
* bler syntax is different for the 68K MetaComCo assembler. On the
* other hand, I hope the code is still illustrative of good
* programming techniques.
*
* I am asking that no changes be made in any redistributed
* copies, but I would be happy to discuss with any programmer
* changes that would substantially benefit the program, while
* still capturing it 's unique flavor. Please leave a message at
* the number listed below.
*
* To the best of my knowledge, this is still the only hand
* assembled version of Eliza for any personal computer.
*
* ELIZA has always been one of my favorite programs and this
* has essentially been an ongoing labor of love. Enjoy!
*
* The Author
*
* FILE CATALOG
* ------------
* The following files make up this package. Please report any
* missing files to your friendly neighborhood SysOp.
*
* Eliza.doc . . . . . . . This file
* Eliza . . . . . . . . . The executable
* Eliza.asm . . . . . . . Interpreter source code and text
*
* The original program, "ELIZA", by Joseph Weizenbaum has been
* placed in the public domain. This particular implementation
* is copyrighted 1983/84/88 by Jeff Lavin and Richard Albers.
* Everyone is granted permission to copy, and redistribute the
* source and/or object code for "ELIZA", but only provided that:
*
* 1. No changes are made to any redistributed copies.
* 2. The copyright notice remains intact on all copies of the
* object and/or source code.
* 3. This notice is preserved on all copies.
* 4. This program may not be used for any commercial purpose
* without the authors' written permission.
*
* All rights reserved.
*
* >> No warrantee of any kind whatsoever expressed or implied! <<
*
* INSTRUCTIONS
* ------------
* Eliza MUST be invoked from the CLI.
*
* Just type: 1> [run] Eliza (The "run" is optional)
*
* Please *do not* attempt to make an icon for this program! It
* opens a CON: window and MUST be called from the CLI. I'm not
* kidding.
*
* All input lines may be up to 80 characters long and must be
* terminated with a punctuation character (actually anything, the
* last character is discarded) and a carriage return.
*
* An 80 column window is strongly suggested. A 40 column
* window will work, but you will not be real happy with the result.
*
* You may resize the window, but you may notice that it will
* not get narrower than 250 pixels. This is intentional.
*
* I got real tired of always reading UPPER CASE OUTPUT from
* Eliza, and have incorporated a nifty little routine so as to
* make lower case possible. It's reasonably smart about names and
* such, but you can fool it without too much trouble.
*
* Text is formatted on output, but may occasionally split words
* if long words are entered and the window is too narrow. If you
* try to fool the formatting routine, you will probably succeed.
*
* For those interested, this is because when I ask the window
* how wide it is, it answers in characters, but you may resize the
* window in pixels, and the breaking point for a character is not
* apparently right where it should be. I have tried to compensate,
* but it is not real hard to fool the formatter occasionally.
*
* Type "quit" (case insensitive) with no punctuation to exit
* the program.
*
* I hope you enjoy playing with this software classic.
*
* I can be reached at: The Symposium
* Amiga Development BBS
* 1.5 Meg Memory - 33 Meg Hard Drive
* 300/1200, 8-N-1, 24 hr, (503) 935-7883
* Another Citadel-68K BBS
*
* (This BBS is devoted to Amiga software and hardware development, and
* all users are required to register. Just follow the instructions.)
*
*****************************************************************************