HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.sys.amiga.programmer
Reply-To: dmb@hplb.hpl.hp.com

Alright, there seems to be loads of you SAS C users around, so convince
me that its the best, and does anybody know its UK price?? From the
other messages I`ve seen it appears to be AmigaDos 2.0 and `040
compatable, Correct ? Any other relavent info would be useful.

'Aha, a man with a sharp wit, somebody had better  | sh@hplb.hpl.hp.com
     take it away from him before he cuts himself' | insert std disclaimer



Newsgroups: comp.sys.amiga.programmer
From: dhogan@physics.su.OZ.AU (Damien Hogan)
Subject: Mac emultors.
Organization: School of Physics, University of Sydney, Australia
Date: Thu, 3 Sep 1992 07:18:22 GMT

A friend of mine is considering buying an Amiga but will need to run some Mac
software as well. If anyone has any experience of these boards (e.g. Amax II)
could you please post any comments you have on them. In particular if you know 
of any Mac programs that will not work on these cards I would be most grateful.

Damien.


Newsgroups: comp.sys.amiga.programmer
From: walker@twix.unx.sas.com (Doug Walker)
Subject: Re: SASC 6.0 (food for thought)
Originator: walker@twix.unx.sas.com
Date: Tue, 25 Aug 1992 17:47:27 GMT
Organization: SAS Institute Inc.


In article <1992Aug25.163419.6513@ccu.umanitoba.ca>, kaarts@ccu.umanitoba.ca (Kenneth John Aarts) writes:
|> In the almighty effort to crank that last bit of speed out, is there any way
|> to get 030 versions of the executables that come with the compiler?  That
|> ought to help a little bit.

We tried this with 5.10, and found that the speed increase was
negligable (~5%).  The compiler just doesn't seem to benefit much
from the difference.

I'll put it on the list to try it again, and if it gains us enough
improvement we'll consider issuing an '030 version, but the gains
would have to be pretty significant to offset the added technical 
support complexity.

-- 
  *****
=*|_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: ry41@rz.uni-karlsruhe.de (Bernhard Moellemann)
Subject: Re: TypeOfMem()/BltBitMap().
Organization: University of Karlsruhe, Germany
Date: Wed, 2 Sep 1992 11:28:16 GMT

In article <jbickers.0ehb@templar.actrix.gen.nz>, jbickers@templar.actrix.gen.nz (John Bickers) writes:
>
>    1.  Is TypeOfMem() a KS2.0-only function, or did it exist in
>        KS1.2?
It did exist in at least in 1.3 , but I think it was still in 1.2.
But in this releases it was broken in some cases. Please use it only in
2.0 and above.

-- 
 Bernhard Moellemann   <spare space>   Chairman of the Nessy-Fan-Club   //
 internet=zza@rz.uni-karlsruhe.de <space> FIDO=2:241/7506.42  IRC=ZZA  //
 nessynet=008  Lifenet=77:7700/11.42  greetings to my Marsupilami  \\ //
 2000/500 Technical Reference Manual:  "A1000, the original Amiga"  \X/
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: ClearEOL and SetAPen
Date: 1 Sep 92 08:28:29 GMT
Organization: BBS

> > THe latest Amiga Mail had a nifty article about tricks to
> > optimize your graphics & intuition rendering in windows.
 
> The most interesting thing about the article, to me, was that it
> was written by David Joiner.  He is author of Music-X, an Amiga
> MIDI sequencer package, which has excruciatingly slow screen
> updates on the Bar Editor screen.  Even on an A3000.
 
That's funny, my copy says it's by Martin Taillefer.
 
> I wonder if this means David has learned his mistakes now, and will
> fix them in the next version?
 
"Next version"??  ha ha ha ha ...     get Bars&Pipes.
From: d9mats@dtek.chalmers.se (Mats Persson)
Newsgroups: comp.sys.amiga.programmer
Subject: Newest GadToolsBox ?
Keywords: gadtoolsbox, gtb, gadtools
Date: 2 Sep 92 11:58:45 GMT
Organization: Chalmers University of Technology, Gothenburg Sweden

Is there a newer version of GadToolsBox available than 1.3 (37.90) ?

I can't get it to set the IDCM flags correctly if I specify 
my own names for the labels.

It also crashes 2 times out of 3 on startup.

