HDTenEightyP/NetNews huggingface dataset:
From: boberg@lysator.liu.se (Stefan Boberg)
Subject: Re: Comeau C++
Organization: Lysator Academic Computer Society, Linkoping University, Sweden
Date: Sat, 26 Sep 1992 13:28:31 GMT

comeau@csanta.attmail.com (Greg Comeau) writes:

>In article <1683@lysator.liu.se> boberg@lysator.liu.se (Stefan Boberg) writes:
>>  Why C++ anyway? It's such a pig, loaded with useless fluff. Why not
>>go for an Objective-C compiler? It would fit much better into the Amiga
>>Intuition programming environment, IMHO. The BOOPSI system in particular
>>is very similar to the Objective-C way of doing things.

>No one language is unequivocally best.  So from that perspective I have no
>problem.  And as I've been know to say in the past in my cynical prime:

>    "Of course no one language is good for anything, and a specific
>     language is always good for nothing."
>        -- Greg Comeau

  :-)

>But seriously, C++ is certainly NOT more of a pig than OC or any of that.
>If fact, C++ is not even more of a pig than C.  If you have undisputable
>and proven facts to the contrary, I would be glad to hear of it.

  I guess I didn't put that very well. I didn't mean to present it as a
fact. It's just an opinion of  mine (and it is shared by many, judging 
from the EMail I've received), and I still think that Objective-C fits 
better in the Amiga OS because the Intuition BOOPSI system uses a very 
similar (Smalltalk-ish) message-passing approach (only more effective 
than the string-passing that goes on in Objective-C, which to me seems 
like a real performance killer).

>*Certainly* OC is better than C++ at some things.  But certainly vice versa
>is true too.  But I sense that different from what you presented.

  I didn't mean to sound harsh. As you say, C++ has its uses, although I
