HDTenEightyP/NetNews huggingface dataset:
From: kentd@FtCollins.NCR.com (Kent Dalton)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: GCC - How to debug a program using ixemlib?
Date: 18 Aug 92 13:05:00 GMT
	<1992Aug18.130108.2023@bernina.ethz.ch>
Organization: NCR Microelectronics, Ft. Collins, CO
In-reply-to: wild@nessie.cs.id.ethz.ch's message of 18 Aug 92 13:01:08 GMT

>>>>> On 18 Aug 92 13:01:08 GMT, wild@nessie.cs.id.ethz.ch (Markus Wild) said:

Markus> In article <PPESSI.92Aug18050721@vipunen.hut.fi> ppessi@vipunen.hut.fi (Pekka Pessi) writes:
>	using ixemlib. Is there some way to tell ixemlib that those
>	nasty ILLEGALs are really breakpoints made by my debugger?

Markus> Hmm.. nah, the only way to have is to attach to an already
Markus> running process.  As soon as gdb can use a hunk libbfd.a, i'll
Markus> go for ptrace(), which will enable a special SIGTRAP mode.

Does this mean you're thinking about or better yet, working on, porting
gdb? Please say yes :^). Source debugging is the only thing holding me
back from using GCC to its (my :) fullest potential.

Also, is there a new ixemlib due out anytime soon? Any neat new
features?

Just another GCC fan. :^)

--
/**************************************************************************/
/* Kent Dalton                   * EMail: Kent.Dalton@FtCollinsCO.NCR.COM */
/* NCR Microelectronics          * Phone: (303) 223-5100 X-319            */  
/* 2001 Danfield Ct. MS470A      *   FAX: (303) 226-9556                  */
/* Fort Collins, Colorado 80525  *                                        */
/**************************************************************************/
Now that I have my ``APPLE,'' I comprehend COST ACCOUNTING!!
From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Speculations: Amiga and Mach?
Date: Tue, 18 Aug 92 07:12:08 PDT
Organization: The Portal System (TM)
  <64173@cup.portal.com> <VINSCI.92Aug17224118@nic.nic.funet.fi>

Right, and I have some ocean front property in Kansas to sell you too..!
 
Newsgroups: comp.sys.amiga.programmer
From: vinsci@nic.funet.fi (Leonard Norrgard)
Subject: Re: SAS/C 6.0 Details (LONG!)
Organization: Soft Service, Inc.
Date: 15 Aug 92 02:06:42

> [Lots of stuff deleted]

Doug, how does the new code generator of SAS/C 6.0 measure up against
GCC 2?  Why not post some data?

I have a special interest in the code generation for switch()
statements, as I have large program with lots of those.  SAS/C 5.0
does a mediocre job at generating code for switches, so in November
1990 (I think it was) I asked John Toebes to improve code generation
for switches, and he demonstrated his plan for generating switch
statements that find the correct case to execute through a binary
search, rather than through a linear search.  Has this been
implemented yet?

-- Leonard
Xref: sparky comp.sys.amiga.programmer:12482 comp.sys.amiga.hardware:14304
From: john@becca.rain.com (john meissen)
Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.hardware
Subject: Re:  WB 2.0 on A1000
Date: 20 Aug 92 05:47:26 GMT
Article-I.D.: becca.K9Exr*Lh1
 <heinz.0324@edohwg.UUCP>
Reply-To: john@becca.rain.com
Organization: Washington Valley Software

In article <heinz.0324@edohwg.UUCP>, Heinz Wrobel writes:

> Seriously, my A1000 at home runs KS2.04 since release and I never missed
> 1.3 a minute. Why would anyone want to switch back? Any reliable
> application runs with 2.04. If not, it's not reliable.

Question is, are you still running old peripherals? Anybody else? I have
a couple of A1000's I would like to upgrade, but I'm a bit leary of what
will become of my Pal-JR and SupraDrive.

I would appreciate any comments....email, please, as I don't always get a
chance to read this stuff.

 John Meissen  | john@becca.rain.com 
               | ..!{uunet,qiclab,intelhf,bucket}!m2xenix!becca!john
