HDTenEightyP/NetNews huggingface dataset:
From: pilgrim@daimi.aau.dk (Jakob G}rdsted)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Help with ILBM's
Date: 9 Jan 93 22:16:23 GMT
Organization: DAIMI: Computer Science Department, Aarhus University, Denmark

stlombo@eos.acm.rpi.edu (Steve J. Lombardi) writes:

>sorry if this is a repost. my mailer hung.

>intuition. Now I'm looking for a painfree path to adding
>ilbm support to my applications. pretty basic stuff bear in mind.
>I wouldn't mind learning about Ilbm's in depth later on, but for
>the moment would like to keep my hands clean. Is there a library
>that might provide calls such as LoadIlbm() or NextDelta?? This
>would be a great aid in getting an Amiga novice like myself
>going. any suggestions??

CATS (C. Schnepner?) have released some 'NewIFF' to (amongst other
things?) the Fish disks. I can't remember the number of the disks;
if you can't find it yourself, and/or nobody else mentions it, mail
me back. I'll then find the disk number, it's not that much work
(but it's still quicker to type this text :-) )

The package is examples/packages of reading/writing IFF, + definitive
(in the very meaning of the word!) description of IFF.

Trust me, this is excactly what you want...
Hi.

--
      Jakob Gaardsted   .    .  | The fourth time you stumble across a posting
  Computer Science Department . | with this signature, you are allowed to go
University of Aarhus, Jylland(!)| and get yourself a cup of coffee. You may 
 .  pilgrim@daimi.aau.dk   .    | reselect the article to achieve this effect.
From: denson@sdd.hp.com (Craig Denson)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: RKM description of WaitPort()
Date: 7 Jan 1993 17:01:28 -0800
Organization: Maybe some day
NNTP-Posting-Host: hpsdlss5.sdd.hp.com
Keywords: WaitPort, MsgPorts

In article <1993Jan7.230844.17921@oracle.us.oracle.com> dnavas@oracle.uucp (David Navas) writes:

>Yep, the "simple" way to deal with message processing can cause problems --
>particularly if you've done something weird like take apart loops in your
>code and send a message to yourself to compute the next part of your loop
>(useful for handling things like ARexx-quit, ^C, window-close, etc. messages).

 speaking of sending messages to yourself - is their anything
dangerous about sending a message to your window's msgport? will it
upset intuition - i can't see why it should.

craig
From: chucks@pnet51.orb.mn.org (Erik Funkenbusch)
Newsgroups: comp.sys.amiga.programmer
Subject: CPR under 1.3
Date: 8 Jan 93 07:45:09 GMT
Organization: People-Net [pnet51], Minneapolis, MN.


I tried to load CPR to test some code under 1.3, for some reason, it tries to
load icon.library (version 0) and fails.  icon.library doesn't show up on the
resident list under 1.3, but does under 2.0.  There are no icon.libraries in
my libs: directory on either the SAS or Workbench disks.  And there doesn't
appear to be a 1.3 version of CPR.

Is this a problem with the 6.1 CPR?

Newsgroups: comp.sys.amiga.programmer
From: walker@twix.unx.sas.com (Doug Walker)
Subject: Re: Please help....SAS 6.0 question...:(
Originator: walker@twix.unx.sas.com
Date: Thu, 7 Jan 1993 13:57:52 GMT
Organization: SAS Institute Inc.


In article <C0GIn3.D8v@ccu.umanitoba.ca>, umbadiu0@ccu.umanitoba.ca (Ted Babiuk) writes:
|> 
|> Help!
|> 
|> I just got the 6.0 (not 6.1!!!! argh!) update and have transfered some
|> code over from a program I wrote using 5.10....
|> 
|> Everything works fine (and faster! :) :) :) ) EXCEPT for my CreateTask()
|> statement that creates a child task....The line that creates the task
|> seems to crash the machine....(p.s.: as a note, my task is declared with
|> saved_ds...)....
|> 
|> Why does my createtask statement work in 5.10 and NOT in 6.0??????????????

Um, perhaps including the statement itself (and perhaps some of the
lines of code around it) would help...  I can't tell what is going
on from just this much.

Another thing to try - cut down your program until it is ONLY the
CreateTask and as few other things as possible and see if it still
crashes.  If it doesn't, add things back until it does.  If it does,
use EMITS to contact technical support and send a copy of the failing
code.

|> 
|> Thanks In Advance,
|> Ted 
|> umbadiu0@ccu.umanitoba.ca
-- 
  *****
=*|_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: abrown@hpcvcec.cv.hp.com (Allen Brown)
Subject: Re: Need a program to compare lines in a text file
Organization: Hewlett-Packard Company, Corvallis, Oregon USA
Date: Tue, 12 Jan 1993 00:24:41 GMT

