HDTenEightyP/NetNews huggingface dataset:
From: nilsco@ifi.uio.no (Nils Liaaen Corneliusen)
Subject: Blink vs Enforcer/Mungwall
Organization: Dept. of Informatics, University of Oslo, Norway
Date: Thu, 1 Oct 1992 14:12:19 GMT
Originator: nilsco@simlenosi.ifi.uio.no


I am having trouble using Blink and Enforcer/Mungwall together.
If I start Enforcer, Mungwall and Sushi and the use Blink to
link something, two hits are generated at $8. Then it gurus
with a "friendly" #80000003. Anyone know what to do? I am
using Blink 5.10 from the SAS/C 5.1 package.


------------------------------------------------------------
INCLUDE "disclaimer.i"                     snail-mail:
Nils Corneliusen                           Heyerdahls vei 17
internet: nilsco@ifi.uio.no                OSLO, Norway
From: itti@aphrodite.enst.fr (Laurent Itti)
Newsgroups: comp.sys.amiga.programmer
Subject: Determinig visible part of a Screen ?
Date: 6 Oct 92 13:27:32 GMT
Organization: Telecom Paris, France

Hello,
I want to animate a bouncing sprite on an intuition Screen, in a
system-friendly & multitasking software.
But this sprite should not go out of the visible part of that
particular screen (and then also diseappear if the screen is totally hidden)

So : how can I determine which part of my custom screen is actually visible
(if it has been dragged down a little, for example) ??

(perhaps scanning the screen structure of all screens and then, using
their respective screenX and screenY, compute what in my screen is visible ?
is there a simplier way ?)

Thanks,

Laurent Itti (itti@inf.enst.fr - Club Amiga Telecom Paris)
Newsgroups: comp.sys.amiga.programmer
From: gregg@cbnewsc.cb.att.com (gregg.g.wonderly)
Subject: SAS/6.0 Bugs...
Organization: AT&T
Date: Sat, 3 Oct 1992 02:29:58 GMT

I found the following problem in SAS/6.0.

	    An #undef of a symbol in a .c file which is being used to
            create a GST results in that symbol always being undefined
            even if it is redfined in that file.  If main.c contains
	    the following

		#include <stdio.h>
		#undef NULL
		#define	NULL 0

		#include "file.c"

	    "file.c" contains a usage of NULL.  When compiling, the
	    reference in file.c will result in an undefined symbol
	    error.  

I have a couple of suggestions for enhancements too.  scmsg should take
vanilla key events and pass them to the arexx port too.

With all of the PD makes and diffs available, why in the world are
smake and diff part of the distribution?  diff, in particular is
pretty much useless with tools such as patch.  smake is just plain
painful to try and figure out because it is so incompatible with
so many other makes.  All of the magic is more confusing than the
functionality that it provides...  In particular, why in the
world can't I do the following???

prog: ${OBJS}
	list lformat="%s:%s" foobar:#?.o >obj.list
	sc $(LDFLAGS) with obj.list pname=$@
From: mctaylor@mta.ca (Michael C. Taylor)
Newsgroups: comp.sys.amiga.programmer
Subject: How to Find AppShell
Date: 26 Sep 92 16:54:20 GMT
Reply-To: mctaylor@mta.ca
Organization: Mount Allison U, Sackville, N.B. Canada

I was wondering how I could get AppShell from CATS? I am not a devloper, but
a lowly university student who is becoming frustrated by spending all his
time writing code for an interface rather than working on his program.
So can I buy/get a copy of AppShell without becoming a devloper? I am just
trying to minimize costs, to afford SAS/C 6.0 and what ever I'll need to
run WB 3.0 on my Amiga 3000. How can I get WB2.1 and headers/autodocs in Canada?
Is it possible?
From: Roger_Nordin@atb.bbs.bad.se (Roger Nordin)
Newsgroups: comp.sys.amiga.programmer
Subject: HDMem vs GigaMem for virtual memory on Amigas?
Date: 4 Oct 92 16:08:35 GMT
Reply-To: Roger_Nordin@atb.bbs.bad.se (Roger Nordin)
Organization: ANet Test Bench, Karlstad, Sweden
OD-Comment-To: Internet_Gateway

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

That's odd, considering that Dave Haynie says the A4000 has a 68040 -- period. 
Not a 68EC030 or a 68LC040, a REAL 68040. How come you claim it has a crippled 
CPU?

                        _       .    __
    Roger Nordin     _ //      /!Net /est Bench
 2:203/602.0@fidonet \X/  Internet: Roger_Nordin@bad.se