--------------------------------------------------------------------
  Whether it happened or not, you heard it first on Usenet!
Newsgroups: comp.sys.amiga.programmer
From: gduncan@philips.oz.au (Gary Duncan)
Date: Mon, 17 Aug 92 04:14:11 GMT
Organization: Philips Public Telecommunications Systems, Melbourne, Australia
Subject: GnuAwk; where is latest version ??

I've got the one version (2.10 beta) off Fish disk #406 but it has 
an irritating bug, i.e. temp files are left in T: when gawk is
invoked on the command line like "awk { something ... }".

Anyone know where I can get a later version, with hopefully that
bug and maybe others fixed ?

I _could_ fix it but at the moment I'm pretty busy...

Thanks in anticipation.
-- 
-----------------------------------------------------------------
Gary Duncan			gduncan@rosella.pts.philips.oz.au	
Philips Public Telecommunications Systems    Phone: +61 3 8813666
Melbourne, Australia      		       Fax: +61 3 8813577
Newsgroups: comp.sys.amiga.programmer
From: gimme@solan.unit.no (Olav Gimmestad)
Subject: Re: A needed utility for the Amiga...
Organization: Norwegian Institute of Technology
Date: Tue, 18 Aug 92 15:38:04 GMT

In article <1992Aug17.210327.17193@dartvax.dartmouth.edu>, abs0@coos.dartmouth.edu (Kelvin Leung) writes:
 > mortene@Lise.Unit.NO (Morten Eriksen) writes:
 > 
 > >I was thinking of doing such a utility this summer, but just as the holiday was
 > >getting close, I read in some UK Amiga-mag that sharewareprogrammers got very,
 > >very few registrations on their products. As I was going to release my equation-
 > >editor as shareware I got cold feet, and instead started coding a eurodemo...
 > 
 > >Could somebody out there please let us know if it is possible to make any
 > >money on releasing (good) shareware? (I know there are several guys on the net
 > >who have coded brilliant sharewareprograms, Jonathan Potter, Charlie Gibbs, Eric
 > >Schwartz (well, not exactly coded..) etc etc).
 > 
 If the utility you make is only a demo of the full version , i think some people will
 register and you will make some money. I made a utility one and uploaded it to ab20,
 but I haven't got 1 reply. And a letter from a PD company who wanted to include the program
 on their monthly disk. So I stopped developing it....

 I did not get 1 US$.

 It probably was not worth anything, but my self, I use it every day. I will never release a
 full version of any program any more as shareware. I will only give away demos, and i think that
 is the way to do it.
 
 The utility was not a heavy C-compiler or something mega heavy, but I wanted to test how it
 would be to release a program as shareware. My next project a heavy debug system I am now 
 working on will NOT be shareware.

 
 > >Morten
 > 
 > Honestly speaking, if the registration fee is >=us$30 and it supports
 > intuition, 2.0 3-D outlook, various printer drivers, etc.  I am willing
 > to pay!!!
 > 
 > (come on, people, back me up... we need more utilities!!! :)
 > 
 > Yours Sincerely,
 > Kelvin

 You should pay if you use it, if it is stated that you have to. Even if the 
 registration fee is only $10 it will give the programmer an idea on the interrest
 for an improved version.

 That will give you a new version with all kind of support.
 And then you will get the super version for only $20. $20 + $10 = $30 !
 and it will suport 100^100 of printers.

 Olav Gimmestad
From: divineg@prism.CS.ORST.EDU (Glade Diviney)
Newsgroups: comp.sys.amiga.programmer
Subject: Fun w/DateStamp
Date: 22 Aug 92 19:11:12 GMT
Article-I.D.: CS.1992Aug22.191112.1230
Organization: Oregon State University, Computer Science Dept.


  Well, folks, I found the answer to my previous question.  DICE provides
  a very nice include file, time.h, to help with this sort of thing.

-=Glade Diviney
  divineg@prism.cs.orst.edu
