HDTenEightyP/NetNews huggingface dataset:
From: brauge@irisa.fr (Jerome Brauge,api(quinton))
Newsgroups: comp.sys.amiga.programmer
Subject: Re: LEX and YACC for the Amiga
Date: 3 Sep 92 15:28:23 GMT
Reply-To: brauge@irisa.fr
Organization: IRISA, Rennes, France

In article 21368@irisa.fr, brauge@irisa.fr (Jerome Brauge,api(quinton)) writes:
>In article AA26234@aitgw.ge.com, BYRNE@MUPPET.dnet.ge.com () writes:
>>
>>        Does LEX or an equivalent exist for the Amiga?  I know
>>BISON is the equivalent to YACC but the one I FTP mailed from
>>wuarchive seems to be corrupted (or FTPMAIL is corrupting it).
>>If anyone knows where I can get a working version of these I'd
>>appreciate the info.  Thanks...
>>
>>                        -FB
>
>FLex is on the Fish407, Yacc on Fish419 and Bison on Fish155 and Fish156
New version of Flex is on Fish707
From: jw149s149@cquest.mi.org (Jeff Worth)
Newsgroups: comp.sys.amiga.programmer
Subject: XPR-Library documentation ??
Distribution: world
X-BBS-Software: EXCELSIOR! v0.95f
Date: 28 Aug 92 12:07:25 EST
Organization: Not an Organization

I am trying to get some documentation on using the xpr.libraries.  If anyone 
know where (ftp.site) these doc can be found I would appreciate it.

Thanks...  Crayon de Panique

jworth@emunix.emich.edu
From: Roger_Martensson@p3.f607.n901.z92.badnet.bad.se (Roger Martensson)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: To learn
Date: 24 Aug 92 20:00:08 GMT
Reply-To: Roger_Martensson@p3.f607.n901.z92.badnet.bad.se (Roger Martensson)
Organization: The Third Point, Mellansel, Sweden
OD-Comment-To: Dave_Ryder

Blah Dave !

Blah blah blah blah blah blah blah
about " To learn " blah blah. (5:24:00, 15-Aug-92)


 DR> The reason I want use the C program. I like to make a game and a demo
 DR> or intro by using C. Can anyone give me some source codes for doing a
 DR> intro? +++ Author: Dave Ryder, Red Oracle Bbs/Network --- OD 0.0.1

Hmm. If you're think of making a megafast, noisy game/demo I think you should
go for machine code.

/Rm - InterNet: Roger_Martensson@p3.f607.n901.z92.badnet.bad.se
---
From: chrisg@cbmvax.commodore.com (Chris Green)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: ClearEOL and SetAPen
Date: 2 Sep 92 17:56:06 GMT
Reply-To: chrisg@cbmvax.commodore.com (Chris Green)
Organization: Commodore, West Chester, PA

In article <65079@cup.portal.com> Lee_Robert_Willis@cup.portal.com writes:
>In article <paulk.1av8@terapin.com> paulk@terapin.com (Paul Kienitz) writes:
>>THe latest Amiga Mail had a nifty article about tricks to optimize your
>>graphics & intuition rendering in windows.
>
>Out of curiousity: _Why_ is SetAPen() slow?  What is involved in changing
>the pen color besides simply storing the new value?
>
	SetAPen figures out new minterms for the blitter, based on the DraMod
and BPen.
	Reports of its slowness are greatly exaggerated (at least under >2.0).
-- 
*-------------------------------------------*---------------------------*
|Chris Green - Graphics Software Engineer   - chrisg@commodore.COM      f
|                  Commodore-Amiga          - uunet!cbmvax!chrisg       n
|My opinions are my own, and do not         - icantforgettheimpression  o
|necessarily represent those of my employer.- youmadeyouleftaholeinthe  r
|"A screaming comes across the sky..."      - backofmyhead              d
*-------------------------------------------*---------------------------*
From: jk72+@andrew.cmu.edu (Jonathan Michael Kraly)
Newsgroups: comp.sys.amiga.programmer
Subject: Modula-2
Date: 28 Aug 92 09:23:25 GMT
Article-I.D.: andrew.Qeba4B200awK0CyV89
Organization: Freshman, Electrical and Computer Engineering, Carnegie Mellon, Pittsburgh, PA


	I've been using an old version of  Benchmark Modula-2 and was wondering
