HDTenEightyP/NetNews huggingface dataset:
From: bjackson@glia.biostr.washington.edu (Ben Jackson)
Subject: Re: MakeScreen(); RethinkDisplay() vs. MakeVPort(); MrgCop(); LoadView()
Organization: Dept Biological Structure-University of Washington
Date: Sat, 25 Jul 1992 15:57:09 GMT

In article <33307@cbmvax.commodore.com> peter@cbmvax.commodore.com (Peter Cherna) writes:
>RethinkDisplay() is the general "I munged a screen, please make everything
>happy again" function.  We're not going to supply specialized mini-versions
>to handle each potential sub-case.

I was reading along happily and nodding to myself until I came to this
paragraph...  While I can agree that it is reasonable to require that
RethinkDisplay() be called on Intuition screens, I think you're going
too far with that description.  In order to use sprites or BOBs, you have
to call RethinkDisplay() after you've moved and resorted your objects.
That's a major hit.  It's not something I'm calling frivolously, it's
something I *have* to call, and in a fairly tight loop. (or what would be
a tight loop without RD()).

It's depressing to replace MakeScreen/RethinkDisplay with MakeVPort/
MrgCop/LoadView and watch the program speed up by an order of magnitude.
It's bad enough that the VSprites are flickering like crazy. :-\


>     Peter
>--
>Peter Cherna, Operating Systems Development Group, Commodore-Amiga, Inc.



Newsgroups: comp.sys.amiga.programmer
From: mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst)
Subject: Re: Hey Commodore types
Organization: Max-Planck-Institut f"ur Radioastronomie
Date: Thu, 23 Jul 1992 10:33:50 GMT

In <1992Jul22.151307.1736@sagpd1> monty@sagpd1 () writes:
>	I am confused???? You are saying that a function expects a UBYTE so the
>	complier passes an unsigned long???????? and this is correct ?????

>	What am I overlooking here, do all amiga compliers always pass longs
>	on the stack???

All system calls do not expect anything on the stack but data gets passed
in processor registers which are 32bit.

The autodocs tell you that some of the register values are considered
as UBYTE,UWORD, PLANEPTR or whatever.

The compiler, however generates calls to some stub functions in amiga.lib
which will pull complete 32bit values from the stack into the correct
registers and call the system routine.

Under K&R C every integer parameter was pushed as a LONG onto the stack
anyway. Same for ANSI C if you don't use prototypes. This matches the
behaviour of the stub routines.

With prototypes however you could end with the compiler pushing words
or even bytes if the prototype would specify UWORD or UBYTE which is
of course _not_ what the stub routines await.

If one uses inline library calls with some #pragma construct one could
argue that the prototypes _can_ specify other types then long (or pointers
which are also 32bit). But I think that would just lead to confusion
with uses of amiga.lib.

Regards,
-- 
Michael van Elst
UUCP:     universe!local-cluster!milky-way!sol!earth!uunet!unido!mpirbn!p554mve
Internet: p554mve@mpirbn.mpifr-bonn.mpg.de
                                "A potential Snark may lurk in every tree."
Newsgroups: comp.sys.amiga.programmer
From: catapcnl@NeXTwork.Rose-Hulman.Edu (Chris Lawrence)
Subject: Re: **HELP** Whats wrong with this program?
Organization: Rose-Hulman Institute of Technology
Date: Thu, 23 Jul 1992 02:47:02 GMT

Distribution: World

In article <sims.711806545@sauron.msfc.nasa.gov> sims@sauron.msfc.nasa.gov  
(Herb Sims) writes:
:The following is a short serial open/read a little/close program and I 
:cannot figure out why the program crashes.  Can someone **PLEASE** help
:me on this...I am about ready to rip the wings of my pet bird!!!!!
:
:The GURU error is 81000009. Which is Free Twice error - What the #$&^(*&@^#
:does that mean?
GURU 81000009 means you FreeMem or FreeVeced an area of memory twice.. Usually  
you should be able to recover...
:
:[program]    END
:    