miller@mrcnext.cso.uiuc.edu (Geoffrey M. Miller) writes:
: 1. Read in a line of text.
: 2. Compare that line to every line thereafter, deleting all identical lines.
: 3. Read in the next line and proceed, etc.

You have just described the 'uniq' program of Unix vintage.  I am five
miles from my Amiga so I cannot get specific.  But there are numerous
Unix like packages in the Fish lists.  Several should include uniq.
Sksh may also include it (I don't remember).
--
  Allen C. Brown  abrown@cv.hp.com or hplabs!hpcvca!abrown or "Hey you!"
    Q: What has 10 heads and no brains?  A: a committee.
Newsgroups: comp.sys.amiga.programmer
From: jamie@cdevil.unx.sas.com (James Cooper)
Subject: Re: Macro68
Originator: jamie@cdevil.unx.sas.com
Date: Mon, 11 Jan 1993 16:31:10 GMT
Organization: SAS Institute Inc.


In article <C0MJLo.9Bw@ccu.umanitoba.ca>, umpistun@ccu.umanitoba.ca (Brent Pistun) writes:
>   Anyone know where I can get the Macro68 assembler?  I saw it on
>an FTP site about a year ago and now I can't find it..    Please
>send E-mail if you know where I can find it.  Thanks in advance.

If you saw it on an FTP site, it was either a demo version (I never heard of one
being created) or a pirate copy (much more likely).

Macro68 is a Commercial product, sold through The Puzzle Factory in Veneta, OR.
Look in about any recent issue of Amazing Computing for their full page ad.

-- 
---------------
Jim Cooper
(jamie@unx.sas.com)                             bix: jcooper

Any opinions expressed herein are mine (Mine, all mine!  Ha, ha, ha!),
and not necessarily those of my employer.
From: davids@cats.ucsc.edu (Dave Schreiber)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Flushing unused devices out of ram , how ?
Date: 13 Jan 93 05:39:04 GMT
Organization: University of California; Santa Cruz
NNTP-Posting-Host: as215-ws-18.ucsc.edu


In article <amipb.067x@amipb.gna.org> amipb@amipb.gna.org (Philippe Berard) writes:
>In article <1993Jan6.104949.20894@philips.oz.au> gduncan@philips.oz.au (Gary Duncan) writes:
>> Currently in a C-program I've done a :-
>> Execute  ("Avail Flush >nil:", 0,0);
>>
>> 	which does the job but its a bit klugey.
>>
>> Why do I want to do this? Simply that if you open a device (for
>> the first time ) then close it, it hangs around unused in RAM
>> giving the impression of a memory leak.
>
>    You must use an AllocMem(-1, MEMF_PUBLIC), this will flush all libraries
>    and devices with an OpenCount set to 0.

You probably don't want to do the above, since AllocMem rounds memory sizes
up to a value evenly divisible by 8.  -1 (0xFFFFFFFF) rounded up to a value
divisible by 8 is 0, which won't flush anything.  Try a size of -8, or 
-65536 (in case Commodore should someday increase the 'chunkiness' of
memory allocations).

>|  Philippe Berard  (French Amiga User)       |                              |
>|  "They hold a cup of wisdom,                | UseNet : amipb@amipb.gna.org |

-- 
Dave Schreiber  "Look.  Don't touch."  davids@cats.ucsc.edu (until 6/20/93)
From: chopps@ro-chp.UUCP (Chris Hopps)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Version Strings...
Date: Fri, 08 Jan 1993 14:00:24 GMT
Keywords: optimization
Summary: nope.
Organization: Not an Organization
X-Newsreader: Arn V1.00 beta rel2

In article <Per_Salmi.0lxs@augs.se>, Per Salmi writes:

> accs1@bagheera.mumath wrote:

> : >UBYTE Version[] = "\0$VER: ProgName 1.0 (7.1.92)";

> : I wonder why that stays in the executable. I would expect a good compiler would
> : through that line away unless it is really referenced.

> You really got a point there! Why does it?

The compiler has no idea its not referenced, becuase it can be referenced across
compilation units.

You then might think that a good linker could optimize it out, but the logic behind
this would 1) probably never work right and 2) someone would find a reason the linker
should not be deleting non referenced data objects.  Plus how would we imbed strings
then? :^)
------------------------
The Royal Oak Chophouse >> Chris Hopps
Royal Oak, Michigan     >> sycom.mi.org!ro-chp!chopps
From: Douglas_Stockman@graceUUCP (Douglas Stockman)
Newsgroups: comp.sys.amiga.programmer
Subject: IFF DR2D drawing creation help
Distribution: world
Date: 6 Jan 93 08:14:05 EST
Organization: Graceful Boot BBS (send replies to User_Name%grace@moscom.com)