...Mats
From: jbickers@templar.actrix.gen.nz (John Bickers)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: including 68000 code in C
Date: 27 Aug 92 08:54:59 PST
Organization: TAP, NZAmigaUG

Quoted from <1992Aug26.100614.10949@bristol.ac.uk> by ccsw@bristol.ac.uk (EthaStorm):
>          XDEF Loop20
> 
> Loop20:

    Make that:

                XDEF    _Loop20

        _Loop20:

    and you're away.

>     Steff  *8)
--
*** John Bickers, TAP, NZAmigaUG.        jbickers@templar.actrix.gen.nz ***
***    "Radioactivity - It's in the air, for you and me" - Kraftwerk    ***
Newsgroups: comp.sys.amiga.programmer
From: wille@frith.msu.edu (Jeffrey M. Wille)
Subject: Looking for fast bitmap scaling code
Originator: wille@frith.egr.msu.edu
Organization: Michigan State University, College of Engineering
Date: Fri, 4 Sep 92 15:06:20 GMT

Does anyone have some code for fast scaling of bitmaps that they'd 
be willing to share?  I'd like to write a program that magnifies the
screen for the visually impaired.  Thanks.

	-Jeff
From: hribnak@nucleus.cuc.ab.ca (Jim Hribnak)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Getting rid of requesters
Date: 23 Aug 92 00:13:30 MST
Organization: The Nucleus 16 Lines 403-531-9353 -CNet Amiga-

So is there anything else that will do a PATCH for all requestors? I need one
and cant seem to find one anywhere, and dont know much about programming that
sort of thing to do it myself!
From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: 1.2, 1.3, and 2.0 question
Date: Mon, 31 Aug 92 07:07:02 PDT
Organization: The Portal System (TM)

Why not just:
 
   BPTR nil;
   nil = Open("NIL:",MODE_OLDFILE);
   Execute(Command,nil,nil);
  
 This way I get a valid file pointer for both 1.2/1.3/2.0 and don't
 have to worry.  At least I am trying this solution(btw, I Close(nil);
 after the Execute returns).
Newsgroups: comp.sys.amiga.programmer
From: jakobi@Informatik.TU-Muenchen.DE (Peter Jakobi)
Subject: Re: InfoView
Organization: Technische Universitaet Muenchen, Germany
Date: Mon, 31 Aug 1992 12:57:36 GMT

wild@nessie.cs.id.ethz.ch (Markus Wild) writes:

>In article <SIE.92Aug28140811@introitus.fulcrum.bt.co.uk> sie@fulcrum.bt.co.uk (Simon Raybould) writes:
>>Has anyone got InfoView distributed with gcc2.2.2 working ?
>>I just get "Your terminal isn't clever enough" or something like that.

>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' :-))

(This is at least valid for version 2.2 of the communication program TERM)

>-Markus

A related question: 

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

But what about a amiga to unix translator for filenames:

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 
#/d/type s:Startup-sequence
   works fine 
#/d/type s:s* 
   don't know it, but
#/d/type /s/s*
   makes a filename expansion, but provides the amiga-style 'type' command with 
   the unix style matching filenames...

   needless to say that 'type /s/startup-sequence' is not quit the same as the
   wanted 'type s:startup-sequence' ...

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 ?

thanx,
Peter

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



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

This theorem holds for files on a harddisk, too.



Newsgroups: comp.sys.amiga.programmer
From: willw@extro.ucc.su.OZ.AU (William Waring)
Subject: Re: Font-size independence GadTools package
Organization: /etc/organization
Date: Fri, 4 Sep 1992 12:52:46 GMT

In article <9208261339.AA03776@csugrad.cs.vt.edu> pmiller@csugrad.cs.vt.edu (Paul Miller) writes:
>Many of you GadTools programmers have been expressing displeasure with
>the inability to generate font-size independent code from within these
>GadTools interface builders.
>
>If anyone is interested, I have a GadTools front-end package (not a
>builder) which makes it much easier to build in font-size independence
>where it belongs -- when you create your GadTools. This consists of
>a set of routines and standard programming conventions which let you
>generate GadTools gadget lists based entirely on a specific font size,
>with built-in default sizes for most Gadgets. Your resultant code will
>be less than half the size standard font-size independent GadTools
>setup code, and much more readable.

