=========================================================================
 
INFO-ATARI16 Digest         Wed, 17 Jan 90       Volume 90 : Issue   57
 
Today's Topics:
                        Atari 1040 ST for sale
                             Changing Rez
                             dissassembly
                   GNU/Sozobon C question (2 msgs)
                         Help with Sozobon||
                   Monitor, music and spreadsheets
                       ST S/ware Rental Places
----------------------------------------------------------------------
 
Date: 17 Jan 90 15:06:24 GMT
From:
 zaphod.mps.ohio-state.edu!uwm.edu!srcsip!nic.MR.NET!thor.acc.stolaf.edu!pritcha
 j@tut.cis.ohio-state.edu  (John Pritchard)
Subject: Atari 1040 ST for sale
Message-ID: <10630@thor.acc.stolaf.edu>
 
    Atari 1040ST computer for sale
    ------------------------------
 
    Don't let the name fool ya, this is a heck of a machine.
 
    --1 meg RAM, expandable to 4 megs
 
    --built in ports for modem, printer, ext. hard drive, ext. floppy
      drive, MIDI in/out (great for MIDI people)
 
    --internal 800K 3.5" floppy drive
 
    --COLOR Monitor
 
    --external 50 meg hard drive
 
    --image scanner that attaches to most popular printers
 
    --manuals and cables for everything
 
    --system is mouse-based -- similar to a Mac in operation.
 
    --great color graphics on this thing.  Mac-heads may not care about
      this, but people with vision love it.
 
    --includes heaps of software for word processing, desktop publishing,
      graphics applications, music, MIDI, games.
 
    --with a little extra hardware, this computer can run Mac software
      faster than a Mac SE, and PC software faster than an IBM AT.
 
    --Dealer and user support in Mpls/St. Paul and all other large cities
 
    Please help a semi-impoverished college student survive!
    This entire system for sale for the amazingly low price of $1500.
    (Any reasonable offers will be considered, of course)
 
    Jack Nutting
    c/o Carleton College
    Northfield, MN 55057
    (507)663-4613
 
------------------------------
 
Date: 14 Jan 90 20:59:55 GMT
From: agate!saturn!ucscb.UCSC.EDU!rome@apple.com
Subject: Changing Rez
Message-ID: <10315@saturn.ucsc.edu>
 
Help.  I hate it when you are in med rez and you cannot run a low
rez program without setting the preferences.  Is there a way, like a
program, to switch the rez automatically for you. I have seen how
Spectrum 512 will change the resolution so it seems like it would be
possible.
 
         ROman Baker\
 
------------------------------
 
Date: 17 Jan 90 05:34:53 GMT
From: rochester!rit!ritcv!ajy2208@PT.CS.CMU.EDU
Subject: dissassembly
Message-ID: <1540@cs.rit.edu>
 
In article <10665@stag.math.lsa.umich.edu> hyc@math.lsa.umich.edu (Howard Chu)
 writes:
[...informative stuff deleted...]
>
>As for the stray data at the top, perhaps you're not aligning the
>screen memory correctly?
 
This was a problem at first, as I am a beginning ST programmer and
am not a registered developer (yet..  :-).  Of course, the people
who wrote the MWC documentation didn't bother mentioning the
fact that the memory has to be ALIGNED..  But they provided a nice
example, in which they aligned the memory, so that's how I learned..
 
>If you're writing code that you eventually hope for
>other people to use, don't hard-code magic numbers like 32K into your
>screen manipulation routines. [In fact, don't even use 32K. You only
>need, at most, 32256, to get 32000 bytes on a 256 byte boundary, eh?]
 
Kind of interesting, that the example in the MWC manual does have
32K hard wired in.  Of course, it's only an example, but for someone
learning how to do something for a first time, it's not setting a
GOOD example..  sigh..  (at least it does have LOTS of examples)..
 
Thanks!
_____________________________________________________________________________
 Albert Yarusso, Rochester     ajy2208@ritvax.bitnet,ajy2208@ultb.isc.rit.edu
 Institute of Tech. _________________________________________________________
 Computer Science  /___   /    ?rutgers, ames?!rochester!ritcv!ajy2208
______________________/  /     ajy2208@ritcv.cs.rit.edu     GEnie:  A.Yarusso
 
------------------------------
 
Date: 17 Jan 90 14:53:43 GMT
From:
 cs.utexas.edu!jarvis.csri.toronto.edu!utgpu!watserv1!ria!uwovax!7103_2622@tut.c
 is.ohio-state.edu  (Eric Smith)
Subject: GNU/Sozobon C question
Message-ID: <4704.25b440a7@uwovax.uwo.ca>
 