Greetings!,
   I want to output some simple graphic objects using the IFF DR2D
standard, but am not sure where to begin.  I have the doc files
located in the RKRM:Devices and I have the reader and writer routines
graciously supplied by Jeff Blume of Stylus, Inc.  Unfortunately,
this simple mind of mine is not putting all the pieces together.  If
someone has some very simple code to share with me or advice on how
to write some basic code, I would be very thankful.  Even just showing
me how to create an IFF DR2D file that draws a line, polygon, or some
text would probably point me in the correct direction.  Writing the
information out appears to be straightforward.  I seem to be stuck
on writing the commands that define the graphical objects/drawing.

   On a related topic, is there any utility/program that will allow
me to view this IFF DR2D file once I create it (that is short of
purchasing an expensive commercial product that has another purpose
entirely)?  To debug any code I write, I will need to visually see
the error of my ways.  Thanks to all.


-- Via DLG Pro v0.992
From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Disassemblers?  Anyone, anyone?
Date: Thu,  7 Jan 93 09:16:05 PST
Organization: The Portal System (TM)

On either Fish 661 or 662 is a copy of Ninfo which will disassemble
objects, libraries, and executables.  It will even do a block of memory
or a bootblock saved to a file.  It doesn't do floating instructions,
but that would not be hard to add.  If that copy doesn't have source,
you can get it from me on my BBS (609) 953-8159.
From: s37732v@snakemail.hut.fi (Markus Juhani Aalto)
Newsgroups: comp.sys.amiga.programmer
Subject: Regions and BOOPSI gadgets?
Date: 08 Jan 93 16:34:38 GMT
Organization: Helsinki University of Technology, Finland
Distribution: comp
NNTP-Posting-Host: lk-hp-20.hut.fi


Hi!

I've been programming a gadtools listview replacement with BOOPSI gadgets
and it worked alright until I started to use Regions to clip my drawing
to the rastport. I currently InstallClipRegion when I get GM_RENDER
message and do my rendering after that. This works fine when I open
the gadgets but after I size the window all clipping goes absolutely
out of control. So is there a possible way to use Regions in BOOPSI
gadgets? 

I think that the problem is with InstallClipRegion routine used
between Refreshing because of window sizing. I just can't imagine any
other way to do clipping properly and fast.
  
--


**************************************************************************
*         Markus Aalto              | Helsinki University of Technology  *
*                                   |                                    *
*  EMail: s37732v@vipunen.hut.fi    | Faculty of Electric Engineering    *
*  Fax:   358-0-8746991 (Sometimes) |                                    *
*                                   | Undergraduate in Computer Science  *
**************************************************************************
From: bokowski@opal.cs.tu-berlin.de (Boris Bokowski)
Subject: GDB Port?
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Organization: Techn. University of Berlin, Germany
Mime-Version: 1.0
Date: Sat, 9 Jan 1993 18:58:50 GMT

I read in the gcc-2.3.3 - diff files that there is no GDB port for
the amiga. But why?

Boris Bokowski (bokowski@darmstadt.gmd.de, bokowski@cs.tu-berlin.de,
                chamber.in-berlin.de!sophie!bokowski)

Newsgroups: comp.sys.amiga.programmer
From: umpistun@ccu.umanitoba.ca (Brent Pistun)
Subject: Macro68
Organization: University of Manitoba, Winnipeg, Manitoba, Canada
Date: Sun, 10 Jan 1993 06:05:47 GMT

   Anyone know where I can get the Macro68 assembler?  I saw it on
an FTP site about a year ago and now I can't find it..    Please
send E-mail if you know where I can find it.  Thanks in advance.

umpistun@ccu.umanitoba.ca

-- 
Brent E. Pistun                                       Computer Engineering
umpistun@CCU.UManitoba.CA                           University of Manitoba
From: heinz@edohwg.adsp.sub.org (Heinz Wrobel)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: ResEdit 2.1 for Amiga
Date: 6 Jan 93 10:44:11 GMT
Organization: Edotronik GmbH

In article <C0E2oB.2E5@news.iastate.edu> barrett@iastate.edu (Marc N. Barrett) writes:
>   With all of this bashing of the internals of the Mac OS in advocacy, I have
>a question: why hasn't the equivelent of ResEdit 2.1 ever been written for the
>Amiga?

Hmm. What is there to edit?

>| Marc Barrett -MB-  |  email: barrett@iastate.edu