--
Chris Lawrence
Pretender to the Throne; Destroyer of the Faith
-----------------------------------------------
"Giving money and power to politicians is like giving whiskey and car keys to  
teenage boys."
     - P. J. O'Rourke, "Parliament of Whores"
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Standard 2.0 File Requester Question
From: jbickers@templar.actrix.gen.nz (John Bickers)
Date: 24 Jul 92 08:38:14 PST
Organization: TAP, NZAmigaUG

Quoted from <1992Jul23.024410.13611@cs.rose-hulman.edu> by catapcnl@NeXTwork.Rose-Hulman.Edu (Chris Lawrence):

> :VERY powerful (I especially like the feature where you can use the arrow
> :keys to select a file) and style guide conformant under 1.3 and 2.0

> Only thing I don't like about RT is that there are no keyboard shortcuts  
> (cursor-wise, that is) in the FR... Oh, well...

    ReqTools 2.0 does let you "use the arrow keys to select a file",
    just like ASL, except it looks much slicker.

    It also supports A-C for Cancel, etc, underlining the appropriate
    letters in each gadget.

> Chris Lawrence
--
*** 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: lkind@nyx.cs.du.edu (Lance Kind)
Subject: Setting the color of a Sprite.
Organization: Nyx, Public Access Unix @ U. of Denver Math/CS dept.
Date: Tue, 28 Jul 92 04:46:43 GMT


     Dear fellow programmers,

        I am writing a program using low level graphics primitives in
     C.  I have a sprite set up in sprite register 3, and I tried to set
     its colors using SetRGB4.  I am using color registers 
     21, 22, and 23.  My Sprite just shows up as a few different shades
     of gray.  I am using the right viewport to.
ex.
   SetRGB4(&viewport, 21, 0x6, 0xe, 0x5);

     I do this for each of the three color registers.  I have gotten
     this to work fine when I open an intuition window on W.B..

        Is there something else I must do when working with primitives?

           Thanks for any help,

            Lance Kind
From: Quentin_Snow@fcircus.sat.tx.us (Quentin Snow)
Newsgroups: comp.sys.amiga.programmer
Subject: Programming-BOOLEAN-compression
Date: 23 Jul 92 07:13:06 GMT
Organization: The Flying Circus BBS, San Antonio, TX
X-NewsSoftware: BBX-UMB 0.16 7/17/92 (Beta)

I need a tad bit of information.  Here is my situation:
 
I am writing a program of which I will be able to enter about 10 - 12     
YES/NO (boolean) type answers to various questions I write.  This
information will then be stored into a user structure.  
 
The option I have .. I can create 10 - 12 different variables (one for
each question that is asked) and store each answer individually.
 
While I can do this without any problems, I do not want to do to the fact
that I am going to have a massive amount entries (entries to the
structure) and I dont want to have to type each variable name in and read
it with the corresponding answer.  Here is where I need some help..
 
There has to be a way for me to store the answers in one "numeric"
variable (compressed) form, them extract them.  This way I can store the
answers in one variable, then read them back when necessary.
 
It is late and ive burned myself out tring to figure out the math formula
that would accomplish this feat, so if this doesn't make much sense,
please email me or something and Ill try and explain it a different way. 
I need to be able to do this.
 
Thankx.

==========================================================================
=                                                                        =
=           Mailing ADDRESS:  Quentin_Snow@Fcircus.SAT.TX.US             =
=                                                                        =
==========================================================================
From: cfiddyme@neumann.une.edu.au (Chris Fiddyment)
Newsgroups: comp.sys.amiga.programmer
Subject: LISP,Prolog,SMALLTALK compilers.
Date: 23 Jul 92 01:49:04 GMT


  I am looking for PD compilers for LISP, Prolog and SMALLTALK. What ones are
  available. I have seen a few on the Fish disks but what ones do you think are
  the best. I do not want a commercial one as I will only learning them.

                Thanks for any help,   Chris.