if there was any easy to use the new functions in 2.0, without upgrading
the package.  I haven't felt liking learning C yet, and would rather
stay with mod-2 , until I become more familiar with programming the
Amiga.  Any thoughts?
*jk72@andrew.cmu.edu*
From: TEW105@psuvm.psu.edu
Newsgroups: comp.sys.amiga.programmer
Subject: SAS/C 6.0 upgrade notices
Date: 23 Aug 92 18:30:18 GMT
Organization: Penn State University

Has anyone received the 6.0 upgrade notice yet?
I haven't heard anything from SAS since I bought 5.1 (and I did return my
card) except from one or two product catalogs, which I got after I called them
and inquired about the a and b upgrades, at which point I had to give them
my name, address, serial number, etc. because that didn't seem to have it then
and it seems they managed to lose it again.
+L8R+                                +Every time I try to pick it up its like
HonuS  internet: TEW105@psuvm.psu.edu|falling sands, as fast as I pick it up it
+---+  bitnet:   TEW105@psuvm        |runs away through my clutching hands...
Disclaimer: +-Look Ma, only 5 lines--+                            -The Cure
  The big wigs at PSU wish they could come up with opinions as good as mine!
From: mbs@adastra.cvl.va.us (Michael B. Smith)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: More GADTOOLS questions...
Date: 2 Sep 92 22:36:42 GMT
Organization: Private UUCP Node
X-NewsSoftware: GRn 1.16f (beta) by Mike Schwartz & Michael B. Smith

In article <1992Sep2.125721.20386@sparky.imd.sterling.com> chris@.IMD.Sterling.COM (Chris Olson) writes:
>       1)  Is there anyway to get the current status of a cycle gadget
>           from gadtools?  (Like getting the string from a string gadget)
>
>       2)  How about list, check boxs and mutual excludes?

Nope. Not "legally". Although there are some pretty decent hacks on 2.04
you can use, but they aren't "legal" (hint: a gadget is a gadget is a....).

>       3)  Is there some good example code that I can read?  So far my
>           program seems to be working out just fine, but I'd like too
>           do things the right way...

>       4)  I remember reading a discussion on how to simulate a requester
>           a while back.  Anybody remember what the consensus was?

Take a look at requesters.c of GRn-1.16e-src.lha -- the code is pretty
clean, I think.

V37 of gadtools.library has some weirdnesses when GT messages get queued up.
It tends to cause the machine to lock up. GRn opens a 1x1 requester whenever
it is "busy", and uses windows to simulate requesters.

The problem with real requesters is that GT's aren't locked out, unless they
are explicitly disabled (not a chance you'd do that for speed purposes if you
have more than one). So, if the user goes clicking away around the screen,
you've got a hung machine....(it is quite possible that Myke or I did something
wrong in GRn -- but we don't think so, and no one has pointed it out to us).
--
  //   Michael B. Smith
\X/    mbs@adastra.cvl.va.us  -or-  uunet.uu.net!virginia.edu!adastra!mbs
From: heinz@edohwg.UUCP (Heinz Wrobel)
Newsgroups: comp.sys.amiga.programmer
Subject: Re:  Manx C and Boopsi Question
Date: 27 Aug 92 18:27:29 GMT
Organization: Edotronik GmbH

In article <1992Aug27.133930.559@csc.canterbury.ac.nz> cree@elec.canterbury.ac.nz (Michael Cree) writes:
>format. The Manx linker can use the standard Amiga format libraries
>because it mistakes them for object files and so includes the whole
>damn thing. Which means you get pages and pages of warning messages
>for doubley defined functions (some in both c.lib and amiga.lib) and

Do you use the +l option for Amiga libraries?

>Michael Cree				   Gold there is