--
Heinz Wrobel, Edotronik GmbH (ECG018)
FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
From: spc@pineal.math.fau.edu (Sean 'Captain Napalm' Conner)
Subject: Re: HostileTakeOver of Amiga OS
Keywords: flame bait lives here
Organization: Florida Atlantic University, but who cares?
Date: Thu, 7 Jan 1993 19:24:29 GMT

In article <mcuddy.726187148@fensende> mcuddy@fensende.Rational.COM (Mike Cuddy) writes:
>spc@pineal.math.fau.edu (Sean 'Captain Napalm' Conner) writes:
>
>>  The system I'm doing this on is an Amiga 500 running 1.3 with 3M RAM (512K
>>of that is chip) and a 50M harddrive.
>
>Be careful to test your code on faster machines.  those of us with 040's
>(and even 030's -- and there's alot of us) get cheezed off when an otherwise
>awesome game requires us to slow down our machines.
>

  My intention is to write a library with the code to take over the machine
as routines to be called by a program that wants to take over the machine. 
So, a version of the library could be written for a 68000, 68020, 68030 etc.


>the biggest gotcha when taking over the machine is that on >68000 machines,
>the exception vector table is not always at 0.  The VBR (vector base 
>register) is used to move the exception table into fast ram to avoid 
>contention with the custom chips.
>

  Yes, I'm aware of that, and have already taken that into consideration 8-)


>One thing you might think of doing is when the 'pause' key is hit in your 
>game, give back the machine, open an intuition screen/window with your current
>screen bitmap as the bitmap for the screen/window and then wait for the 
>'unpause' key from intuition before firing your game back up.  This is real
>nice for folks who just want to pop back to thier machine to look up a phone
>number or let thier thumb rest from blaze-o-matic 9000.
>

  Hmmmm ... that's an idea I didn't think of.  I'll see if I can work that
into the library somehow.