* Chris Fiddyment.             |   I never promised anybody *
* cfiddyme@neumann.une.edu.au  |   anything.   Kermit.      *
Newsgroups: comp.sys.amiga.programmer
From: sutela@polaris.utu.fi (Kari Sutela)
Subject: Re: C Programmer's Editor of Choice?
Organization: University of Turku, Finland
Date: Wed, 22 Jul 92 19:44:28 GMT

dylan@cs.washington.edu (Dylan McNamee) writes:

>I have registered QED, and have decided against TurboText for one main
>reason--TurboText doesn't support the Amiga keymap mechanism!  

At least it supports the finnish keymap perfectly.  I just tried usa2
and TurboText seemed to support it as well (at least it certainly
wasn't a qwerty keymap that TTX was using; I have no idea how the
dvorak keyboard is mapped).

-- 
Kari Sutela	sutela@utu.fi
Newsgroups: comp.sys.amiga.programmer
From: jtp@cs.hut.fi (Jukka Partanen)
Subject: Re: MakeScreen(); RethinkDisplay() vs. MakeVPort(); MrgCop(); LoadView()
Organization: Helsinki Univ. of Tech., Finland
	<1992Jul22.192458.5966@spuddy.uucp> <33307@cbmvax.commodore.com>
Date: Fri, 24 Jul 1992 11:00:45 GMT

In article <33307@cbmvax.commodore.com> peter@cbmvax.commodore.com (Peter Cherna) writes:

>It seems that several programmers are able to achieve significant scrolling
>performance, and in a window, no less.  And in a window is where a text
>editor belongs.  No copper trick lets you scroll text in an Intuition window.
>If you don't believe me, check out the various high-performance text editors
>such as TurboText, CygnusEd, and others.
>
>RethinkDisplay() is the general "I munged a screen, please make everything
>happy again" function.  We're not going to supply specialized mini-versions
>to handle each potential sub-case.

	What I'd like to know is the fastest system-friendly way to
	scroll an Intuition screen around (with scrolling, I mean the
	autoscroll feature). The reason I'm asking this is that I've
	been writing a commodity that allows one to scroll the
	frontmost screen using a hotkey like the virtual window
	managers in X. MoveScreen just seems too slow, I get errors
	during heavy serial load (dnet chokes). Maybe it just can't be
	done, but scrolling the screen with the mouse doesn't cause
	any problems. I already asked this once but nobody gave any
	answers.

	jtp

Zippy quotation:
Everybody is going somewhere!!  It's probably a garage sale
 or a disaster Movie!!
From: groo@chsdip.wisdom.bubble.org (Bill Squier)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Turning Intuition's lA-M & lA-N off?
Date: 27 Jul 92 18:05:20 GMT
 <55191@mentor.cc.purdue.edu>
Organization: Dragonsoft Development
X-Newsreader: Arn V1.00 beta rel2

In article <55191@mentor.cc.purdue.edu>, Trevor Andrews writes:

> In article <mwm.1bcr@contessa.palo-alto.ca.us> mwm@contessa.palo-alto.ca.us (Mike Meyer) writes:
> |In <55152@mentor.cc.purdue.edu>, tna@mentor.cc.purdue.edu (Trevor Andrews) wrote:
> |> Is there an easy way to turn Intuition's (leftAmiga-M) and (leftAmiga-N)
> |> off...  It doesn't have to be system friendly!  But LockIBase() won't
> |> hack it, I need some of Intuition!!
> |
> |Just put something in front of Intuition on the input food chain, and
> |have it eat those keys. Better yet, do something useful with them.
> 
>   That sounds easy enough...  Thanks.  But how about the
>   (leftAmiga-leftMouseButton)??  I would also like to turn off screen
>   positioning...  Let me guess-- eat the leftButton?  Hmm?... not?