--
Heinz Wrobel, Edotronik GmbH (ECG018)
FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
From: mks@cbmvax.commodore.com (Michael Sinz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Testing a custom trap handler
Date: 2 Sep 92 12:02:53 GMT
Reply-To: mks@cbmvax.commodore.com (Michael Sinz)
Organization: Commodore, West Chester, PA

s442013@nexus.yorku.ca (Ray Frederick) writes:
>I have a custom trap handler that I would like to test in Supervisor Mode
>on my A3000. I am using Powervisor to step through the code but as soon as
>I move the address of the handler to tc_TrapData, the computer executes
>the code and stops at the RTE. In order to step through the trap handler
>I would like to put my User program in Supervisor mode so I have access to
>the usp and other privileged instructions. I'm also hoping this will allow
>me to step through the code.
>
>Basically, I would like to set bit 13 of the SR from a user program so
>it will have Supervisor access to the instructions.

Well, a use program really can't be in supervisor mode very easily
since just changing the SR would end up with the wrong stack.

There are EXEC calls to do such things.  There is the Supervisor()
call which will run some code in supervisor state.  When that code
returns you should be back where you where.  (It is a function
call that takes a function pointer...)

There is also SuperState() and UserState() that bounce you in/out of
supervisor state.

See the EXEC autodocs for more information on these calls.

***NOTE***  Being is supervisor state means that there are a number of
things that you can not do.  You can *not* call anything other than
the EXEC calls that are available in interrupt state.  Also, when in
supervisor mode, you can *not* cause the system to Wait() in any
way since being in supervisor state is a special form of Forbid()
that can not be broken safely.  (IE : It may seem to work for a few
tries but then will suddenly not and for good reason too...)

/----------------------------------------------------------------------\
|      /// Michael Sinz  -  Senior Amiga Systems Engineer              |
|     ///                   Operating System Development Group         |
|    ///   BIX:  msinz      UUNET:  mks@cbmvax.commodore.com           |
|\\\///                                                                |
| \XX/     Quantum Physics:  The Dreams that Stuff is made of.         |
\----------------------------------------------------------------------/
From: epang@fraser.sfu.ca (Eugene Pang)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Manx C and Boopsi Question
Date: 29 Aug 92 05:22:13 GMT
Article-I.D.: sfu.epang.715065733
Organization: Simon Fraser University, Burnaby, B.C., Canada

cree@elec.canterbury.ac.nz (Michael Cree) writes:
>Or better still, maybe one of the Commodore guys would like to post
>the source code to the routines from amiga.lib that were introduced
>into version 37??? Or would that be violating copyright?

Oh right...copyrighted assembler glue code.

I believe the missing c.lib stuff has been corrected in the 5.2b libraries
(betas released back in early July).  Check the Manx BBS or their BIX library.
Newsgroups: comp.sys.amiga.programmer
From: tsm2124@ritvax.isc.rit.edu
Subject: gcc 2.2.2
Reply-To: tsm2124@ritvax.isc.rit.edu
Organization: Rochester Institute of Technology
Date: Wed, 2 Sep 1992 04:55:34 GMT

Can someone tell me where I can ftp gcc 2.2.2?

		Thanks,
		Todd Major
From: heinz@edohwg.UUCP (Heinz Wrobel)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Distressed Damsel needs C Compiler!
Date: 25 Aug 92 20:31:54 GMT
Organization: Edotronik GmbH

In article <1992Aug24.221838.1444@infonode.ingr.com> dianne@dianne.NoSubdomain.NoDomain (Dianne Ferrans ) writes:
>Hello!
>
>I am looking for someplace to get a simple C-compiler (no fancy
>window stuff, I'm talking stdio, strings, and math.h!) for my
>Amiga?  And, what's this "DICE" all about?
>
>Either:
>
>1.  Where can I get an o.k. one for free?

There is some simple stuff on fish disks. DICE should be available there,
too. If you register you get more stuff, I think.

>2.  Where can I get a decent one cheap??

Some people really like DICE. It is inexpensive to register. Another non
commercial one is the GNU C++ compiler. You need a major Amiga setup to run
it, but it's basically free. I list it here because the requirements for it
cost money...

>3.  If I buy one mainstream, what is recommended? (I subscribe to
>    AMIGA world, so reference something in there)

Currently I definitely recommend SAS/C. I switched over from Manx Aztec C
because I found SAS/C to be a lot more flexible and because I couldn't do
things wit Aztec C easily. (I got nothin' to do with 'em, ya know...)

>* D. D. Ferrans	   ! "I like to make everyone's day a little    *
>* Software stylist	   !  more surreal"                             *
	    ^^^^^^^

What exactly do you do?


--
Heinz Wrobel, Edotronik GmbH (ECG018)
FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
From: walker@twix.unx.sas.com (Doug Walker)
Subject: Re: SASC 6.0 (food for thought)
Originator: walker@twix.unx.sas.com
Date: Wed, 26 Aug 1992 13:07:32 GMT
Organization: SAS Institute Inc.


In article <1992Aug25.221919.12437@ccu.umanitoba.ca>, kaarts@ccu.umanitoba.ca (Kenneth John Aarts) writes:
|> In general, what is the average speedup for a generic program by generating
|> 030 specific code?

It depends on what the program is doing and how it is doing it.
The '030 has a lot of new addressing modes, so if you are doing
a lot of memory-indirect references it could speed you up.

I got curious and tried the Dhrystone 2.0 benchmark on my A3000.
I got the following results:

      V5.10, 68000:   6362.7 Dhrystones/sec

      V5.10, 68030:   7287.4       "

      V6.0,  68000:   8039.4       "

      V6.0,  68030:   8708.3       "

This was with full optimization and registerized parameters
in both versions.

-- 
  *****
=*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
 *|. o.| ||                                          1200/2400/9600 Dual
  | o  |//     For all you do, this bug's for you!
  ====== 
usenet: walker@unx.sas.com                            bix: djwalker 
Any opinions expressed are mine, not those of SAS Institute, Inc.
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: 1.2, 1.3, and 2.0 question
Date: 30 Aug 92 02:23:32 PST
Organization: BBS

> The problem appears that under 2.0 I do not have a problem running
> the programs this way(i.e. Execut("program",0,0); ) People have
> reported they do not run(guru, lockups, inconsistant behavior)
> under 1.3.  I am using Execute, not System.
 
Maybe the programs being run are opening "*".  If this does not
produce a valid filehandle, blooey.  2.0 may have better defenses
than 1.3 did.  Workaround: put the fh_Type value of a valid
filehandle in your process's pr_ConsoleTask field -but NOT a
filehandle made by opening NIL:.  The NULL: handler can be used to
discard output to "*" this way.
From: eb15+@andrew.cmu.edu (Edward D. Berger)
Newsgroups: comp.sys.amiga.programmer
Subject: StackSwap() examples???
Date: 4 Sep 92 06:06:54 GMT
Article-I.D.: andrew.0edqpyy00WB_N3a0NE
Organization: Pittsburgh Supercomputing Center, Carnegie Mellon, Pittsburgh, PA

I currently have a function that can check my program's stacksize against
a minimum value.  I would like to change this from just checking the
amount available to changing it automatically so that the user doesn't
ever have to see a "Stack size is too low" abort message, if they do
something like change an Icon's tooltype to my program and start it that
way.  In the NATDEV20 autodocs there is a function StackSwap() and I
would like to see an example of how to use it.  How to allocate the
memory correctly, what to copy over to the allocated memory, etc.

Here is my current function:
#define MIN_STACK  18000

BOOL check_stacksize()
  {
    BOOL success = FALSE;
    register struct Process *Process;
    struct CommandLineInterface *CLI;
    long stacktest = MIN_STACK;

    /* Checking Stack Size is greater than  MIN_STACK */

    Process=FindTask(0L);

    if (CLI=(struct CommandLineInterface *)(Process->pr_CLI<<2))
/* Process is from CLI, Actual stack is: CLI->cli_DefaultStack<<2 */

      {
       if ((CLI->cli_DefaultStack<<2)>=stacktest) success = TRUE;
      }

    else
/* Process is from WB, Actual stack is: Process->pr_StackSize */

      {
       if ((Process->pr_StackSize)>=stacktest) success = TRUE;
      }

    return(success);
  }


-Ed Berger
eb15@andrew.cmu.edu
From: rwm@atronx.OCUnix.On.Ca (Russell McOrmond)
Date: 26 Aug 92 22:10:13 EST
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SAS/C 6.0 Details (LONG!)

walker@twix.unx.sas.com (Doug Walker) writes:
>6.0.  However, with 5.10, the installation script did ask you 
>whether you wanted to install 1.3 stuff, so I don't understand
>what the problem was with installation.  Did you call technical 
>support?

  All scripts I got, including the upgrades to 5.10a and 5.10b had
the '2.0' stuff as 'optional', and the 1.3 stuff as required.  No, I
did not call technical support as I assumed since the scripts specifically
stated this that this was the 'intended' operation.

  When I installed SAS 5.10, it was on an A3000 that I had already removed
the 1.3 partition off of as I felt AmigaDos 1.3 was a waste of disk space.
If the option existed at any point, I would have used it.

  The basic statement is that 6.0 will allow me to install *ONLY* the
2.0 includes, which will make installation and upgrades easier.

>=*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
--
  Opinions expressed in this message are my Own. I represent nobody else.
  Russell McOrmond  rwm@Atronx.OCUnix.On.Ca Net Support:(613) 230-2282(V.32Bis)
  FidoNet 1:163/109 Welmat Help 1:1/139  Current WELMAT 'keeper of sources'.
From: jworth@cquest.mi.org (Jeff Worth)
Newsgroups: comp.sys.amiga.programmer
Subject: ZOOM Coordinates
Distribution: world
X-BBS-Software: EXCELSIOR! v0.95f
Date: 29 Aug 92 13:03:03 EST
Organization: Not an Organization

This might be a simple question for someone to answer but Is something that I 
have been looking for and can't find.  I need to have a program look up the 
window definitions for it's zoomed state.  What pointes to them from the 
windows struct?

jworth@emunix.emich.edu
From: walker@twix.unx.sas.com (Doug Walker)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SAS/C patches.
Date: 28 Aug 92 14:45:17 GMT
Organization: SAS Institute Inc.
Originator: walker@twix.unx.sas.com


In article <1992Aug27.072731.28563@usage.csd.unsw.OZ.AU>, peteru@hydra.maths.unsw.EDU.AU writes:
|> In article <BtLEoF.22s@unx.sas.com> walker@twix.unx.sas.com (Doug Walker) writes:
|> > There is a patch to the V5.10 CPR 
|> 
|> Where does one get generaly patches for SAS/C? I hope that it doesn't work
|> on the principle - you have a problem, you ring SAS, they send you a fix.

You call or write SAS technical support.  They will send you a fix.  
Every so often, we batch up the fixes and create a new numbered 
release (5.10a, 5.10b and so forth.)  The latest fixes are also
available on BIX.

|> I am hoping that there are/will be binary patches available on FTP sites
|> to fix up problems.

We don't have access to an FTP site to use for this.  Starting with 6.0,
however, we will offer support via internet mail.

|> Alternatively SAS should send them out every couple of months, if they do
|> not think that making them available for FTP is a good idea.

I don't think many people would be willing to pay enough for this
service to come close to covering costs.  Therefore, we've taken
the approach of solving problems that are reported to us and 
assuming that anyone else either hasn't encountered the problem
or is working around it.

We hope to be able to make 6.0 patches freely redistributable, 
which should help make them much more easily obtainable.  Our
legal department is looking into this now.

|> Peter Urbanec				  peteru@hydra.maths.unsw.oz.au

-- 
  *****
=*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
 *|. o.| ||                                          1200/2400/9600 Dual
  | o  |//     For all you do, this bug's for you!
  ====== 
usenet: walker@unx.sas.com                            bix: djwalker 
Any opinions expressed are mine, not those of SAS Institute, Inc.
Newsgroups: comp.sys.amiga.programmer
From: wild@nessie.cs.id.ethz.ch (Markus Wild)
Subject: Re: InfoView
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Date: Mon, 31 Aug 1992 15:37:54 GMT

In article <jakobi.715265856@unknown> jakobi@Informatik.TU-Muenchen.DE (Peter Jakobi) writes:
>>And you did remove any TERMPATH variable from env: and envarc:? This is in 
>>the README as well...
>
>Sorry to say:
>
>That's insufficient, Markus!
>You have to path the Olaf Barthel's TERM program (at least I did so) since it
>refuses NOT TO SET the TERMPATH variable. To avoid trouble, TERM now sets its
>path in the environment variable 'OBARTHEL' :-))