--- 
Newsgroups: comp.sys.amiga.programmer
From: Walt.Namitz@bbs.oit.unc.edu (Walt Namitz)
Subject: GNU C gcc2.1 File pointers
Organization: Extended Bulletin Board Service
Date: Mon, 5 Oct 1992 16:04:32 GMT

I recently wrote a program to read and write files to disk. However I am
having a problem declaring a file pointer. In the function which writes
the file the first line declares the pointer thusly, FILE *fp, which I
assumed would give me a file pointer of type FILE. Every time I compile
the program I get the following errors; 
	'FILE' undeclared and 'fp' undeclared
Does anyone know if GNU C supports pointer variables of type FILE and if
not how do you declare a file pointer?
Thanx in advance. 
--
   The opinions expressed are not necessarily those of the University of
     North Carolina at Chapel Hill, the Campus Office for Information
        Technology, or the Experimental Bulletin Board Service.
           internet:  bbs.oit.unc.edu or 152.2.22.80
Newsgroups: comp.sys.amiga.programmer
From: epang@fraser.sfu.ca (Eugene Pang)
Subject: Re: Speaking of sys errors..
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Sun, 27 Sep 1992 04:26:33 GMT

eyeq@wpi.WPI.EDU (Brent Burkholder) 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.

ShowGuru needs to be updated.  This is a dead-end (unrecoverable) coprocessor
protocol violation, as it aborts any instruction in progress.
From: Lee_Robert_Willis@cup.portal.com
Newsgroups: comp.sys.amiga.programmer
Subject: Re: HDMem vs GigaMem for virtual memory on Amigas?
Date: Wed, 30 Sep 92 16:02:20 PDT
Organization: The Portal System (TM)
Distribution: world
  <1992Sep30.165503.23440@ifi.unizh.ch>