Well, yes, sort of.  Install a CxFilter that looks for "lcommand
lbutton".  Attach a CxTranslate to that which maps it to nothing.
Voila, Intuition never sees the sequence.  Of course, it would be nice
if you did something useful with it as Mike suggests. Perhaps issue a
message or requester that informs the user that screen dragging is not
available while your application is running.

In order to insure that you swallow those events before another
running commodity gets a hold of them, set your broker's nb_Pri
sufficiently high-- but again, this all sounds rather unfriendly.

See RKM: Libraries pp727 and following for more details.

> 
> |
> |> By the way what happened to being able to set lA-M & lA-N in the "new"
>                                                                      ^^^

Yes, exactly.  In _ALL_ _RELEASED_ _VERSIONS_ this feature is just
where you (should have) left it.  ...unless C= has released something
and not told anyone. ;-)

----------------------------------------------------------------------
"Stimpy, sometimes your wealth of ignorance astounds me." -ren hoek
Bill Squier (groo@chsdip.wisdom.bubble.org) MetaMail capable
Newsgroups: comp.sys.amiga.programmer
Subject: Re: WB2.04 distribution solution
From: davis@chem.canterbury.ac.nz (John Davis)
Date: 22 Jul 92 17:49:09 +1200
Organization: Chemistry Dept, Univ of Canty, CHCH NZ

In article <1992Jul20.224423.19195@tronsbox.xei.com> bleys@tronsbox.xei.com (Bill Cavanaugh) writes:

>>Apple releases is OS updates on it's FTP site as well as other important
>>programs and information.

>Commodore uses BIX for that purpose.  As those people in the
>non-academic community know, it's a lot easier to get access to BIX
>than it is to a site that lets you ftp!<chuckle>

ah, it's so nice to see americentrism is still alive and well!! Does anyone
in american have any idea of what a hassle (and huge expense) it is to access
BIX from outside the US? Even Compu$erve is cheaper to access than
BIX for people in the antipodes...


--
-----------------------------------------------------------
| o      John Davis - davis@chem.canterbury.ac.nz        o |
| o                   chem194@csc.canterbury.ac.nz       o |
| o                   John_Davis@equinox.gen.nz          o |
| o    (Depart)mental Programmer,Chemistry Department    o |
| o  University of Canterbury, Christchurch, New Zealand o | 
Newsgroups: comp.sys.amiga.programmer
From: ejames@venus.iucf.indiana.edu (ERIC JAMES)
Subject: PCQ Pascal
News-Software: VAX/VMS VNEWS 1.3-4   
Reply-To: ejames@venus.iucf.indiana.edu
Organization: nothing
Date: 29 JUL 92 10:05:57    

  PCQ pascal is a very good pascal package, even the unregistered version.
I am having trouble registering it though.  With the amount of work Patrick has
put into the package, and the quality of the compiler itself, I don't think the
problem is on the part of Patrick himself.  I think the letter got lost in the
mail or something, I have tryed to E-Mail him with no answer, (maby he has
moved to a new location, and closed his account on the BBS or something),  
anyway I will post a message here, when I hear something from him, or find
out what happened.

  By the way, one other person who is having the same kind of trouble I am, got
in touch with me last week.  So it is not just an isolated case.

  But still I would strongly reccommend the compiler, he has done a great job
with it .  It's one of the best shareware packages I have seen, in my opinion.

              Eric James

              ejames@venus.iucf.indiana.edu
From: yurick@vaxr.llnl.gov
Newsgroups: comp.sys.amiga.programmer
Subject: Please crash my machine & get it over with!
Date: 20 Jul 92 00:29:56 GMT
Organization: LLNL_LIS

In article <mykes.09gx@amiga0.SF-Bay.ORG>, mykes@amiga0.SF-Bay.ORG (Mike Schwartz) writes:
> In article <pU-mr*xY0@cecily.UUCP> cory@cecily.UUCP (Cory Cohen) writes:
>> The issue that I (and most others?) seem too take offense to is:
>>
>>   Should software deal with ALL possible failures or only the
>>   ones likely to happen?
>>
>> The answer is clear.  If the software is good, the author will
>> attempt to deal with EVERY possible failure gracefully.
>>
> 
> This is pure nonsense.  If AdPro or TurboText or CED or SAS 'C'
> or any of hundreds of GREAT Amiga software breaks under 1.1,
> it doesn't mean the software should be thrown away.
> 