GRIN... I know Term is rather rude in installing itself in envarc:, but I
thought that newer versions have a an alternative (isn't there a TERM: assign?)
$OBARTHEL looks nice ;-))

>You have implemented a UNIX to Amiga filename translator, so 
>setenv TERMPATH /USR/SHARE/MISC/TERMCAP works as wanted ...

as wanted? How's want this path in uppercase? shudder.. ;-)))

>Example: the SH port in gcc2.2.2
>let's type:
>#d:type s:Startup-sequence
>   returns file not found, where d: is an assign to a directory with a 'type' program 
>
>   needless to say that 'type /s/startup-sequence' is not quit the same as the
>   wanted 'type s:startup-sequence' ...

What's the difference then?

Nah, the problem with ksh was, that I wanted it to be as compatible as 
possible with the Unix thing, so I could run various configure scripts 
written for /bin/sh under AmigaDOS. With that goal, it was not acceptable to
give the colon the special meaning it has in amigados, the colon is needed
as a path-separator.

>Is there any environment variable to fix this kind of behaviour FOR ALL IXEMUL-
>programs ?
>So it can be turned on and off at will, and gcc-compiled programs understand
>amiga pathes, too ?

Hmm.. you're not talking about the various options to ixconfig that fine-tune
this parsing, do you?

>BTW: where is the .profile, or whatever for SH, located ?

The default is in RAM:, if you set a $HOME variable, it's there.

-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.