In article <25724@brunix.UUCP>, rjd@cs.brown.edu (Rob Demillo) writes:
[ some useful (and correct) information about GNU deleted ]
>       gcc - this is GNU's public domain C++ compiler. It comes
>               with source code for the Atari, and a Sun-Atari
>               cross compiler. C++ is *not* C, but a metaset language
>               encompassing most ANSI C syntax. The extensions are
>               in the areas of Object Oriented Programming (OOPS)
>               Systems. (MODULA is such a language.) These extensions
>               allow you to have several job processing running
>               "at once" (or seemly) by treating code functions
>               as OOPS objects.
 
NO! What you describe is g++, GNU's version of C++, and not gcc.
gcc is an ANSI compatible C compiler. The Atari version of g++ is
available, but still somewhat buggy, I hear. The Atari gcc is (I hope)
no more buggy than the other gcc's, which is to say it has a few bugs,
but probably no more than commercial compilers.
--
Eric R. Smith                     email:
Dept. of Mathematics            ERSMITH@uwovax.uwo.ca
University of Western Ontario   ERSMITH@uwovax.bitnet
London, Ont. Canada N6A 5B7
ph: (519) 661-3638
 
------------------------------
 
Date: 17 Jan 90 14:48:15 GMT
From:
 swrinde!cs.utexas.edu!jarvis.csri.toronto.edu!utgpu!watserv1!ria!uwovax!7103_26
 22@ucsd.edu  (Eric Smith)
Subject: GNU/Sozobon C question
Message-ID: <4703.25b43f5f@uwovax.uwo.ca>
 
In article <75767@tut.cis.ohio-state.edu>, thamer@skiff.cis.ohio-state.edu
 (Mustafa Thamer) writes:
> What is the difference between Sozobon, GNU (gcc), and C compilers
> like Laser C or MWC.  Are they just different compilers or
> improved/modified languages.  I've heard a lot fo talk about
> GNU stuff and was wondering what's the big deal.?
 
Well, they're all just compilers. But they all support different features.
There are two standards for C; K&R first edition (the original book by
Kernighan and Ritchie) and ANSI C, which is the new standard (and which
is covered in the second edition of Kernighan and Ritchie). All of the
compilers you mention are more or less compliant with K&R 1st edition,
and they all have (different) extensions to it. The GCC also complies
with the ANSI standard (and has extensions to *that* as well!).
 
I've used Laser, Sozobon, and the GCC. I only use the GCC now; I find the
other compilers quite limiting in the features available. On the other
hand, the GCC pretty much requires a hard disk and 2 megabytes of memory.
If you don't have this much, you might consider one of the alternatives.
Sozobon is a pretty decent compiler, and the price is certainly right.
And the commercial compilers do have the advantage of better documentation
and (often) nice graphics shells, if you care about that.
--
Eric R. Smith                     email:
Dept. of Mathematics            ERSMITH@uwovax.uwo.ca
University of Western Ontario   ERSMITH@uwovax.bitnet
London, Ont. Canada N6A 5B7
ph: (519) 661-3638
 
------------------------------
 
Date: 17 Jan 90 06:52:08 GMT
From: thelake!steve@UMN-CS.CS.UMN.EDU  (Steve Yelvington)
Subject: Help with Sozobon||
Message-ID: <0017900052080999@thelake.mn.org>
 
[In article <1037T6M-RIIT@FINTUVM>, T6M-RIIT@FINTUVM.BITNET writes:]
 
> I'm trying to learn C with Sozobon. I already got my *first* program
> written and I've been trying to compile it with no remarkable success.
>
> 1)  Tried cc:
>         cc hello
>     (why do the first programs always say hello?...)
>     A comment returned: can't find library 'HELLO'
>     No library found? Well, let's name one..
>         cc hello libm
>     - got the same line again.
>     OK, I'll give up.
 
You gave up two keystrokes too quickly. Try "cc hello.c".
 
If cc sees a filename with no .ext, or with .a, or with .lib, it thinks
it's a library. You said "cc hello" and cc looked for a library named
hello. It didn't find one.
 
>
> 2)  Let's try the other way, do it piecewise.
>         hcc hello.c
>     goes fine. Got a nice assembly language file hello.s. But it sure
>     could use some optimization:
>         top hello.s
>     Yap, the file sure looks prettier (and a whole lotta shorter).
 
Yeach, the raw, unoptimized output from hcc looks pretty bizarre. :-)
 
> Now
>     let's assemble it to hello.o.
>         jas hello.s
>     ...the program spits out words of warning:
>         usage: as [-N] source [-o object]
>     and dammit that's just what I gave 'im, ain't it? (except the spelling
>     error - Joe's missing?)
 
This one has me stumped; I "jas source.s" all the time without any trouble.
If jas is getting a filename, it should assemble it.
 
As Bill Powers <powers@engles.enet.dec.com> pointed out, Pcommand may be
the culprit. It does some goofy things. Try gulam.
 
