🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.logo
Article #304

Re: Logo for MS-DOS

#304
From: Chris Peterson
Date: Tue, 15 Dec 1992 21:52
299 lines
12405 bytes
Here are my notes from my recent research into Logo for PC-DOS (long).
There are also two commercial versions available (about $60), _PC_Logo_
(Harvard Associates) and _LogoWriter_ (Logo Computer Systems, Inc.)

.............................................................................

        MswLogo Version 2.4 for Micro-Soft Windows 3.X is ready !!!
        ------------------------------------------------------------

NOTE: ZIP naming convention has slight change !!!

LOCATION: itrc::/millspub/mswlgo24.zip (this is a DEC internal location)
            or
          cher.media.mit.edu on pub/comp.lang.logo/programs/mswlogo
            or
          Send the following message to: ftpmail@decwrl.dec.com 
----cut here----
connect 18.85.0.47
binary
uuencode
chdir pub/comp.lang.logo/programs/mswlogo
get mswlgo24.zip
quit
----cut here----

Note: There is no connection between the ftpmail server suggested here
and cher.media.mit.edu or MswLogo. It is a common service to internet
users from Digital Equipment Corporation. There are other ftpmailers
available but I don't know the addresses.

New features/bugs fixed:

   o MCI (MultiMedia) support. See help on the logo MCI command first.
     Also try the VERY simple examples "echo" and "sounds" in the library.
     I don't have a MIDI or CDROM (yet :-)) but that should all work also.
     Note, also windows 3.1 supplied MIDI driver cannot record but I believe
     MIDI hardware venders supply one that does.

   o New LOGO commands
        - bitload, bitsave (same as menu commands).
        - block (draws filled rectangles).
        - See mkmod, rmmod, pushmod, and popmod commands below.

   o Fixed LOGO commands
        - Pots command finally works and shows procedures and modules.
        - help (calls help).
        - describe (jumps directly to keyword in help).

   o Online Help is cleaned up a lot.
        - status, nostatus (same as button) command was missing.
        - char command was missing.
        - int and round command was missing.
        - gprop command was missing.

   o Logo now has the concept of "modules" (all done through directories).
     See mkmod, rmmod, pushmod, and popmod commands. Note users can only
     create or delete "Logo components (.lg and .lgo)". And only at the
     directory level in which logo started at or lower.

   o The "stack" area is much larger now and you can make recursive calls
     much deeper than before.

   o Fixed overpowered focus on commander. It won't jump on top of the editor.

   o Trace button finally works.

   o Fixed jagged turtle again, and it is really fixed this time :-).

NOTE: Windows 3.0 users there is a seperate executable for 3.0
      due to the MultiMedia enhancements which 3.0 does not have.

To Install it:

1) UnZip MSWLGO24.ZIP into a directory (e.g. c:\logo)

2) UnZip LOGOLIB.ZIP (included in MSWLGO24.ZIP) into LIB (e.g. c:\logo\lib)

   Note:  If you do not use c:\logo as the root you must set the
          environment variable LOGOPATH to where you put it (e.g.
          set logopath=d:\games\logo in autoexec.bat)

3) Copy BWCC.DLL (included in the .ZIP) to anywhere in your PATH.
   This could be where you place LOGO (as long as it's in your PATH).
   When I say PATH here I don't mean LOGOPATH. The desired place is
   in your root windows directory (e.g. c:\windows).   

4) Start Windows and add an Icon as follows:

   a) Select the applications (or other) group box.

   b) Go into Program manger FILE menu and click on New.

   c) Select Program Item and click OK.

   d) Enter the command for logo (e.g. c:\logo\logo).
      Windows 3.0 users MUST use logo30 (e.g. c:\logo\logo30).

      This can also be where you select the size of the image (NOT the size
      window). The switches "-h number" (to select height) and "-w number" (to
      select width). The default has been and still is 1000x1000. For example
      to change to a 500x500 image (using 1/4 the amount of memory) enter:

      c:\logo\logo -h 500 -w 500

   e) Include a working directory (e.g. c:\logo\work) or you'll have ".lg"
      files all over the place (this applies to 3.1 only). I'll try to come
      up with a better solution soon.