Why bother, when you can use GadToolsBox V1.3 to generate perfectly working 
font adjusting routines for GadTools. I have used GTB to develop all the
windows in my up and coming communications package, X-Comm. It generates code
that can handle almost any font, and also allows proportional. Don't know why
people bother doing it by hand?

Regards,
	Edward
-- 
--
Well I guess I'd better say something witty...
--
Since I hurt my pendulum
From: mwm@contessa.palo-alto.ca.us (Mike Meyer)
Subject: Re: including 68000 code in C
Newsgroups: comp.sys.amiga.programmer
Distribution: world
X-NewsSoftware: Amiga Yarn 3.4, 1992/08/12 15:49:52
Keywords: 
Summary: 
Date: 26 Aug 92 11:24:15 PST
Organization: Missionaria Phonibalonica

In <1992Aug25.023906.8962@ccu.umanitoba.ca>, umfehr06@ccu.umanitoba.ca (John Fehr) wrote:
> Is there any way to simply insert 68000 code in your C programs?  Say I want to
> put some in a for loop or something.

Not portably; otherwise your Amiga C compiler would have to be able to
deal with 8086 assembler. However, most compilers provide some such
functionality. Under SAS/C, use emit() to insert instructions. Under
Manx, use #asm. Both of these cripple the optimizer for that function,
and so should only be used for short functions.

I assume DICE has such functionality, as I've seen Matt use it. I
don't know how it and the optimizer get along, though. GCC (at least
with 2.0) should have asm hooks that let you feed the optimizer
information so it isn't crippled by this process.

I'd avoid this practice if at all possible. If you're doing it for
speed, encapsulate a large enough chunk into assembler that you can
call it as a functioon. Be sure and check to see if your compiler
supports fast calls to asm by passing args in registers, etc.

If you're doing it to do something you can't get to from C, create a
function that does that, and call it. Again, check to see if your
compiler supports fast calls to asm.

	<mike
From: peter@cbmvax.commodore.com (Peter Cherna)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Propgadget Knobcolor
Date: 2 Sep 92 13:34:13 GMT
Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
Organization: Commodore-Amiga, Inc.  West Chester, PA.

In article <1992Sep1.125757.27989@ifi.uio.no> eriks@ifi.uio.no (Erik Saastad) writes:
>
>Is there any way to choose which color the knob on a propgadget should be 
>rendered in?

The prop gadget knob is rendered in the window's BlockPen.  Changing this
will also affect the colors of the menus.  Under 1.3 and earlier, the
colors of the window border will also be affected.
>
>Erik S.

     Peter
--
Peter Cherna, User Interface Development Group, Commodore-Amiga, Inc.
{uunet|rutgers}!cbmvax!peter    peter@cbmvax.commodore.com
My opinions do not necessarily represent the opinions of my employer.
"I believe it's bad luck to be superstitious."

Newsgroups: comp.sys.amiga.programmer
From: walker@twix.unx.sas.com (Doug Walker)
Subject: Re: Manx C and Boopsi Question
Originator: walker@twix.unx.sas.com
Date: Mon, 31 Aug 1992 12:34:12 GMT
Organization: SAS Institute Inc.


In article <hemmer.01yv@hemmer.adsp.sub.org>, hemmer@hemmer.adsp.sub.org (Franz Hemmer) writes:
|> In article <1992Aug27.133930.559@csc.canterbury.ac.nz> cree@elec.canterbury.ac.nz (Michael Cree) writes:
|> > Franz Hemmer (hemmer@hemmer.adsp.sub.org) wrote:
|> > That's exactly what I'm talking about. However, you have missed the
|> > crucial point, which is, the Manx library structure is different and
|> > more sophisticated than the standard Amiga (which SAS follows) library
|> > format. The Manx linker can use the standard Amiga format libraries
|> > because it mistakes them for object files and so includes the whole

While the SAS/C linker can take simple concatenations of object files 
and process them as if they were true object libraries, SAS/C does 
provide a method of getting a true indexed library which is every bit 
as good as the Aztec method.  The provided OML utility calculates an 
index to all symbols in the library to speed linking.  I therefore
think that it is unfair to characterize the Aztec library structure
as more "sophisticated".  The SAS/C system is certainly implemented
more robustly, since it can at least handle the concatenated form
of the library correctly.

|> | Franz Hemmer - Software Developer located in Silkeborg, Denmark, Europe |

-- 
  *****