I don't think that the poster meant to throw away all of the software that
doesn't work under 1.1!  Probably the person was saying...try to look for all
of the possible pit-falls of a source code, instead of having a G.A.F. attitude
about it.  It doesn't HAVE to be limited to checking for 1.1, but ANYTHING that
could crash their machines.  I've read a lot of posts about A3000 owners
getting angry, because some good programs won't run on their machines.  I have
a A2000 myself, so I didn't pay attention to the names of those programs.

Is this a 1.1 vs. >1.1 issue?  Or is this a "let's limit the amount of crashes"
issue?  There has been sooooo many posts on this subject, I think a lot of us
are forgetting what the real issue is.  Including myself!

Can we get this issue moved to  Bla.Bla.Bla.advocacy?  

Joe
-- 
*****************************************************************************
*  Joe Yurick         California U.S.A.       E-Mail : yurick@vaxr.llnl.gov *
*** My thoughts & views are rarely my own, much less that of my employer! ***
*****************************************************************************
               I think, therefore I am...an Amiga owner!
From: zap@lysator.liu.se (H}kan Andersson)
Newsgroups: comp.sys.amiga.programmer
Subject: Putting menus where they belong - on the window - under 2.0
Keywords: Window Amiga
Date: 22 Jul 92 09:36:57 GMT
Distribution: comp
Organization: Lysator Academic Computer Club, Linkoping University, Sweden

Hi!

Is there a known, existing, hack to place menus where they belong, i.e. on
the window titlebar instead of on the &%%&%&% screen?

Any info appreciated. Email preffered since I usually give up reading
news before I get to this group ;-)

/Z

--
!! The ANSWER   : 42     ("Hitchhikers Guide to the Galaxy" - Douglas Adams) 
!! The QUESTION : 0x2b | ~0x2b   ("Hamlet" - William Shakespear) | Dont Worry -
!! The EMAIL    : zap@lysator.liu.se  The PHONE: +46 16 96460    | Mail Zappie!
From: wgkramer@cs.vu.nl (Ewout Kramer)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: knowing about protocols and stuff...
Keywords: protocols,packets,networks,network,amiga,unix
Date: 23 Jul 92 10:21:59 GMT

aru@mentor.cc.purdue.edu (Sri Ramkrishna) writes:

>DNet.  My question is what should I be looking for when it comes to
>designing a protocol.  I'm trying to get some understanding about
>networking, packets and all that good stuff, but I'm rather lost.  I'm
>not sure what sort of documents I should look at.  If someone can point
>me in the right direction that would be great.  Are their any specific books

Start your search at ftp.nisc.sri.com, they've got all the rfx????? files
containing descriptions of standards like TCP/IP, FTP & networking techs.

Hope this helps.


Ewout
From: jniska@vipcon.UUCP (johnny niska)
Newsgroups: comp.sys.amiga.programmer
Subject: CanDo 1.6 Programmers Wanted
Date: 27 Jul 92 15:24:43 GMT
Organization: VIP - (Developer - ERN008)
X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith

VIP Developement Group want to get in touch with CanDo programmers to
discuss problems, solutions, trix a.s.o.

Please BBS/EMail/Mail/Call/Fax me.


(I will be in the USA from 30.07 - 09.08 -> tel: (602) 431 1461 daytime
						 (602) 438 8558 evening
					    fax: (602) 431 8361 24 hrs)



                                           \ o     o  / 
Best regards                                \  o     / 
                    (M)BBS:  SnailMail:      \    o / 'I feeeeeel goood!'
                  //------------------------- \ o  / 