Newsgroups: comp.sys.amiga.programmer
From: rbm2273@ultb.isc.rit.edu (R.B. Mead )
Subject: Re: Speculations: Amiga and Mach?
Originator: rbm2273@ultb
Organization: Rochester Institute of Technology
Date: Mon, 17 Aug 1992 09:58:12 GMT

In article <rwm.713991011@atronx.OCUnix.On.Ca> rwm@atronx.OCUnix.On.Ca (Russell McOrmond) writes:
>bryanf@hpmcaa (Bryan Ford) writes:
>>I never suggested that Commodore should abandon Amigas without MMUs.  That
>
>  Developers need firewalls, users do not.  Developers use MMU based machines.
   ----------------------------------------

Well .. Yes and no and then no and yes!? Read on, the point gets clearer!

Developers can certainly use a barrier or two .. as they are more likely
to run/test code with errors. On the other hand .. (most) developers
are aware of this and take extra care when in this mode. They are less
likely (if at all) to lose data.

"End users" (I suppose) should be less likely to execute code with errors.
This would seem (at first) to indicate that protection is not (is less)
necessary(?). On the other hand ... (many) "End users" will likely get
caught by the unexpected error and will be more likely (in this case) to
lose information/data.

Time is another consideration and is certainly a good reason to have the
extra protection, for both developer and end user.

Overall, I would have to say that, it's more important (in general) not
to lose data. I think it's the "End user" that is more likely to be caught,
resulting in loss of data. For this reason, "End users" need this
protection more.

This is not an all or nothing area.  It's clear (IMO) that both developer
and "end user" can benefit quite a bit by having this protection, even
though efficiency is (at times) sacrificed.

>I've been suggesting that CBM attempt to make a 'developer specific' version
>of the Amiga's O.S. that has all the MMU firewall protection in such a

Good idea .. even if the target platform is without!

>way that more bug-free applications can be written.  Enforcer and Mungwall
>are a good start, but they don't take care of many types of bugs that
>could be detected.  I often get problems where I can't tell which
>application I am running is actually causing the problem.
>

We all go through this one, but I'm sure it wasn't my fault.

>>				Bryan
>  Russell McOrmond  rwm@Atronx.OCUnix.On.Ca Net Support:(613) 230-2282(V.32Bis)