=*|_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: walker@twix.unx.sas.com (Doug Walker)
Subject: Re: Precompiled Header Prob
Originator: walker@twix.unx.sas.com
Date: Wed, 26 Aug 1992 13:15:29 GMT
Organization: SAS Institute Inc.


In article <77867@ut-emx.uucp>, danbo@ccwf.cc.utexas.edu (Dan Higgins) writes:
|> Gadget0 is in the precompiled header file (should be), so why
|> can't I reference "extern struct Gadget Gadget0;" in my main module?
|> 
|> Surely SOMEBODY uses precompiled header files...so tell me,
|> what am I doing wrong this time?

Sorry this took me a while to respond, I didn't see your posting the
first time and only looked back for it when I saw a reply.

You cannot define data or code in a precompiled header file.
You can only declare it.

Here's some examples of definitions:

   struct Gadget Gadget0;
   int func(int x, char *y);

Here's some examples of declarations:

   extern struct Gadget Gadget0;
   int func(int x, char *y)
   {
      return(0);
   }

If you are building a precompiled header file, the compiler
automatically converts all definitions to declarations.

You must define the data in a header file that is not included
in the precompiled header or in your C source file.

-- 
  *****
=*|_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: petter@pnilsen.UUCP (Petter Nilsen)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SimpleRexx 2.0
Date: 28 Aug 92 13:51:01 GMT
Reply-To: cbmehq!cbmnor!pnilsen!petter@cbmvax.commodore.com
Organization: Ultima Thule Software
X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith

In article <1992Aug27.120316.2063@cas.org> vjh21@cas.org (Vince Herried) writes:

> Does anyone know where I can get the source to SimpleRexx 2.0 by Michael  Sinz (sp?)  
> 
> I found an earlier version but it ain't the same.  
> I would rather not have to key in the 12 or so pages so that 
> I can use the examples.  Heck somehow I got the
> idea that it was going to include a disk???

I have this book and there should be a disk included. At least I got the disk.

---
\\\\\\ Snailmail:                                               |\
 \\\\\\   Petter Nilsen, Box 1121, N-9601 HAMMERFEST, NORWAY    | \
  >>>>>>========================================================|  >
 ////// UUCP: cbmehq!cbmnor!pnilsen!petter@cbmvax.commodore.com | /
////// ->    Save the whales -- collect the whole set !     <-  |/
Newsgroups: comp.sys.amiga.programmer
From: giguere@csg.uwaterloo.ca (Eric Giguere)
Subject: Re: SimpleRexx 2.0
Organization: Computer Systems Group, University of Waterloo
Date: Thu, 27 Aug 1992 19:36:42 GMT

In article <1992Aug27.120316.2063@cas.org> vjh21@cas.org (Vince Herried) writes:
>Some time back I ordered from CATS the 2.0 native developers disks
>and the programmers guide to AREXX.  Well the mail arrived....
>
>The AREXX guide consists of a soft bound book that is full of examples
>using something called SimpleRexx 2.0.   

You _should_ have also received a diskette with the complete source code
to all the programs in the manual.  Obviously something got screwed up.  I
wish Commodore would just let me put simplerexx 2.0 up for FTP, but until
they do all you can do is phone CATS and ask them to send you the diskette.
The $20 is supposed to be for the diskette and the book.

-- 
 Eric Giguere                                    giguere@csg.UWaterloo.CA
          So is Windows NT short for "Windows, NOT?"  
Newsgroups: comp.sys.amiga.programmer
From: kxs5829@ultb.isc.rit.edu (K.X. Saunders )
Subject: Re: Question about GCC and DICE?
Originator: kxs5829@ultb
Organization: Rochester Institute of Technology
Date: Wed, 2 Sep 1992 19:11:41 GMT

In article <L4gBr*p02@emcamiga.UUCP> emcamiga!malcolm@redpoll.neoucom.edu writes:
>I recently, in the last day or so, installed GCC 2.2.2 on my system and
>from what I can tell it works ok. The question I have is about acquiring
>Commodore's 2.0 header files for use with GCC.
>
>I'm planning on getting a registered copy of DICE and have a few questions
>about it. 
>
>  1.  Does the registered version of DICE come with CBM's 2.0 headers and
>      libraries?

	Yes.

>  2.  Will the 2.0 headers and libraries that come with DICE also work with
>      GCC or will I have to get them seperately?

	Yes.  This is my setup.