> 3)  Well well, there is still the make utility (the doc of which I just
>     can't understand and got no UNIX manual at hand). I cook up a file
>     called MAKEFILE with
>         hello.tos: hello.o
>             cc -o hello.tos hello.o
>     in it - copied straight from a USENET news article sometime in August.
>     Wonder if there's any sense in this... well, type make.
>     "No targets provided near line 2". I take the monitor and smash it on
>     the wall and eat the ST and go hang myself.
 
This, of course, is the primary purpose of make. By causing budding
programmers to smash monitors and hang themselves, the supply of
programmers is restricted, and salaries can be kept high.
 
Seriously, using make to maintain a program with fewer than half a dozen
source files is just a pain in the gazoo. Forget about make until you've
got C under control.
 
[In article <7503@shlump.nac.dec.com>,
     powers@engles.enet.dec.com (Bill Powers) writes ... ]
> On the environment variables, try including
> a last '\' (backslash) some programs won't automatically add one I don't
> use sozobon, so I don't know if this is happening.
 
Sozobon C expects that paths will NOT end in a backslash.
 
The source code for cc indicates these default search paths:
 
/*
 * Default paths for executables and libraries
 *
 * Always check the root of the current drive first.
 */
#define DEFPATH         "\\bin,\\sozobon\\bin"
#define DEFLIB          "\\lib,\\sozobon\\lib"
#define DEFTMP          ""
 
... so if the programs and libraries are on the current drive, you usually
don't have to define the environment variables. I often compile on D:
while the Sozobon directories are on C:, so I have set up:
PATH=.,\bin,c:\bin
INCLUDE=c:\sozobon\include
LIB=c:\sozobon\lib
--
   Steve Yelvington at the (thin ice today*) lake in Minnesota
   UUCP path: ... umn-cs.cs.umn.edu!thelake!steve
 
   *16 cars through the ice so far this year! Yes, you, too, can
    have that sinking feeling....
 
------------------------------
 
Date: Wed, 17 Jan 90  10:11 GMT
From: Jan Ameij <AMEIJ%vax.oxford.ac.uk@NSFnet-Relay.AC.UK>
Subject: Monitor, music and spreadsheets
 
Dear Gang,
 
I tried to post this once before, but the Janet->Usenet link seems a bit
iffy these days, so I'm not sure if it got through. I never got a digest
containing it at any rate....
 
1) I have an SM124 which seems to be slightly out of focus. I don't want to
send it back because it's a replacement for a completely duff one (it's only
two weeks old, by the way) so I thought I'd ask if anyone knows what to tweak
inside top adjust beam focus.
 
2) I need a music printing program. Input - qwerty, output HPLJ+/HPGL/spooled
PostScript. Piano music with included text if possible. Output should be of
publishable standard. It doesn't have to drive a Yamaha 600 Turbo synthesiser
or anything else fancy, just print music. Something like Music, the Troff
preprocessor. (Are there PD versions of pic and troff for the ST?). Any advice
appreciated. Replies by email, please, and I'll summarize back.
 
3) Summary of advice I was given on spreadsheets. Unanimous -
 
                BUY LDW POWER.  Simple, eh?
 
Well, that's all folks. Awaiting replies with baited breath.
 
 
Jan Ameij
Oxford University Department of Applied Metaphysics.
 
ameij % uk.ac.oxford.vax @ however-you.get-to.janet
 
------------------------------
 
Date: 17 Jan 90 06:55:33 GMT
From:
 zaphod.mps.ohio-state.edu!samsung!aplcen!haven!uvaarpa!murdoch!astsun8.astro.Vi
 rginia.EDU!gl8f@tut.cis.ohio-state.edu  (Greg Lindahl)
Subject: ST S/ware Rental Places
Message-ID: <1990Jan17.065533.601@murdoch.acc.Virginia.EDU>
 
In article <25723@brunix.UUCP> rjd@cs.brown.edu (Rob Demillo) writes:
>In article <2625@cunixc.cc.columbia.edu> ia4@cunixd.cc.columbia.edu (Imran
 Anwar) writes:
>>I know of only one place where ST s/ware rentals are possible......
>>does anyone have a list of more places?
>>Please email and oblige
>
>Yeah. And with any luck they'll *all* go out of business. Piracy
>has almost killed Atari...that's all that's needed is a thinly
>veiled software "rental" place.
 
Needless to say, it's extremely rude to call some people pirates
because they rent software. Libraries rent books, video stores rent
movies. Video stores rent Nintendo carts, which contain software.
 
In short -- piracy is an issue you deal with by educating users, not
by insulting legitimate businesses.
 
Btw, gcc is not a C++ compiler. g++ is a C++ compiler. gcc's feature is
that it's ANSI C.
 
Greg Lindahl
gl8f@virginia.edu                                  Astrophysicists for Choice.
 
------------------------------
 
End of INFO-ATARI16 Digest V90 Issue #57
****************************************