still think that C++ has too many "neat features" to be elegant. Objective-C
somehow seems "cleaner" to me. But as I said before, I don't really have
any experience in OOP to talk about (I'm only 20 yet :-), I've just been
playing around a bit with BOOPSI and when I looked at Objective-C the first
thing that struck me was - "this would be perfect for BOOPSI programming!".

  Now, if somebody only would write the class dispatcher for GCC-Obj I
would be very happy! Unfortunately I don't have the know-how nor the time
to do it myself :-(

(Just in case someone don't know it, BOOPSI means "Basic Object Oriented 
Programming System for Intuition").

>- Greg
>-- 
>         Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418
--
Stefan Boberg - AP & EE student at Linkoping Institute of Technology, Sweden
 Author of LhA, ArjA and LhArcA. Co-author of Alien Breed, Project X ...
  EMail: boberg@lysator.liu.se, lha@augs.se           FIDO: 2:204/404.7
    UUCP:  {uunet|pyramid|rutgers}!cbmvax!cbmehq!cbmswe!team17!boberg
Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.tech,comp.sys.amiga.misc,comp.sys.amiga.graphics,comp.sys.amiga.games,comp.sys.amiga.audio,comp.unix.amiga,alt.sys.amiga
From: vhansen@ipfs.bau-verm.uni-karlsruhe.de (Wolfgang von Hansen)
Subject: Re: Contest - win your own A4000
Organization: University of Karlsruhe, Germany
Distribution: na
Date: Tue, 29 Sep 1992 10:14:59 GMT

In article <35437@cbmvax.commodore.com> AmigaContest@cbmvax.commodore.com writes:
>4000 REASONS TO OWN AN AMIGA CONTEST
>
> [...]
>
>9. Contest is open only to residents of the U.S. and Canada.

And what about us in Europe???
From: aj639@cleveland.Freenet.Edu (Michael Cox)
Newsgroups: comp.sys.amiga.programmer
Subject: AMOS, Shifts (<< & >>), and size of int in bits
Date: 28 Sep 1992 18:18:32 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: aj639@cleveland.Freenet.Edu (Michael Cox)
NNTP-Posting-Host: hela.ins.cwru.edu


Does anyone know if the Aztec/Manx and the SAS C compilers do their shifts
as Logical (0's are shifted in despite the sign bit) or Arithmetic (1's are
shifted in if the sign bit is 1)?  (Oh, this is for Right Shifts only).

Also, if the number being shifted is unsigned, do you use 16 bits or 8 bits?
What about regular ints?  Short ints? 

In AMOS, does the ROL/R.b/w/l command use 8 bits or 32 bits as 4 bytes are used
for each integer??

Anyone, anyone?  Or, am I totaly FUBAR??

Mike
-- 
Okay, look for AmoNER Disk #4 on: (And, AMOS PRO is coming SOON!)
ux1.cso.uiuc.edu (128.174.5.59) in /amiga/amoner
nic.funet.fi (128.214.6.100) in /pub/amiga/programming/amos
From: idr@rigel.cs.pdx.edu (Ian D Romanick)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Hardware-coding (shade-routines)
Date: 30 Sep 92 17:28:50 GMT
Article-I.D.: pdxgate.6158
Organization: /etc/organization

Yuck!  That's not the way to do shade bobs at all!  A shade bob routine is
basically just a bob adder.  You need to set up two buffer areas that are
the size of your bob.  Then you do the following blitter ops:

	bob & bpl1 = carry1 (first buffer)
	bob ^ bpl1 = bpl1
	carry1 & bpl2 = carry2
	carry1 ^ bpl2 = bpl2
	carry2 & bpl3 = carry1
	carry2 ^ bpl3 = bpl3
	etc...

Using this logic and a 32 pixel wide bob I can do about 25 bobs per frame
(NTSC) and still be able to have a cia protracker play routine running.
Enjoy!
                                  - Ian Romanick
                                    Dancing Fool of Epsilon

[]--------------------------------------------------------------------[]
 |                                                                    |
 | My opinions are exactly the same as PSU's.  NOT!                   |
 | Mail at:  idr@cs.pdx.edu             Epsilon, for the best in NTSC |
 |                                      demos! :^)                    |
 |                                                                    |
[]--------------------------------------------------------------------[]
Newsgroups: comp.sys.amiga.programmer
From: wlanders@nexus.yorku.ca (W L Anderson)
Subject: CATS address
Summary: What is it?
Keywords: address, price??
Organization: York University, CS Dept. Toronto
Date: Mon, 5 Oct 1992 02:01:10 GMT

I'm looking for the address of CATS to order the 2.04 autodocs & includes (or
the 2.1 if they are available).  Can somebody send (or post), the address
and/or cost?  Thanks.

Tom Hayko
wlanders@nexus.yorku.ca
Newsgroups: comp.sys.amiga.programmer
From: wild@nessie.cs.id.ethz.ch (Markus Wild)
Subject: Re: gcc2hunk - gcc with ALINK?
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Date: Sat, 3 Oct 1992 23:58:05 GMT

In article <92277.141520BGT101@psuvm.psu.edu> Blaise Tarr <BGT101@psuvm.psu.edu> writes:
>Is it possible to convert gcc's object files into standard Amiga object
>files in hunk form?  I would like to call functions written in gcc from
>an assemly language program.

Yep, it's possible. The converter is called SObjA, and you should be
able to get it for example from nic.funet.fi.

-Markus

-- 
Markus M. Wild    -  wild@nessie.cs.id.ethz.ch  |  wild@amiga.physik.unizh.ch 
Vital papers will demonstrate their vitality by spontaneously moving
from where you left them to where you can't find them.
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Multithreaded code using CreateTask()
Date: 1 Oct 92 14:05:32 PST
Organization: BBS

> Well, some compilers allow library based to be kept as local
> variables.
 
I think all three of the majors do this.
From: fgd3@nifty.UUCP (Fabbian G. Dufoe, III)
Newsgroups: comp.sys.amiga.programmer
Subject: Re:  SAS/C news
Distribution: world
Date: 4 Oct 92 15:14:23 EDT
Organization: Fabbian G. Dufoe, III

In article <1992Sep26.031938.19296@ariel.ec.usf.edu> stelmack@eggo.tmc.edu (Gregory M. Stelmack) writes:
>Of course, I also have a source file that when I try to edit (well, do a
>specific edit function), I crash the machine. Going to look at the file
>with a hex editor to try and find out if it's the file or the editor...
>
>it's the file or the new editor...

   It has to be the editor.  Nothing you put in a source file would justify
the editor causing the machine to crash.

--Fabbian G. Dufoe, III
   350 Ling-A-Mor Terrace South   | GEnie:    F.DUFOE3
   St. Petersburg, Florida  33705 | internet: fgd3%nifty@tct.com
   813-823-2350                   | uucp:     ...tct!deep6!nifty!fgd3
From: mks@cbmvax.commodore.com (Michael Sinz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: ARexx port in ARexx
Date: 5 Oct 92 16:48:35 GMT
Reply-To: mks@cbmvax.commodore.com (Michael Sinz)
Organization: Commodore, West Chester, PA

dread@titan.ucc.umass.edu (Dread) writes:
>Could anyone tell me how to open and manage an ARexx port inside an ARexx
>program? A source example would be much appreciated. Trying to do anything
>using only the 2.0 documentation is not fun.

The following program has a REXX port that takes two commands...

I use it with the SMTPd to get mail directly from the net onto my Amiga.

/*
	;
	; Start up the mail server and the mail REXX scripts
	;
	RunWSH >NIL: <NIL: INet:SMTP/Mailer.rexx >NIL: <NIL:
	Run >NIL: <NIL: INet:SMTP/SMTPd Mail: NEWMAIL_PORT >NIL: <NIL:
 */

IF ~openport(NEWMAIL_PORT) THEN DO
   SAY "couldn't open port"
   EXIT 0
END

waiting=1

DO WHILE waiting
   CALL WAITPKT(NEWMAIL_PORT)

   DO i = 1
      p = GETPKT(NEWMAIL_PORT)
      IF p = NULL() THEN LEAVE i

      cmd = GETARG(p)
      PARSE VAR cmd command file

      CALL REPLY(p, 0)

      IF command="QUIT" THEN waiting=0

      IF command="MAIL" THEN 'RunWSH NewMail 'file
   END
END

/----------------------------------------------------------------------\
|      /// Michael Sinz  -  Senior Amiga Systems Engineer              |
|     ///                   Operating System Development Group         |
|    ///   BIX:  msinz      UUNET:  mks@cbmvax.commodore.com           |
|\\\///    "Can't I just bend one of the rules?" said the student.     |
| \XX/     The Master just looked back at him with a sad expression.   |
\----------------------------------------------------------------------/
Xref: sparky comp.sys.amiga.programmer:13745 comp.sys.amiga.tech:79 comp.sys.amiga.misc:14433 comp.sys.amiga.graphics:6368 comp.sys.amiga.games:13400 comp.sys.amiga.audio:3461 comp.unix.amiga:2178
From: jhi@lk-hp-17.hut.fi (Jarkko Hietaniemi)
Subject: Re: :-( Contest - win your own A4000 :-(
Organization: Helsinki University of Technology, Finland
Date: 28 Sep 92 16:40:15 GMT


> Peter Urbanec <peteru@hydra.maths.unsw.oz.au>
>
> That is just great... I am really fed up by being ignored by C= here in
> Australia. And it's not just this competition that has me Pi**ed off.
> How is this for a list of 4000 reasons to be dissapointed with C=
> 
> US: Power Up to A3000 deal			Australia: NOTHING
> UK: Trade in your A500 for CDTV		Australia: NOTHING
> US: Buy A3000 get CDTV for FREE		Australia: NOTHING
> US: 4000 reasons to own Amiga			Australia: NOTHING
> 
> And I am sure that this list is nowhere near complete. Why, oh why, I ask
> thee???

Join the club...C= in most European contries is as generous as
the C= Australia :-)  And even more stingy in Finland because there
is not even such thing as C= Finland (went bankrupt few years back)

++jhi;
From: Boris_Folgmann@ibase.stgt.sub.org (Boris Folgmann)
Newsgroups: comp.sys.amiga.programmer
Subject: ArgArrayInit()
Distribution: world
Date: 27 Sep 92 16:04:16 MET
Organization: Intuition-Base BBS Leonberg

Some alien asked what to put in ArgArrayInit() when called from wbmain() in
msg #6291. You have to pass NULL and a pointer to the WBMsg. That's all!


-- Via DLG Pro v0.992
+--------------------------------------------------------------------------+

| Boris Folgmann  | UUCP:  Boris_Folgmann@ibase.stgt.sub.org              
|
| Friedrichstr.7  | FIDO:  2:247/706 (Boris Folgmann)                     
|
| W-7152 Aspach 1 | Voice: +49-(0)7191-23439                              
|
|     Germany     | Space Migration, Intelligence Increase, Life Extension
|
+--------------------------------------------------------------------------+
From: wild@nessie.cs.id.ethz.ch (Markus Wild)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: breaking programs under pdksh (920711 port)
Date: 4 Oct 92 22:02:06 GMT
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH

In article <1992Oct3.230652.3125@panix.com> drw@panix.com (Douglas Williams) writes:
>Is anyone using this shell for general use?  I know the documentation
>states that it is primarily for use with makefiles, but considering

Yes.. and I know why I documented it that way..

>that all gcc-compiled programs *not* run under it apparently load the
>entire environment upon invocation (yes, I know about ixconfig -i), I

So, how about moving that ton of global env: crap into local env variables?

>The only problem I have is that programs invoked from the shell cannot
>be broken, whether or not they've been compiled with gcc.  The
>documentation says that I should be able to do this.  Could anything

Where does it say you should be able to do this?? The reason why it can't
work currently is the following (it's rather technical..):
- pdksh runs all its programs - in true **IX fashion - in their own process,
  it vforks and then execve's the program in question.
- an amiga console handler has its own notion for which process it acts as
  a controlling tty (ie. to which process it cares to propagate ^[CDEF]),
  and this relation process<->ctty is *not* settable.
- so at the moment, with ^C you always send signals to the shell, instead of
  to the program the shell is executing.
- the solution to the problem will be implementation of real cttys (ie. carry
  the information the tty should carry in ixemul.library), and implementation
  of process groups, so that you can send a signal to a collection of 
  processes (that make up a pipeline, for example).

I'll have to warn everyone again, that insists in using pdksh as their
interactive shell, be *careful* with the usage of ^C, you will easily lock
up the shell that way! You have been warned...

Implementation of cttys and pgrps have to wait until I'm thru with exams...

-Markus
-- 
Markus M. Wild    -  wild@nessie.cs.id.ethz.ch  |  wild@amiga.physik.unizh.ch 
Vital papers will demonstrate their vitality by spontaneously moving
from where you left them to where you can't find them.
From: john@igd.fhg.de (Werner John)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Comeau C++
Date: 28 Sep 92 13:09:54 GMT
Organization: IGD FHG, 6100 Darmstadt, Germany

Hello everyone,

in article <BuzCEo.9K8@unx.sas.com>, walker@twix.unx.sas.com (Doug Walker) 
writes:
[some stuff deleted ...]
|> True.  Many people do seem to think that a "native" compiler is
|> somehow better.  I think that as long as performance is acceptable
|> and you can debug at the C++ level, it's up to the compiler 
|> implementor what intermediate language is used.  There is ALWAYS
|> some intermediate language or languages in place with any compiler.
|> The fact that this language happens to be C should be irrelevant
|> to the final user.

So SAS-C++ will come along with a C++ source level debugger, does it?
Hmmm that triggers some more thoughts.  How do you debug C++ programs compiled
with Comeau C++?  I think every one who does programming in C++ has seen
the nasty names that are created by the front end as C-function names.
I really hate to debug this kind of stuff.  printf, sorry, I should say
cerr debugging is sometimes quite useful, but ablsolutely not state-of-
the-art.  Is there a source level debugger for Comeau C++ available? 

Greetings, John


Werner John		| Phone: ++49 6102 8750
Zeppelinstr. 68		| Fax:   ++49 69 885555
Neu Isenburg  W-6078	| I-net: john@igd.fhg.de
West Germany		|
From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SAS/6.0 Bugs...
Date: Tue,  6 Oct 92 12:34:49 PDT
Organization: The Portal System (TM)
  <rreed.1qq6@terapin.com> <BvnJHB.F71@unx.sas.com>
  <1992Oct6.070215.4562@desire.wright.edu>

You are supposed to report those things to the EMITS function via
mail!  That way the problems get tracked and fixed...
Newsgroups: comp.sys.amiga.programmer
From: chanson@nyx.cs.du.edu (Chris Hanson)
Subject: Re: HDMem vs GigaMem for virtual memory on Amigas?
Organization: University of Denver, Dept. of Math & Comp. Sci.
Date: Mon, 5 Oct 92 04:19:14 GMT

chanson@nyx.cs.du.edu (Chris Hanson) writes:
>  Also, even if it were 68040 compatible, it would not work on the A4000,
>as the A4000 uses the 68EC040 chip, the big brother of the 68EC030. The
>68EC040 chip has neither PMMU nor FPU math coprocessor. It is however,
>unlike Intel's SX-series of lobotomized processors, pin-compatible with
>the full-blown 040, and is socketed for easy replacement.

  _Silly_ me to believe what a MANUAL says. ;) Though all the guides and
references that come with the A4000 insist that it has a 68EC040 w/o PMMU
or FPU (they even detail how to upgrade to the real 68040! Wouldn't this
flagrently void all their Gold-Service warranties? ;) I discover after
looking under the hood that it is powered by an honest-to-goodness fuel-
injected Turbo intercooled V* 68040 full-boat. Go figure. I'm not complaining.

   Chris - Xenon

--
#define chanson Christopher_Eric_Hanson || Lord_Xenon || Kelson_Haldane 
I work, but you don't know who I work for. And I'm not on their machines.
"Applications programming is a race between software engineers, who strive to
produce idiot-proof programs, and the Universe which strives to produce
From: amipb@amipb.gna.org (Philippe Berard)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Comeau C++
Date: 3 Oct 92 14:31:30 GMT
Organization: IWANIMA
X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith

In article <1683@lysator.liu.se> boberg@lysator.liu.se (Stefan Boberg) writes:
> jamie@cdevil.unx.sas.com (James Cooper) writes:
> >In article <1520@igd.fhg.de>, john@igd.fhg.de (Werner John) writes:
>
>   Why C++ anyway? It's such a pig, loaded with useless fluff. Why not
> go for an Objective-C compiler? It would fit much better into the Amiga
> Intuition programming environment, IMHO. The BOOPSI system in particular
> is very similar to the Objective-C way of doing things.

    That's a good point. For the moment, I've found that the best way to
    do OO programs is to write them in pure 'C' ! C++ generates too slow and
    too big executables to deal with it. BTW, someone told me that g++ had
    an Objective-C option.

>   I'm no expert on OOP however, so don't kill me if I'm wrong :-)

    Get alive, get alive ! We need to see the next version of Lha, ArjA, LhI
    and LhBackup ! ;-)
    
    BTW, don't you need any french beta-tester ????

                                   -- Philippe

/------------------------------------------------------------------------------\
|    Philippe Berard  (French Amiga User)       |  amipb@amipb.gna.org         |
|    "They hold a cup of wisdom,                |         or                   |
|     But there is nothing within" (Kate Bush). |  amipb.UUCP!amipb            |
\------------------------------------------------------------------------------/
From: aj639@cleveland.Freenet.Edu (Michael Cox)
Newsgroups: comp.sys.amiga.programmer
Subject: GAWK (GNUs AWK) & redirection to file
Date: 5 Oct 1992 16:46:17 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Reply-To: aj639@cleveland.Freenet.Edu (Michael Cox)
NNTP-Posting-Host: hela.ins.cwru.edu


How does one do this?  Every time I try, either inside the GAWK program
(print $0 >filename) or on CLI (list | gawk -f awkprog >filename), I get
something that says it could not find the EOF.  WHat does that mean?

Mike
-- 
Okay, look for AmoNER Disk #4 on: (And, AMOS PRO is coming SOON!)
ux1.cso.uiuc.edu (128.174.5.59) in /amiga/amoner
nic.funet.fi (128.214.6.100) in /pub/amiga/programming/amos
From: eyeq@wpi.WPI.EDU (Brent Burkholder)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Speaking of sys errors..
Date: 27 Sep 1992 21:56:14 GMT
Organization: Worcester Polytechnic Institute
NNTP-Posting-Host: wpi.wpi.edu

In article <paulk.1nly@terapin.com> paulk@terapin.com (Paul Kienitz) writes:
>> While we're on the subject... I keep getting a guru 8000 000D error
>> from Imagine and Scenery animator intermittently (sometimes they
>> work, sometimes they don't) always on startup of the program. These
>> are the FP versions if that ties into the equation (as I'm
>> convinced it does.) Any ideas on what this number means? ShowGuru
>> reports it as being a reserved guru number.
> 
>It's a "Coprocessor protocol violation".  It only exists on the '020
>and higher.





So I assume there's no way to get rid of it short of ripping out my 
accelerator?
From: dej@qpoint.ocunix.on.ca (David Jones)
Newsgroups: comp.sys.amiga.programmer
Subject: Re:  How do *you* use Enforcer and Mungwall?
Date: 25 Sep 92 01:45:13 GMT
Organization: Dejital Software

In article <Bv1n4I.CI7@unx.sas.com> walker@twix.unx.sas.com (Doug Walker) writes:
>Because it has no way of detecting Mungwall hits.  Enforcer hits are
>detected by use of the MMU; CPR can take over the MMU exception
>vectors and halt your task at the point of the error.  Mungwall is

CPR takes over exception vectors?

Question: does CPR still crash if TNT was running at the time?

TNT is a little tool produced by CATS which puts the PC and register
values in the "program failed" requester.

--
 David Jones, 6730 Tooney Drive, Orleans, Ontario K1C 6R4 CANADA
       email: dej@qpoint.ocunix.on.ca    Fido: 1:163/109.8
 AMIGA: Advanced Multimedia with Interactive Graphics and Audio
From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SAS/C 6.0 / Harddrive >nil:
Date: Wed, 30 Sep 92 07:01:53 PDT
Organization: The Portal System (TM)

Well, I like it too except that I am having troubles with two large
projects.  One, the Citadel BBS program I finaly got to compile and
now will not run.  It dies with a CHK instruction error.  It was fine
under 5.10B(I re-built it with 5.10B last night).  It is rather large,
a compressed archive of the source is 3400 blocks.  
 
The other one is similar, it does not use STDIO either and quite a bit
smaller.  I think I will figure out that one first.  

Other programs that use STDIO seem fine, no problems at all.  I suspect
that the above problems are pilot errors, hopefully, I can get them 
switched over to 6.0 real soon, the Coverage utility alone is worth
the effort.  The GST function is real nice too.