Start it from Windows by double clicking the Logo Icon

Start it from DOS by typing "win logo [options]" at DOS prompt (assuming
logo.exe is in your PATH).

Try typing "DEMO" in the "Input Box" (out of bounds at end of demo is normal).
Note: "DEMO" is a logo program in the library, it's not an internal command.

Standard features:

   o Supports Text.
   o Supports color palette (256 solid colors).
   o Cut and Paste.
   o Floodfill.
   o penwidth.
   o Save and restore images in .BMP format.
   o screencolor (background).
   o 16.7 million pen and background colors (using windows dithering).
   o Standard Windows Hypertext Help.
   o Standard Windows Printing.
   o Supports separate library and work area.

Bugs / Basic Missing features:

   o Real mode is not supported.
   o goodbye still not working.
   o printing on (very few) printers still doesn't work.
   o Need to make save/restore image smarter (less memory, disk and cpu).
   o Need arrow-key command recall.

   o If a bug is really bugging you or feature you really want to see done,
     say so, by sending me email. This will help me determine what's important.
     No promises, but it will help. I love any feedback good or bad.

Trouble shooting:

   o Logo accesses the disk everytime it draws a square in the DEMO
     (part 3). This is related to your buffers command in config.sys
     buffers=20 or more is typical for a "windows environment". 

   o Logo seems to run extremly slow and the disk is always thrashing.
     Your probably paging. You may be running with 256 color driver
     with out the memory to support it. Try 16 color mode or reduce the
     image size (or both).

   o Loading in an .BMP does not seem to have the right colors.
     If you had been using logo for a while you probably have used up
     part of the color palette. It's not a bad idea to clear the palette
     before loading in a .BMP.

Wish list:

   o Sound generation.
   o Clipboard support.
   o Multiple Turtles.

The Core of this Version of Logo comes from a project done by Boston Childrens
Museum and Lincoln Sudbury Regonal High School. The Port to Windows was done
by George Mills Digital Equipment Corporation. Digital Equipment Corporation
takes no responsibility for the software.

There is also a DOS version (with out the added functionality added to MswLOGO)
is available. Same location as MswLOGO.

.............................................................................

A new alpha test release (version 2.8) of Berkeley Logo is now
available by anonymous FTP.  This version fixes several important
bugs (the one about spaces at the end of a line, for example).
Its major new feature is an extended-memory capability for the PC.

The PC distribution includes two executable programs.  BL.EXE is
similar to the earlier versions except for the bug fixes mentioned
above.  UCBLOGO.EXE requires a 286-or-better processor, but is able
to take advantage of extended memory if you have it.  This means that
Berkeley Logo can finally run the larger programs from my Computer
Science Logo Style books (e.g., the Pascal compiler) on the PC.