>  3.  I'd also like to know how others feel about DICE as compared to SAS &
>      Manx.

	I don't know about Manx, but if I had the money, I would take SAS 6.0
over the version of DICE that I have.  I do have to say that DICE has a lot of
nice features and when all the bugs are out, it will be a nice system.

>  4.  How ANSI compatible is DICE? I take source code between systems quite
>      frequently (Amiga Manx, MS-DOS Borland C++ and HP Unix systems at 
>      school).

	You shouldn't have too many problems.

	- Kyle

-- 
+-"Remember, [MS]DOS is sort of a UNIX deviant already" - dmoscny@piglet.-----+
|    // Only /\          kxs5829@ultb.isc.rit.edu                 cincinatti. |
| \ //      /--\MIGA     kyle@nick.csh.rit.edu                    oh.us       |
| \X/ SQLdb - $40 rdbms  Rochester Institute of Technology                    |
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: A4000, really?
Date: 28 Aug 92 17:46:10 GMT
Organization: BBS

> I would assume it's going to be 68040 based, and hopefully include
> a new set of more powerful graphics chips.
> 
> I anybody has some documentation, or even a rumour or two, I'd be
> very interested in hearing about it.
 
Whatever it is should be shown publically at the forthcoming World of
Commodore show(s) in a few weeks.
Newsgroups: comp.sys.amiga.programmer
Subject: Modem speed
From: landall_v@kosmos.wcc.govt.nz
Date: Mon, 24 Aug 1992 04:37:48 GMT
Organization: Welligton City Council, Public Access.

Hi

Does anyone know how to find the highest speed that a MODEM can handle eg
2400 baud using software?

THANKS
-landall_v@kosmos.wcc.govt.nz


Newsgroups: comp.sys.amiga.programmer
From: mjl@newton.auto.tuwien.ac.at (Martin J. Laubach)
Subject: Re:  SASC 6>.0
Organization: Technical University of Vienna
Date: Wed, 26 Aug 1992 19:11:44 GMT

|> Does CodePRobe use the current system font now correctly?
|> 
|> If not, I sure hope it has at least topaz 8 _hardcoded_

  No and yes.

	mjl
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Manx C and Boopsi Question
From: cree@elec.canterbury.ac.nz (Michael Cree)
Date: 1 Sep 92 12:25:25 +1200
Organization: Electrical Engineering, University of Canterbury, New Zealand
X-Newsreader: Tin 1.1 PL5

Heinz Wrobel (heinz@edohwg.UUCP) wrote:
: 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?

Woops, forgot about that one. Must check the manual again :-)

: Heinz Wrobel, Edotronik GmbH (ECG018)

-----------------------------------------------------------------------------
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: entity@nsq.uucp (cybernetworx)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Locking Window Input -- How?
Date: 1 Sep 92 14:47:47 GMT
Organization: NSQ

In article <sysop.0csc@alphanet.alphanet.ch>, sysop@alphanet.alphanet.ch (Marc SCHAEFER) writes:
> In article <302@nsq.uucp> entity@nsq.uucp (cybernetworx) writes:
> >Ok, I need to know how to do the following as I don't think it's supported by
> >the operating system:
> 
> Yes it is. Close the other windows.

Gee, thanks. You're so witty.  If you didn't mean it as a joke, then the point
is that I need to keep all the other windows active.  In any case, I've gotten
various replies to this, and I think I've got one that might actually do
exactly what I need.  The basic idea is you take your current screen and save
all the IDCMP flags for all windows on that screen.  Then you nullify their
IDCMP flags for the duration that my window is open and restore them when I
close my window.  Of course I'll patch CloseWindow and CloseScreen to make
sure that nothing hokey happens by putting in my own additional checks.
 
The idea of having your window send an INACTIVEWINDOW and calling
ActiveWindow() at this signal will probably not work well because it's slow.

Newsgroups: comp.sys.amiga.programmer
From: ST25370@VM.CC.LATECH.EDU
Subject: GCC 2.2.2 Help
Organization: LOUISIANA TECH UNIVERSITY
Date: Wed, 26 Aug 92 15:09:00 CST

 
I'm having trouble with GCC 2.2. under KS 1.3 (cc1 refuses to load because of
insufficient free store).  Is there anyone out there runing 2.2.2 under KS 1.3
that can help me out?
 
 
Bill Jamison
rwj@engr.latech.edu