Regards.   [ Reply here or to rbm2273@ultb.isc.rit.edu ]
From: divineg@prism.CS.ORST.EDU (Glade Diviney)
Newsgroups: comp.sys.amiga.programmer
Subject: Fun w/DateStamp
Date: 22 Aug 92 19:04:11 GMT
Article-I.D.: CS.1992Aug22.190411.1049
Organization: Oregon State University, Computer Science Dept.


  Okay, fellow power users/codes.  For a project I'm working on, I need
  to deduce the current date.  DateStamp does the trick, of course, but
  how useful is the number of days since Jan. 1, 1978??? Does anyone know
  of a function or #define in the .h files somewhere that translates this
  cryptic "internal format" into something humans use?

  (P.S. I would've written a translation table myself, but I couldn't remember
   whether leap years don't happen every 200 or every 400 years.  Anyway,
   I shouldn't have to!)

-=Glade Diviney
  divineg@prism.cs.orst.edu
From: simons@peti.GUN.de (Peter Simons)
Date: Sat, 15 Aug 1992 16:42:34 CET
Organization: * Private Amiga Site Bonn *
Newsgroups: comp.sys.amiga.programmer
Distribution: world
Subject: Re: Is this legal assembly code?
X-Newsreader: Ann 0.9

In article <1992Aug11.122845.15395@mits.mdata.fi>,
        rkaivola@mits.mdata.fi (Risto Kaivola) writes:

 RK> I would like to know if the following assembly  language  program
 RK> is legal or illegal:
 RK>
 RK>        IFEQ label1-label2
 RK>        rts
 RK>        ENDC
 RK>
 RK>        rts
 RK> label1
 RK>        move.l a0,a0
 RK> label2 rts
 RK>        END
 RK>
 RK> [...] I tried this on  A68k  (version  2.71,  I  think),  and  it
 RK> complained of a duplicate  symbol.  Would  you  try  it  on  your
 RK> assembler and tell me what it thinks of it, please? [...]

     This code is not really illegal, but  not  many  assemblers  will
     assemble this correctly. The problem  is  the  forward-reference!
     The value of the  labels  will  change  if  any  changes  to  the
     code-size occur during the assembling-passes.

Example:
GO              MACRO
        IFGE (\1-*)-127
                bra.b   \1
        ELSE
                bra     \1
        ENDC
                ENDM
                .
                .
                .

                GO      testlabel
                .
                .
                .
                move.l  #0,d0
label           bsr     _foobar

     Most assemblers will evaluate the labels in pass 1  and  optimize
     the "move.l" to "moveq" in pass  2,  which  will  make  the  code
     shorter!!!

     The only assembler - I know - that supports forward-references is
     Macro68k, but you have to disable *ALL* optimizations!

        bye, Peter


--
            Peter Simons           FIDO-Net          USE-Net
       +49 (0)228-746061 Voice   2:2402/320.5   simons@peti.GUN.de
From: Frederick.Theilig@bbs.oit.unc.edu (Frederick Theilig)
Newsgroups: comp.sys.amiga.programmer
Subject: ToolMaker and CATS
Date: 18 Aug 92 00:11:58 GMT
Distribution: usa
Organization: Extended Bulletin Board Service


     I've been trying to get information reguarding the exact price for
 the Native Developer's Update Kit and this mysterious thing called
 ToolMaker.  Since I didn't get any replies, I decided to call CATS
 directly.  Before I could get half a dozon words out, the person asked
 me if I was a developer.  Well, I said no.  

     She immediately told me that I had to call my local dealer and they
 couldn't help me at all.

     Now, wait a minuete.  Am I to believe that this stuff is available 
 only to registered developers, or do they only tell the price of it to
 developers?  This is the second time I've called CATS, and it's the
 second time I've gotten no help whatsoever.  First time I called, the
 person I contacted never heard of the native developer's disks.

     Am I to believe that I just can't get the disks and information?

     F. Michael Theilig  -  RPG117@URIACC.URI.EDU
--
   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
From: Charlie_Gibbs@mindlink.bc.ca (Charlie Gibbs)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Assembler programming.
Date: 20 Aug 92 23:13:20 GMT
Organization: MIND LINK! - British Columbia, Canada
Distribution: world

In article <1992Aug20.174409.990@jato.jpl.nasa.gov>
jdickson@jato.jpl.nasa.gov (Jeff Dickson) writes:

>        That's strange. I have a book on the 68000 (by Sybex I think) that
>states that address indirect with index and address indirect with index and
>displacement are two seperate addressing modes. This is news to me.

     Hmm.  The way I remember it (from Kane/Hawkins/Leventhal and
the Motorola books themselves), the modes are address register
indirect with displacement, and address register indirect with
index and displacement.  The displacement is always there, at
least on the 68000 (things change on the '020).  Could you
double-check your book?  I'd be surprised if I (as well as
Brian Anderson, the author of the code I started from) missed
something so obvious, but I'd sure like to hear about it just
in case.

Charlie_Gibbs@mindlink.bc.ca
I used to be indecisive, but now I'm not so sure.

Newsgroups: comp.sys.amiga.programmer
From: wille@june.cs.washington.edu (Robert Wille)
Subject: Re: SAS C 6.0
Organization: University of Washington Computer Science
Date: Wed, 12 Aug 92 20:06:20 GMT

In article <g6cDPB5w164w@cybernet.cse.fau.edu>, vidiot.bbs@cybernet.cse.fau.edu writes:
|> Steve@celeborn.lvunix.com (Steve Slade) writes:
|> 
|> Available sometime next month, $109 upgrade.  The retail was quite a bit 
|> higher than that of 5.1x.
|> 
|> Eric

I stayed at 5.04.  Any idea how much it will cost to upgrade to 6.0?  When I
didn't upgrade to 5.10, I didn't receive any information about 5.10a or 5.10b.
I would like to upgrade to 6.0, but don't want to have to upgrade twice just
to get to 6.0.

-- 
Robert

There is evidence that the brain is like a computer.  If that's true, 
then there really aren't any stupid people.  Just people running DOS.
Newsgroups: comp.sys.amiga.programmer
From: wild@nessie.cs.id.ethz.ch (Markus Wild)
Subject: Re: Console file handlers from within a Shell started program
Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
Date: Thu, 20 Aug 1992 15:27:17 GMT

In article <14605@borg.cs.unc.edu> tell@rukbat.cs.unc.edu (Stephen Tell) writes:
>In article <1b854d0d.ARN237c@prolix.pub.uu.oz.au> munnari!labtam!eyrie!prolix!dac writes:
>>In article <14545@borg.cs.unc.edu>, I wrote:
>
>>> Last time I checked (1.3) AmigaDOS didn't have standard error.  The C runtime
>>> environments for Manx, Lattice/Sas, et. al. opened the console to simulate
>>> it.
>
>>It works for me
>>   fprintf(stderr,WELCOME"\n%s",ctime(&timestart));
>>writes to stderr, and 
>>   printf("Particulars is %s\n",particulars);
>>writes to stdout.
>
>>If I redirect stdout via '>', then I get the stderr output on the
>>console, and not in the redirected output.
>
>>Where is the problem?
>> David Andrew Clayton.        dac@prolix.pub.uu.oz.au 
>
>Now, show me how to put stderr in a file and let stdout go to the console...
>and how to put stderr in one file and stdout in another.  Can't be done, to
>my knowledge.

It's possible with my pdksh port, just do
  your_program > stdout_file 2> stderr_file

or for both into one file
  your_program > both_file 2>&1

Should work for both ixemul and plain programs. For the latter, it will only
work if those processes use the REAL stderr new with OS2.0, not when they
dup the console with "*".

-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: Paul_Trauth@agwbbs.new-orleans.LA.US (Paul Trauth)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Program to generate COPPER LISTS wanted.
Distribution: world
Date: 18 Aug 92 02:47:28 CST
Organization: The Amiga GateWay BBS * New Orleans, La.

In a message dated Tue 18 Aug 92  1:43, Entity@nsq.uucp (cybernetworx)
wrote:

 E> In article <1992Aug16.021648.58182@cc.usu.edu>, slbfn@cc.usu.edu
 E> writes:
 E>> I am looking for a program to help in the development of Copper lists.
 E>> The program should be able to specify the list in any of the color
registers.
 E>> RGB controls are prefered.  I'd like to be able to change colors and
"click"
 E>> them to the screen.

 E> Funny you should mention this... a friend of mine has just started
 E> work on
 E> such a program.  I too have long looked for such a utility and so I
 E> proposed
 E> it to him as a 'beginners project' since he was looking for something
 E> to do :)