>You might try writing two version of your setup/cleanup code -- one which
>hits the hardware HARD (for 68000's) and one which doesn't hit it quite so
>hard (for >68000 -- let me decide if I want to devote all of my CPU to the
>game) If you program in a sufficiently modular way, it shouldn't be that hard.
>

  Well, seeing how I'm planning on putting this into a library, just change
the library to a system specific version.

  -spc (So, how does the idea of a library to take over the machine sound to
	all of you out there?)
From: johnv@acix.DIALix.oz.au (John Verhoeven)
Subject: Re: Flushing unused devices out of ram , how ?
Newsgroups: comp.sys.amiga.programmer
X-Newsreader: TIN [version 1.1 PL8]
Date: 7 Jan 93 14:48:56 WST
Organization: ACix - Private UUCP Node, Cloverdale, Western Australia.

Gary Duncan (gduncan@philips.oz.au) wrote:
> Is there a system call to do this ? I've grovelled through
> the Devices RKM (Ed 3, latest, and elsewhere) and can't find
> one.

Try allocating a large chunk of memory (eg. AllocMem(AvailMem(MEMF_TOTAL),0L).
Exec will run around throwing things out of memory before returning failure
for the AllocMem call.

> Currently in a C-program I've done a :-
> Execute  ("Avail Flush >nil:", 0,0);
> 	which does the job but its a bit klugey.

True, True :-)
From: Per_Salmi@augs.se (Per Salmi)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Version Strings...
Date: 8 Jan 93 17:15:05 GMT
Organization: Amiga User Group - Sweden
X-Newsreader: TIN [version 1.1 PL6]

accs1@bagheera.mumath wrote:
: 
: In article 93Jan7184001@lk-hp-16.hut.fi, s37732v@snakemail.hut.fi (Markus Juhani Aalto) writes:
: >In article <Leon.0byx@abcd.Houghton.MI.US> Leon@abcd.Houghton.MI.US (Leon) writes:
: >
: >   Can anyone give me a code fragment to insert a version string in my program
: >   so that the AmigaDOS version program will detect it?
: >
: >
: >------clip here--------------------
: >
: >UBYTE Version[] = "\0$VER: ProgName 1.0 (7.1.92)";
: >
: >------clip here--------------------
: >
: 
: I wonder why that stays in the executable. I would expect a good compiler would 
: through that line away unless it is really referenced.
: 
: Frank

You really got a point there! Why does it? 



--
***************************************************************************
* Per Salmi, phone: +46-13-172267                  * Computer Science &   *
* snail-mail: Bjkg 15B:12, 58251 Linkoping, Sweden * Engineering, LiTH    *
* e-mail: salmi@augs.se or d89persa@und.ida.liu.se *                      *
***************************************************************************
From: cooper@carson.u.washington.edu (Ken Cooper)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Fourier Transform Example Code
Keywords: Fourier Transform Code in C
Date: 12 Jan 93 23:40:04 GMT
Article-I.D.: shelley.1ivkskINNcur
Distribution: na
Organization: University of Washington, Seattle
NNTP-Posting-Host: carson.u.washington.edu

I highly reccommend that you get a copy of the book "Numerical Recipes in C"
by Press, Flannery, Teukolsky, and Vetterling.  I believe it was published
by Cambridge University Press.  It contains a large number of great examples
of numerical algorithms coded in C.  Only a couple of the 150+ or so
algorithms required any 'porting' on my part.  It includes not only Fourier
Transform algorithms but also contains a wide variety of other algorithms
including linear equation solving, matrix inversion, statistical data
analysis and other topics.  The source code is available on disk (MSDOG) but
if you have CrossDos (or equivalent) you should be able to get source onto
your machine.  I actually compiled all of the algorithms into a link-time
library on my machine for easy inclusion into my projects.

Regards,

Ken Cooper
Applied Physics Laboratory
University of Washington
cooper@u.washington.edu
From: lkv@mania.RoBIN.de (Lutz Vieweg)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: C++
Date: Tue, 05 Jan 1993 20:58:39 GMT
 <1i88vfINN6nf@agate.berkeley.edu> <1i8a9aINN703@agate.berkeley.edu>
Distribution: inet
Organization: The Funny Farm
X-Newsreader: Arn V1.00 alpha rel3

In article <1i8a9aINN703@agate.berkeley.edu>, Cliff Draper writes:

> As the final bugs get ironned out of SAS/C 6.1, I read further into my studies
> of C++ and I wonder why the Amiga community hasn't switched over to this
> "wonder" language.  I believe that a good amount of Amiga programmers are
> either hacking in asm (to squeeze every gram of performance out of the
> system) or in C.  I would like to see a greater emergence of people using
> C++ and OOP.

I've been using C++ on the Amiga for a fistful of projects right
now, and I'm _very_ satisfied with it. I can only encourage anyone
to join the community of C++ programmers...

Of course I'm using GNU C++ 2.3.3 which seems me to be the one and
only seriously working native-C++ compiler for the Amiga... and
it's for free...

> A GUI is naturally object-oriented and so will the interfaces
> of the future

... well, what I'd really like to have is a class library for the
GUI programming... if there'd be enough people interested in it,
we could possibly start a coordinated team-work to create such
a nice library...


cu, Lutz Vieweg

Newsgroups: comp.sys.amiga.programmer
From: labenrsa@ICIL64.CILEA.IT
Subject: SASC 6.1 Wrong Protos
Organization: CILEA - v R. Sanzio 4 - Segrate - ITALY
Date: Mon, 4 Jan 1993 09:11:45 GMT
Reply-To: labenrsa@ICIL64.CILEA.IT

Hullo,

Has anyone noticed that the protos for the BOOPSI method functions
distributed with SASC (as of patch 6.1) are wrong?

The Msg argument is referred to as Msg *msg, which is incorrect,
since Msg is already typedef'ed as a pointer. The most recent
AutoDocs from CBM I have show  this clearly.

And, by the way, either the proto or a pragma file somewhere should
mention that these functions are __stdargs, or somebody should provide
a double-standard amiga.lib (like the 6.X standard libraries).

And oh, it seems that the 6.1 Amiga.lib has no HookEntry(), and
maybe none of the shorthands for BOOPSI methods mentioned in
AmigaMail and BOOPSI examples that are floating around (DM, DSM).

I know that, with SASC6.1, I can do without HookEntry, but I'm writing
some code for a mag, and I'd like to let the readers get some code that
can be compiled with different devl. systs. Guess I'll have to include
the missing stuff in an .asm file.....

					Andy
Newsgroups: comp.sys.amiga.programmer
From: cwquak@cs.ruu.nl (Wilko Quak)
Subject: LISP
Summary: Is there....?
Date: Fri, 8 Jan 1993 11:03:48 GMT
Organization: Utrecht University, Dept. of Computer Science
Keywords: LISP, programming package


Does anyone know if there is a good LISP programming language available for the amiga ? Currently I'm using XLisp but I'm not too pleased with it. Do you know if there is better programming package available in the PD and if so where to obtain it ?
-- 
+----------------+----------------------------------------------------+
| Wilko Quak     | email: cwquak@cs.ruu.nl                            |
| Arnhemseweg 53 +----------------------------------------------------+
| 6711 GR  EDE   | I still haven't found what I'm looking for.        |
Newsgroups: comp.sys.amiga.programmer