>I can only speak of GigaMem which I'm running right now on my machine.
>It works great.
>
>>How easy are they to install?  
>
>GigaMem has an `Installer' script so it's very easy to install. It
>even automatically detects and fixes incorrect DMA masks on your system.
>
>>What features/bugs are on them?  
>
>GigaMem can manage up to 1 GB of virtual memory. It works on a
>per-program basis, this means you can continue to use programs
>that are incompatible with virtual memory while GigaMem is running. 
>You can individually set memory priorities and settings for each 
>program.

Wow.  Where can one get GigaMem?  Does it come with programmer libraries
so you can write your own program that works with it?

Lee      Lee_Robert_Willis@cup.portal.com
From: stelmack@eggo.tmc.edu (Gregory M. Stelmack)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SAS/C news
Date: 26 Sep 92 03:19:38 GMT
Organization: University of South Florida, Department of Computer Science and Engineering

As a followup (to those of you who, like me, were shocked to see SAS/C reach
your dealer last Monday (the 21st) and are still waiting for upgrades),
apparently distributors with bulk orders were shipped orders directly to
them from the printer, rather than going through SAS. This was according
to the lady from Customer Service I talked to today, wondering why it would
reach my dealer through a distributor before I received my upgrade.
I was also told my upgrade shipped yesterday (Sept. 24th). A date which,
coincidentally, happened to match the expected shipping date on my backorder
letter. Looks like SAS anticipated nicely...

Anyway, since I work for the dealer in question ( :) ) I got to take a look
at the new compiler. It looks SWEET! I am eagerly awaiting my personal copy
at home to take a GOOD look. But, after only a half-hour or so of tinkering
with it, I found a good dozen things I like about the interface. For instance,
compiling a sample program called 'schelp' lets you hotkey CTRL-HELP and pop
up the on-line documentation. You can use the mouse to mark blocks of text
in the editor, rather than having to use CTRL-[ and CTRL-]. And several
others. Plus, it cut one of my programs from 94,000 to 90,000 bytes with just
a recompile. Nice job SAS.

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...
--
-- Greg Stelmack (stelmack@eggo.csee.usf.edu)
-- FullTime Grad Student, PartTime Amiga Salesman, PartTime Amiga Developer
-- Author of: Spades, Pro Port Analyzer Plus, more to come...
-- DISCLAIMER: The opinions reflected here are mine and mine alone.
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: HELP!  My clock is broken!
Date: 4 Oct 92 12:55:43 PST
Organization: BBS

I don't know ... this is more of a hardware problem but I thought I'd ask it
here as well as other places:

Help!  My A3000's clock doesn't work any more.  It keeps resetting
itself back to the last time it was set to by SetClk Load.  The
battery clock works fine but the main clock the system uses keeps
resetting itself backwards.  Infact, it does so every 67 seconds.
67??  I could understand 60, or 64, but 67??
 
Help!  What is wrong with my system?  There is no new software going
since this started ...  I've scanned for viri with Virus_Checker 6.03
(not quite the latest, I know) ...  I'm running KS 37.175, WB 38.28,e way.
 
Is this a hardware failure?  WHAT CAN I DO?
 
Bear in mind that I can't afford any professional repairs now.
 
For the moment I guess I'll just make something to reset the clock
from the battery backup clock every 45 seconds ...
From: Dale_Snell@amwbbs.rain.com (Dale Snell)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: RCS for amiga
Date: 6 Oct 92 00:08:15 GMT
Organization: No Organization

| I was wondering if there was a revsion control system available for the
| amiga much like the one popular among UNIX workstations (rcs, rlog etc..)
 
     Yup.  RCS v5.6c is the latest version that I know of.  I'm not sure
where
it's available on the net these days.  I got my copy from BIX, but I no
longer have Internet access, so I can't FTP it anywhere.  It's probably on
wuarchive.wustl.edu, though, or maybe uunet.uu.net.

--dds

Disclaimer:  All opinions expressed here are mine, and mine alone.  They
have nothing to do with the Amiga Connection BBS, which simply provides me
with a Usenet connection.

-- Via DLG Pro v0.985b
Newsgroups: comp.sys.amiga.programmer
From: ludde@nada.kth.se (Erik Lundevall)
Subject: Re: Aztec C compiler problems
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Tue, 29 Sep 1992 17:07:25 GMT

In article <BvBD4G.LyH@cantua.canterbury.ac.nz>, cree@elec.canterbury.ac.nz (Michael Cree) writes:

|> out there ever had problems with the sqrt() function of the standard 
|> Aztec C ieee maths library (m.lib). I'm running version 5.2 and I am
|> quite certain that the sqrt() function returns nothing but shit. I now

Yes, sqrt() is buggy, as you've noticed. There was a bugfixed sqrt() posted
here a while ago, if I remember correctly.

-- 
-Erik Lundevall             ludde@nada.kth.se 
                            ludde@adder.adsp.sub.org
                            cbmehq!cbmswe!adder!ludde@cbmvax.commodore.com
Your fault. Core dumped.
From: sassek@wonka.unx.sas.com (Steve Krueger)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SAS/6.0 Bugs...
Date: 6 Oct 92 17:34:19 GMT
Organization: SAS Institute Inc.

In article <1992Oct6.070215.4562@desire.wright.edu> fheitkamp@desire.wright.edu writes:
>> 
>	
>	If anybody from SAS connected with the 6.0 C compiler is out there,
>	What is CXERR 582481;  line 235 Fptr 758 mean?
>
This CXERR happens when a single function or module
(can't tell which from the error) is > 32k and the compiler
did not correctly change a 16 bit pc relative reloc to 32 bit
reloc. 

You can force 32 bit relocs for that module by compiling with 
CODE=FAR.
Newsgroups: comp.sys.amiga.programmer
From: "jonathan forbes" <jonathan.forbes@canrem.com>
Subject: nonrecursive qsort
Reply-To: "jonathan forbes" <jonathan.forbes@canrem.com>
Organization: Canada Remote Systems
Distribution: comp
Date: 3 Oct 92 10:34:08 EST

Does anyone have a non-recursive QuickSort implementation?  (similar to
qsort())?

I think someone here mentioned one written in 68000 assembly, and I'd
like to get my hands on it.
--
Canada Remote Systems  - Toronto, Ontario
World's Largest PCBOARD System - 416-629-7000/629-7044
Newsgroups: comp.sys.amiga.programmer
From: gcattley@deva.demon.co.uk (Gary Cattley)
Subject: Re: SAS/C news
Reply-To: gcattley@cix.compulink.co.uk
Organization: Me, Myself and I (Private)
X-Newsreader: Arn V1.00 beta rel1
Date: Sat, 26 Sep 1992 14:44:21 +0000

In article <Bv1xp4.nG@unx.sas.com>, Doug Walker writes:

> 
> Further news, for European SAS/C customers:  the SAS Institute
> subsidiary in Germany will be handling upgrades in Europe (except
> for the U.K., see below.)  Their upgrade price will be
> 
>      DM 195   to version 5 customers and
>      DM 395   to version 4 customers
>      (These prices do not include sales tax.)
> 

 Stuff Deleted..

> 
> Inside the U.K., most customers should already be registered with 
> HiSoft as well as with SAS Institute.  HiSoft will be continuing to
> handle upgrades in the U.K., as they have in the past.  I don't have
> any firm information about pricing or upgrade letters, however, so
> contact HiSoft for more details.
> 
> 
> 
> -- 
>   *****
> =*|_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.


Doug,
      I live in the UK but am NOT registerd with HiSoft, where do I get my upgrade
 from and who will be sending me the upgrade notification.


+--------------------------------------------------------------------------------+
+ Gary Cattley.                            Email:- gcattley@cix.compulink.co.uk  +
+                                             or   gcattley@deva.demon.co.uk     +
+                                                                                +
+             'Never underestimate the power of human stupidity.'                +
+--------------------------------------------------------------------------------+
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Help with Asmembly code needed.
Date: 26 Sep 92 11:32:09 PST
Organization: BBS

> Ah!  An easy one... :-)
> 
>         move.l  #SIGBREAKF_CTRL_C,d1    * mask for ^C signal
>         moveq   #0,d0                   * what to set it to after check
>         jsr     _LVOSetSignal(a6)       * a6 == ExecBase
>         tst.l   d0                      * was it set?
>         bne     Break                   * yes, go handle it!
 
BLAAAT
 
SetSignal returns the state of ALL signals, not just the one you set
in the mask argument.  So you have to test just that one bit in the
return value, with something like btst.l #SIGBREAKB_CTRL_C,d0.
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SAS/6.0 Bugs...
Date: 6 Oct 92 20:06:59 GMT
Article-I.D.: terapin.paulk.1s0g
Organization: BBS

> There should be a project icon (NOT a tool icon) for the make
> utility, you should be able to click on it and shift-double-click
> on a makefile and build the default target in that makefile.
 
Why a project icon for make itself?  Why not a project icon for the
makefile with make as the default tool?
 
> The other "special" thing our smake does is if it's invoked in a
> directory with no makefile, it issues the command
> 
> SC #?.c LINK ERRORREXX MODIFIED
 
I think the PD make I have already has some limited ability to do
default commands when no makefile is present, maybe ... and it has a
startup file for default rules so this could be adapted to different
languages.
 
|> One project I thought I'd do someday was an intuitionized Make
|> replacement.  I had the impression that SAS had pretty much
|> accomplished this.  Am I mistaken?
 
> Given the changes above, you've got it.
 
I was thinking of something more ambitious: something that uses a
gadget interface to eliminate any need to know the syntax of text
makefiles.
 
Am I to understand that the gadgetized option-setter thing for SAS C
does not understand how to build multi-source projects like make?
From: sdm@hemlock.cray.com (Stuart Mitchell)
Newsgroups: comp.sys.amiga.programmer
Subject: Cross-compiling with SPARC gcc 2.2.2 -> amiga
Date: 30 Sep 92 09:51:34 GMT
Organization: Cray Research, Inc.
Originator: sdm@hemlock


Has anybody attempted the above "stunt" ?

I d'loaded the 2.2.2 compiler for the amy, but I think I don't have enough
memory to use it properly as I keep getting "Abort trap" messages from the
cc1 program.

Hence my interest in trying to do some cross-compiling using a SPARC with 
the gcc 2.2.2 compiler - if anybodies tried it and got it working I'd be
very interested to hear from you.

Also, if anybody knows that it won't work and I'm wasting my time, I'd like
to know that too :-) 

oh yeah, this is on an old A500, 1.3, 3M mem, 100M HD, that I'm trying this on.

stuart
-- 
    ___________ _            Mitchell's Law of Committees:  (fortune cookie)
   (_        / ) )               Any simple problem can be made insolvable
_____)tuart / / /itchell__       if enough meetings are held to discuss it.
     (sdm@uk.cray.com)
Newsgroups: comp.sys.amiga.programmer
From: walker@twix.unx.sas.com (Doug Walker)
Subject: Re: AMOS, Shifts (<< & >>), and size of int in bits
Originator: walker@twix.unx.sas.com
Date: Wed, 30 Sep 1992 14:15:13 GMT
Organization: SAS Institute Inc.


In article <paulk.1okm@terapin.com>, paulk@terapin.com (Paul Kienitz) writes:
|> > 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).
|>  
|> I think officially C compilers are supposed to use arithmetic right
|> shifts for signed numbers and logical right shifts for unsigned ones.
|>  
|> A quick check verifies that Aztec, at least, goes by this rule.

You are correct with regards to unsigned and positive signed numbers.
The ANSI standard requires that these be filled with zeroes on the
left after a right-shift operation.

The results on negative signed integers are implementation-dependent,
so it would depend on what compiler you are using.  All SAS/C and
Lattice C implementations on the Amiga do a normal arithmetic right-
shift for negative signed integers.

So the summary, for SAS/C: arithmetic for signed, logical for unsigned.

-- 
  *****
=*|_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: cree@elec.canterbury.ac.nz (Michael Cree)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Aztec C compiler problems
Date: 29 Sep 92 00:24:16 GMT
Organization: Electrical Engineering, University of Canterbury, New Zealand
X-Newsreader: TIN [version 1.1 PL6]

Todd M. Lewis (Todd_Lewis@unc.edu) wrote:
: If you are using any floats or doubles you need to link with m.lib
: first.  ex:   ln foo.o -lm -lc

While we are on the topic of Aztec C floating point operation, has any one
out there ever had problems with the sqrt() function of the standard 
Aztec C ieee maths library (m.lib). I'm running version 5.2 and I am
quite certain that the sqrt() function returns nothing but shit. I now
always use the Amiga ieee math library options (ma.lib) and every thing
works fine. Anyone else ever noticed this?

: Todd M. Lewis / Todd_Lewis@unc.edu / utoddl@guitar.oit.unc.edu

-----------------------------------------------------------------------------
Michael Cree                              Gold there is
cree@elec.canterbury.ac.nz                 and rubies in abundance;
                                          But lips that speak knowledge
                                           are a rare jewel. (Prov 20:15)
------------------------------------------------------------------------------
From: rwm@atronx.OCUnix.On.Ca (Russell McOrmond)
Date: 2 Oct 92 11:19:23 EST
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Multithreaded code using CreateTask()
	<1992Sep27.184243.17993@mpifr-bonn.mpg.de>

dlarson@cbmvax.commodore.com (Dale Larson - Product Assurance) writes:
>continue to be) the usual behavior for many libraries.  Be safe and re-open
>any libraries needed by the child task or process.

  So, HOW do you do this in multi-threaded code?  I myself am using
NewCreateProc() in my code, and all 'globals' (Such as library
pointers) are just that - Global to all processes.  Opening a
library more than once is easy - Having the code work with it being a
different library base is a totally different issue.

  Is there an easy 'system friendly' way to give each Process a different
global variable space (Other than having separate binaries/etc...).
The newest versions of an application I am writing will launch new processes
(Actually, complete processes with a CLI and all) from code that is actually
loaded as part of a library...


  On a related topic, does anyone know of a utility that will work with SAS-C
/Blink that will give a list of the global VARIABLES?  (As opposed to
all references - I'm just looking for the list of global variables).

>Dale Larson, Software Engineer,    |
--
  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'.
Newsgroups: comp.sys.amiga.programmer
From: mctaylor@mta.ca (Michael C. Taylor)
Subject: Help with SAS/C asm interface
Reply-To: mctaylor@mta.ca
Organization: Mount Allison U, Sackville, N.B. Canada 
Date: Fri, 2 Oct 1992 02:36:31 GMT

Could someone _mail_ (don't bother to post it here) either a pointer to a 
sample or mail a uuencoded package of a sample of how in the world to use
asm to write a function and prototype it in C, and call it from C. In other
words I have found some asm code which I want to use in my C program (YAMG)
but I am not an asm programmer so I can't understand the manual (which I left
at home, sigh, maybe I'll remember when I go home for Thanksgiving) and I 
just want a quick way of using it to replace some C code.
	TIA,
	Michael C. Taylor
	internet: MCTAYLOR@mta.ca
From: rvmst1@gl.pitt.edu (Rainer V Mager)
Newsgroups: comp.sys.amiga.programmer
Subject: C Math Libraries (routines)
Date: 26 Sep 92 15:16:33 GMT

Hi,
	I looking for (or looking to create if one doesn't exist) C
routines that give unlimited floating pont resolution.  What I mean is
that I want some math operations (at least + - * /) that will operate on
number larger than the normal maximum number.  I was thinking of storing
the number in some sort of string and then going through digit by digit
to do whatever operations are requested.  Obviously there would have to
be some sort of optional limit given for repeating or never ending
numbers, but you get the idea.  So...does such a library exist?  How
difficut do you think it woiuld be to write such a thing?  Are any other
operations necessary?

		Thanks,
				Rainer
Newsgroups: comp.sys.amiga.programmer