i've felt a need for this sort of thing for a long time, myself.
the ULTIMATE Cool But Hard As Hell suggestion: Integrate it into DPaint
3/4.
This HAS been done before; there was a program that let you do animation in
DP2, which had no animation capabilities.
As an artist and a programmer, i can tell you that it's a real pain drawing
pictures designed for intense copperlists. (for instance, i have a small
program that throws up one of two built-in pictures during my boot, with
copperlists on them; the images are only 4 bitplanes but have 40-50 colors
displayed, counting some duplicates.)
Of course, i also realize that this would be a real pain in the arse to
DO...
...maybe i should just suggest this one to EA, when i send them the letter
telling them all the problems with DP4's implementation (mainly that
horrible sluggish palette and range requestor...)



-- Via DLG Pro v0.992

- be zorch, daddi-o --------------- paul (raccoon) trauth ----------------
--------------------------------------------------------------------------
Internet -> paul_trauth@agwbbs.new-orleans.LA.US        \\\///\\\///\\\
Usenet   -> rex!agwbbs!paul_trauth                      \\\///\\\///\\\
--------------------------------------------------------------------------
  "eagles may fly, but a weasel will never get sucked into a jet engine"
From: David_Cole@guru.pub.uu.oz.au (David Cole)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: ARexx and shell commands (answer)
Date: 19 Aug 92 11:15:03 GMT
Organization: Guru Meditation BBS