Johnny Niska     // Rodelokka     Vallegaten 9B\  /
             \\ //  +47 2 380949  N-0454 Oslo   || Garfield:
              \XX   8 N 1         Norway        ||     I hate mondays
'I CanDo - Do You?'                           ------
========================== uunet: =======================================
          cbmehq!cbmnor!vipcon!jniska@cbmvax.commodore.com
    (When I got to know all the answeres - the questions had changed)
=========================================================================
From: hemmer@hemmer.adsp.sub.org (Franz Hemmer)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: StackSwap in all v37 releases?
Date: 23 Jul 92 09:07:59 GMT
Organization: InterActivsion

In article <paulk.0tm4@terapin.com> paulk@terapin.com (Paul Kienitz) writes:
>Since StackSwap -- or is it SwapStack -- is documented in some v37 autodocs and
>not others, does this mean that, in order to use the function, I have to check
>the exec revision number?  Or is it really in all v37s?  What revision number
>is the dividing line at, if there is one?

The problems is, that the printed Includes & AutoDocs book only covers
up to V37.0, and not up to V37.4 as the electronic version.

If you have the 2.04 include files, there's no problem. You do NOT need
to check for revision numbers, it's only the older documentation that is
lacking a bit. It's all in there :-)

--
*-------------------------------------------------------------------------*
|         _   UseNet: (uunet|rutgers|pyramid)!cbmvax!cbmehq!cbmden!hemmer |
|         \\ _                         CBMNET: hemmer@hemmer.adsp.sub.org |
| InterActi\X/ision - The name of precision                               |
| Best regards                         >> Carpe Diem! - Seize the day! << |
| Franz Hemmer - Software Developer.                                      |
*-------------------------------------------------------------------------*
Xref: sparky comp.sys.amiga.programmer:11734 comp.sys.amiga.datacomm:5428
From: peterk@cbmger.de.so.commodore.com (Dr Peter Kittel Germany)
Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.datacomm
Subject: Re: UseNET on networked Amiga?
Date: 28 Jul 92 11:19:01 GMT
Reply-To: peterk@cbmger.de.so.commodore.com (Dr Peter Kittel Germany)
Followup-To: comp.sys.amiga.programmer
Organization: Commodore Germany

In article <1992Jul25.134555.14011@vax5.cit.cornell.edu> mx8@vax5.cit.cornell.edu writes:
>       Has anybody out there managed to develop a Usenet reader for
> ethernetted Amigas?  Any help on this would be most appreciated..

Well, it appears I'm in this moment newsreading from a networked Amiga.
The server is a UNIX Amiga and on my Amiga there runs the Amiga AS225
networks software. I rlogin into that UNIX Amiga and run rn from there.
I also can rlogin into an SCO UNIX computer on our network which is a
Commodore PC (Intel-based) and run nn there. No problems, great per-
formance (at least on the Amiga server).

-- 
Best regards, Dr. Peter Kittel  // E-Mail to \\  Only my personal opinions...
Commodore Frankfurt, Germany  \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk
				   or  peterk@public.sub.org
From: jprad@faatcrl.UUCP (Jack Radigan)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: C Programmer's Editor of Choice?
Date: 22 Jul 92 21:16:17 GMT
Organization: FAA Technical Center, Atlantic City NJ

strat@matt.ksu.ksu.edu (Steve Davis) writes:

>I'm going to have to chip in with a word for GNU-EMACS, the ONE
>TRUE EDITOR.  Something has to be said for EMACS, since it can
>*emulate* through ELisp any other text editor.  And what's even
>better is that it's MACHINE INDEPENDENT!  :-)  I'm using EMACS
>right now on an 80 MIPS UNIX box, have it for my laptop, for my
>Amigas, etc. etc. etc.  

  MicroEmacs is my fallback editor for the PeeCee and Amiga here as well
as a dialup UNIX account that I have.

  It still doesn't have undo/redo though.  And, it's memory management is
rather slow as well...

  -jack-