(Technical note:  BL.EXE is compiled using Turbo C++; UCBLOGO.EXE is
compiled using Zortech C++.  The files BL.PRJ and BL.DSK in the
distribution are used to control Turbo; the files MAKEFILE and UCBLOGO.DEF
are used to control Zortech.  The files LOGOLIB/*.BGI are needed in order
to be able to run BL; the file ZPM.EXE is needed to run UCBLOGO.)

In this version CASEIGNOREDP is initially TRUE, as I suggested earlier.
Some of the library procedures (e.g., FOR and FOREACH) have been
rewritten to use macros so that you can now STOP or OUTPUT inside them.
I have, by popular demand, NOT removed the machine-specific graphics
commands -- although, now that I have *four* graphics environments to
worry about I'm even less happy about them.

I know of one bug in this release:  Suppose you have a procedure that
might invoke an undefined procedure, but actually doesn't, like this:
	TO FOO
	IF 2=2 [STOP]
	NOT.DEFINED
	END
Then after you invoke FOO a bunch of times, you get an "out of memory"
error -- but only on the Mac, or at least I haven't seen it happen
anywhere else.  This was a problem with the CSLS Pascal compiler, but
I've changed the latter (ucblogo/csls/pascal) so that it doesn't trip
over this problem anymore.  I didn't want to hold up this release too
long while looking for the bug.

I do not intend to do any more development on Berkeley Logo.  The next
release will be called 3.0 and will have nothing but bug fixes.  At that
point I expect to start giving it to people like Compuserve and BMUG for
wide distribution.


FTP to anarres.cs.berkeley.edu and get any of the following files:

pub/ucblogo.tar.Z	Unix sources and documentation
pub/ucblogo.zip		PC version, PKZIP form, including executables
			    BL.EXE and UCBLOGO.EXE
pub/ucblogo.sit.hqx	Mac version, StuffIt/BinHex form, w/ executable Logo
pub/usermanual		Just the documentation file.
pub/csls.tar.Z		Logo programs from _Computer Science Logo Style_

You're on your own for the unpacking software.

Advantages of Berkeley Logo:

	* It's free.

	* It comes with source files (in C).

	* Logo programs are completely compatible among Unix, PC, and Mac.

Disadvantages of Berkeley Logo:

	* It's pretty slow.

	* It doesn't do anything fancy about graphics.  (One turtle.)

If you don't have FTP access, but can read a 3.5-inch disk, send me
$2.50 to cover costs and tell me whether you want the Mac or the PC
version (or send $5.00 for both) and I'll send you a disk.  (Outside
North America, please send US $3.50 for one disk or $6.50 for both.)
The PC disk includes both PC versions.

				Brian Harvey
				2634 Virginia St
				Berkeley, CA  94709

I wnet and got this - it seems excellent. THe binaries are supplied so it
run striaght out of the box. Haven't tried to build them anywhere (Yet?)

2/ mswlogo - windows Logo. This is very good indeed - my kids are Windows
hackers already so they had no problems with it. It is not as rich a language
as the UCB logo above but is great for kids (thats what LOGO is for isnt it).
Get it from cica I think - or cher.media.mit.edu.

3/ Ladybug - included for completeness. At one time this was the only PD
logo for the PC around. It is not very good now. CGA and slow. This and the
above can be got from simtel.

4/ there is an old logo source in comp.sources.unix/volume10/logo. THis is
the core that was used for mswlogo I think. Built on yacc


Hope this helps

Paul

..............................................................................

	LOGO Foundation
	250 W. 57th Street, Suite 2603
	New York, NY 10107 USA
	(212) 765-4780
	Supports all users of Logo
	Supplied the names of the manufacturers below

.............................................................................

package:    Berkeley Logo
version:    2.7 - alpha
parts:      ?
author:     Brian Harvey <bh@anarres.CS.Berkeley.EDU>
how to ge:  ftp pub/*logo* from anarres.cs.berkeley.edu
description:    ?
ports:      unix, pc, mac
updated:    1992/09/29

-- 
Chris Peterson                      
Research Computing Services                      e-mail: peterson@hpl.hp.com 
Hewlett-Packard Laboratories                           phone: (415) 857-6432
Palo Alto, California USA                                fax: (415) 857-5686
Technical Details
Message-ID: <1992Dec15.215223.1506@hplabsz.hpl.hp.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!usc!sdd.hp.com!hpscit.sc.hp.com!hplextra!rigel!peterson
References: <84763@ut-emx.uucp>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.logo
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!howland.reston.ans.net!usc!sdd.hp.com!hpscit.sc.hp.com!hplextra!rigel!peterson
From: peterson@hpl.hp.com (Chris Peterson)
Subject: Re: Logo for MS-DOS
Sender: news@hplabsz.hpl.hp.com (News Subsystem (Rigel))
Message-ID: <1992Dec15.215223.1506@hplabsz.hpl.hp.com>
Date: Tue, 15 Dec 1992 21:52:23 GMT
References: <84763@ut-emx.uucp>
Nntp-Posting-Host: peterson.hpl.hp.com
Organization: Hewlett-Packard Laboratories, Palo Alto, California
Lines: 299