G'day,

In a message dated Mon 17 Aug 92 13:06, Olof Zachrisson wrote:

 GZ> I've been looking into ARexx recently, and tried the following
 GZ> program:

 GZ>     /* a little test..  */
 GZ>     dir                   
 GZ>     say "I'm here!"

 GZ> Now, the second line, "dir", is supposed to be passed to the shell,
 GZ> doing
 GZ> a directory listing. But what I get is a "I'm here!", and nothing
 GZ> else!

 GZ> So what is the problem here?

Basically, in order to call a CLI or Shell program, such as Dir, you have
to use the "Address command" piece of code.  So in order to allow your prog
to execute as you would like, it should be written like this:

     /* a little test.. */

     address command 'c:dir'
     say 'I'm here!'

And that's it!

     Hope this is some help,

     Dave

-- Via DLG Pro v0.992
Xref: sparky comp.sys.amiga.programmer:12528 comp.sys.amiga.hardware:14353
From: thad@cup.portal.com (Thad P Floryan)
Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.hardware
Subject: Re: Cross assemblers for Amiga available
Date: Fri, 21 Aug 92 03:18:51 PDT
Organization: The Portal System (TM)

In article <1992Aug20.123656.35757@uservx.plk.af.mil>
galetti@uservx.plk.af.mil writes:

|  I have developed a Hitachi HD6303 cross assembler for the Amiga.  The
|  HD6303 is an improved version of the Motorola 68HC05 series, and the
|  assembler could easily be modified to support the Motorola chips as well.
|  If there is enough interest, I will release the assembler as a shareware
|  product.  Please e-mail me any feedback you have on this.

Not to denigrate your efforts, but Matt Dillon released such a cross-assembler
which appears on a (relatively) early Fish Disk in source form along with
configs for many other micros, too.

And the cross-assemblers on the Motorola BBS are all in source form and
compile just fine on MS-DOS, UNIX, and other platforms (including, presumably,
the Amiga with either Lattice/SAS or Manx/Aztec).

Hell, even I wrote a MC6801/MC6803 cross-assembler years ago which I still
use for one of my commercial products, and I posted the assembler to some
newsgroup ages ago.
From: mbs@adastra.cvl.va.us (Michael B. Smith)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: ixemlib manual?
Distribution: world
X-NewsSoftware: GRn 1.16f (beta) by Mike Schwartz & Michael B. Smith
Date: 12 Aug 92 18:05:44 EDT
Organization: Private UUCP Node

In article <KENTD.92Aug11231605@zappa.FtCollins.NCR.com> kentd@FtCollins.NCR.com (Kent Dalton) writes:
> Is there any manual available (aside from the header files :^) for
> Markus Wild's ixemul UNIX emulation library? I'm porting some pretty
> heavy UNIX code to my Amiga and I could really use some kind of guide
> for what's implemented and how it deviates from "normal" UNIX sdystem
> library behavior.  Even a list of functions would help...

Hehe. Your best bet would probably be my mailbox from last year and early
this year (as I beta'ed ixemul). But I'm not letting that loose.

The routines in the library are in "gcc:include/sys/syscall.def" which comes
with every SOURCE release of IxemLib.

You can get an approximate list of functions by "ar tv gcc:libs/libc.a",
although some of those lines will have functions not listed, and some functions
not listed are present.

A list of all external references is "gcc20:lib/gcc-lib/amiga/2.1/syscalls.c.x"
which came with 2.1.

I was porting some VERY heavy Unix code while I was testing IxemLib, and if
the code is BSD-derived, it does a very good job. It falls down on some of
the POSIX'isms and SVR4'isms.

The latest version of ixemul.library is in the pdksh port that Markus did,
with a current version of 39.41. Highly recommended. It is also available
for BMS from adastra.cvl.va.us in its own archive.
--
  //   Michael B. Smith
\X/    mbs@adastra.cvl.va.us  -or-  uunet.uu.net!virginia.edu!adastra!mbs
Newsgroups: comp.sys.amiga.programmer