HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.sys.amiga.programmer
Subject: GCC's as(sembler) where are the Docs?
From: hoffmann@nutmeg.ntu.edu.au (Arthur Hoffmann)
Date: 13 Sep 92 19:41:57 +0900
Distribution: world
Organization: Information Technology, Northern Territory University

Hi, I have to do some work with assembly language and I would like to use 
as, which is in the GCC package, but I can not fine any documentation on it.

Any hints?

Please E-Mail.

Arthur.

					Arthur Hoffmann
					hoffmann@pandanus.ntu.edu.au
Newsgroups: comp.sys.amiga.programmer
From: srn@cs.su.oz.au (Stephen Robert Norris)
Subject: Gadtools - "cleartext string gadget"
Organization: Basser Dept of Computer Science, University of Sydney, Australia
Date: Sun, 13 Sep 1992 09:30:24 GMT
Summary: How to turn of text printing?
Keywords: how?

	I have a fairly simple problem - how do I turn of text printing
for only one gadget?  I'm using gadtools under 2.04, but lack the
libraries RKM (on back order :( ).

	Could someone provide some sample code or a fragment to do this?

	Stephen

--
Stephen Norris - CS4.  srn@minnie.cs.su.oz.au
                       steven@extro.ucc.su.oz.au
From: aa519@cleveland.Freenet.Edu (Scotty Meredith)
Newsgroups: comp.sys.amiga.programmer
Subject: Amiga 500 to VGA *WITHOUT* flicker fixer?
Date: 12 Sep 92 01:51:12 GMT
Reply-To: aa519@cleveland.Freenet.Edu (Scotty Meredith)
Organization: Case Western Reserve University, Cleveland, OH (USA)
NNTP-Posting-Host: slc12.ins.cwru.edu



I was given a VGA monitor by a friend.  Is it possible to hook it up to an
Amiga 500 just buy adding a cable?  I know it will work with the flicker
fixer, but I dont want to spend $250 for it, when I already have a 1094S.

Please reply via E-mail to:  aa519@cleveland.freenet.edu

thanks,
scotty
Newsgroups: comp.sys.amiga.programmer
From: willw@extro.ucc.su.OZ.AU (William Waring)
Subject: Re: Window Non-activation
Organization: /etc/organization
Date: Fri, 11 Sep 1992 14:26:29 GMT

In article <1992Sep10.151419.12760@miavx1.acs.muohio.edu> bjbernstein@miavx1.acs.muohio.edu writes:
>  I have a seperate screen with a backdrop window on it. I open up several 
>other windows on that screen which are output only, and have no close 
>gadget (they are opened and closed by the program or user hitting an F-key)
>
>  What I would like to do is, if someone moves the window around on the 
>screen or re-sizes it (etc), I do not want that window to be active. Is 
>there a IDCMP or flag that would prevent the window from becoming active 
>but still allowing movement?  Thanks..

Nope, there isn't unfortunatly (You can do it on the mac tho :-)). If you're
program is smart enough, you can make it realise that someone has only moved
it or only re-sized it, and de-activate it as soon as he is finished. I
suppose that's the next best thing...





-- 
--
Well I guess I'd better say something witty...
--
"The Lord gave us farmers two strong hands so we could grab as much as
From: abs0@coos.dartmouth.edu (Kelvin Leung)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: A4000, really?
Date: 5 Sep 92 17:15:37 GMT
Organization: Dartmouth College, Hanover, NH

long@incubus.adsp.sub.org (Joerg Meenen) writes:

>hi brian
>you asked for information on the new amigas? here you are ...
>i found this article in the "incubus" bbs in germany.

[Info regarding A4000 and A1000 classic deleted]

Please don't spread this rumor anymore!!! this article was written as
a joke!!! talk to the people from comp.sys.amiga.advocacy.  In fact,
it was started over there--a guy named Skip wrote that article.  He
didn't quite expect his joke would travel far and wide... please,
delete it!!!

>--- Via UCI v1.02 (C-Net Amiga)

>Write to: fido@vax.rz.uni-wuerzburg.dbp.de

Yours Sincerely,
Kelvin

                                            ____________________________
 __________________________________________/ Undergraduate, Class of 94 \___ 
/____________________________________________________________\_____/________\
|  Kelvin    /   Internet: Kelvin.Leung@Dartmouth.edu       ({o   o})       |
|   Leung   /       or     abs0@Coos.Dartmouth.edu        <  #  ^  #  >     | 
|__________/_______________________________________________(vvvvvvvvv)______|
| "Unless someone like you cares a whole |  Do you see a doll? a beast?     |
|  awful lot, nothing is going to get    |                                  |
|  better.  It's not."                   |  There are always more than one  |
|               -- Dr. Seuss (The Lorax) |  side to any story...            |
 \______________________________________/ \________________________________/ 
Newsgroups: comp.sys.amiga.programmer
From: Frederick.Theilig@bbs.oit.unc.edu (Frederick Theilig)
Subject: fopen() or Open()
Organization: Extended Bulletin Board Service
Date: Sun, 6 Sep 1992 11:02:17 GMT

     Please humor me.  Why why should I use AmigaDOS Open() and Close()
 rather than C's fopen() and fclose()?
--
   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: divineg@prism.cs.orst.edu (Glade Diviney)
Newsgroups: comp.sys.amiga.programmer
Subject: DICE (was: Distressed Damsel needs C Compiler!)
Date: 9 Sep 92 16:29:09 GMT
Organization: Oregon State University, Computer Science Dept

In article <1992Aug26.220430.13504@ultb.isc.rit.edu> kxs5829@ultb.isc.rit.edu (K.X. Saunders ) writes:
>
>	I was a registered DICE user (v 2.06.38).  I stopped using it because
>the code produced is, in general, unreliable (ie buggy).  I would recommend
>Markus Wild's gcc-2.2.2 port which I now use.
>
  I've been using DICE for a year now, and never had any problems with it!
  What kind of bugs did you find?

-=Glade Diviney
  divineg@prism.cs.orst.edu
Newsgroups: comp.sys.amiga.programmer
From: duening@ibr.cs.tu-bs.de (Lars Duening)
Subject: Re: Amiga-Oberon (please ignore preceding post *blush*)
Reply-To: duening@ibr.cs.tu-bs.de (Lars Duening)
Organization: TU Braunschweig, Informatik (Bueltenweg), Germany
Date: Tue, 15 Sep 1992 11:46:49 GMT

( Sorry, previous post used the wrong file. )

Recently pooler@aix02.ecs.rpi.edu (Robert Peter Poole) and 
James_Coulter@panam.wimsey.bc.ca (James Coulter) asked for information
about Amiga-Oberon.

Amiga-Oberon (now in version 2.13) is written by Fridtjof Siebert and
sold by a swiss company:

	A+L AG.
	Daederiz 61
	CH-2540 Grenchen
	Switzerland
	Phone: (+41) 065/52 03 11

and costs US-$ 246 for the compiler package, and additional US-$ 165
for the run-time debugger (prices w/o VAT or customs).
For about US-$ 50 per year you get free minor updates and cheaper
major updates. 
Payment may be done in advance or (at least within Europe) by COD.
Unfortunately they have no distributor in the USA (don't know of the
other countries).
The compiler is sold in german and english versions.

Amiga-Oberon implements 'revised Oberon' (an update to Oberon-2 is
said to be in preparation) with Amiga-specific extensions (e.g. BPTRs;
extendable STRUCTures w/o type information; support of multi-language
development; direct access to memory locations). 
The compiler especially knows how to call the .libraries directly with
arguments placed in registers. This feature may also be used for own
programs/.libraries. 
It has complete Amiga-OS 2.0 support.
The compiler runs fast, and produces good, fast code. I experienced no
bugs so far.
The default runtime system catches in cooperation with the runtime
checks within the code almost all potential gurus. 

Included with the compiler is a customizable editor, which allows to
call compiler and linker from within, linker (of course), a special
make, a special linker for .libraries and .devices, and the complete
sources of the .library-interface and the runtime modules.

The additional debugger allows runtime source debugging quite
comfortably. With it come some other smalls utils (cross reference,
disassembler).

Personally I recommend the compiler.
If you want to take a look at actual sources, try the AMOK-PD disks
(available at least on athene.uni-paderborn.de, /pcsoft/amiga/amok).

 -- Lars

..oh, yes, the disclaimer: I am not involved with the company, except
that I am satisfied customer.
Newsgroups: comp.sys.amiga.programmer
From: jamie@cdevil.unx.sas.com (James Cooper)
Subject: Re: Global Optimizer on Lattice C 5.1
Originator: jamie@cdevil.unx.sas.com
Date: Fri, 11 Sep 1992 14:42:44 GMT
Organization: SAS Institute Inc.


In article <1992Sep10.151047.12758@miavx1.acs.muohio.edu>, bjbernstein@miavx1.acs.muohio.edu writes:
>
>  What exactly does -O (global optimizer) do for Lattice C 5.1 other than
>take out dead assigned variables? It takes it's time on my 030 whatever
>it's doing..

Look on pages G71 - G73 of you manual.  There is a list (with some
explanation) of the 13 different optimizations GO does for you...

-- 
---------------
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: Lee_Robert_Willis@cup.portal.com
Newsgroups: comp.sys.amiga.programmer
Subject: Hot Links - What's all the fuss?
Date: Sun,  6 Sep 92 18:36:52 PDT
Organization: The Portal System (TM)
Distribution: world

Hi Net!

I just downloaded and read the HotLinks developers kit, and I think I
must've missed something, because my overall reaction was "So what?".
ADOS 2.0 has file notification already.  What is Hot Links besides another
way to do file notification?

OK gang, what did I miss?
--
Lee      Lee_Robert_Willis@cup.portal.com
Newsgroups: comp.sys.amiga.programmer
Subject: Re:  How to store client data in XPR structure ?
From: jbickers@templar.actrix.gen.nz (John Bickers)
Date: 14 Sep 92 00:22:35 PST
Organization: TAP, NZAmigaUG

Quoted from <sysop.0dfw@alphanet.alphanet.ch> by sysop@alphanet.alphanet.ch (Marc SCHAEFER):

> Btw. Is there somewhere any real doc on callback interface (not the one that
> describes the XPR standard from the user point of view). I found it really

    I got some documentation via BMS, from a site that has the Fish
    disks on-line. It's the XPR 2.0 spec, dated 11th Sept '89. In
    fact, I got it from cryo's CD-ROM, and it says in the file listing
    that it came from Fish disk #247.

> | Marc SCHAEFER _ //| sysadm@alphanet.ch  -or-	schaefer@di.epfl.ch |
--
*** John Bickers, TAP, NZAmigaUG.        jbickers@templar.actrix.gen.nz ***
***    "Radioactivity - It's in the air, for you and me" - Kraftwerk    ***
From: mwm@contessa.palo-alto.ca.us (Mike Meyer)
Subject: Re: umask() function
Newsgroups: comp.sys.amiga.programmer
Distribution: world
X-NewsSoftware: Amiga Yarn 3.4, 1992/08/12 15:49:52
Keywords: 
Summary: 
Date: 3 Sep 92 23:54:40 PST
Organization: Missionaria Phonibalonica

In <paulk.1a3y@terapin.com>, paulk@terapin.com (Paul Kienitz) wrote:
> Could somebody tell me the purpose of the umask() function?
> I think it's unix.

Correct, it's unix. It is used to specify bits that should never bet
set in a files protection bits when files are created.

>  Is it cool to implement it on the Amiga as
> int umask(int foo)  { return 0; }
> ?

Yes. It's mostly used to control things that aren't there on the
Amiga. The worst that will happen is your program will launch a child
that will create a file with one of rwd that it wanted on on, but
which your program wanted off.

> Another question.  Could somebody tell me the meaning of the following command
> line arguments for Lattice C:
> 
>   -O -v -m0t -cuaisfr -rr

-O is optimize. -v disables stack checking. -m0t says to generate
68000 code, optimized for time (this is the default for the compiler).
-rr causes it to use registerized paramenters.

-c sets: u: make chars unsigned by default; a: do ANSI compatibility
checking; i: only include a file once, even if the program tries to
include it more again (i.e. - let me write buggy code); s: merge
identical strings (ANSI says strings are constants, so this is safe);
f: require function prototypes; r: disallow __asm keywords on function
definitions.

	<mike
From: peter@cbmvax.commodore.com (Peter Cherna)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: More GADTOOLS questions...
Date: 4 Sep 92 21:46:28 GMT
Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
Organization: Commodore-Amiga, Inc.  West Chester, PA.

In article <mbs.0xis@adastra.cvl.va.us> mbs@adastra.cvl.va.us (Michael B. Smith) writes:
>V37 of gadtools.library has some weirdnesses when GT messages get queued up.
>It tends to cause the machine to lock up. GRn opens a 1x1 requester whenever
>it is "busy", and uses windows to simulate requesters.

I don't think so.  There are no known problems with V37 gadtools and
queuing of messages.  Care to elaborate?  Better yet, send a bug report
with sample code please.

>The problem with real requesters is that GT's aren't locked out, unless they
>are explicitly disabled (not a chance you'd do that for speed purposes if you
>have more than one). So, if the user goes clicking away around the screen,
>you've got a hung machine....(it is quite possible that Myke or I did something
>wrong in GRn -- but we don't think so, and no one has pointed it out to us).

Real requesters DO lock out all gadgets in the parent window, including
GadTools gadgets.  Unless you're trying to get smart with LockLayer() or
LockLayerInfo() or LockIBase(), there are no known ways to provoke a
deadlock in Intuition without there being a coding error in the application.
We sought out an annihilated all such problems prior to the release of 2.04.

Of course, we'd be interested in any useful information to the contrary...

>  //   Michael B. Smith

     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: s37732v@vipunen.hut.fi (Markus Juhani Aalto)
Subject: Re: User preferred FONT support?
Organization: Helsinki University of Technology, Finland
Date: 10 Sep 92 18:29:54

In article <25440015@hpsad.sad.hp.com> kevint@hpsad.sad.hp.com (Kevin Taddeucci) writes:

   I am attempting to support the users default fonts in a card file 
   program which opens on the workbench screen. The problem is that I have a 
   row of gadgets which are placed across the bottom of the screen. The 
   gadgets currently re-size themselves to accommodate the font used. The only 
   problem is that when the fonts get to big the gadgets begin to overlap 
   each other. This happens when the point size begins to reach about 13 or 
   14 and I don't really have the option of opening a bigger window since 
   the window is already 640 pixels wide. 

   So, the question is how do I handle this problem and still follow C='s 
   guidelines of supporting user preferred fonts?

   Should I only allow the user a maximum size and supply my own defaults if 
   the size is exceeded?

I think the best way is to try use default font and if it's too big
then use topaz8. Then program atleast works somehow even if the font
is too big.

Or you could try to make two (three...) rows of buttons if they wont
fit into one row. 

It's a shame that font scaling is so slow because then you could try
to scale default font smaller.

   Any ideas would be appreciated.

Three suggestions. I think the 1st and 2nd are easiest and 3rd is nice
but is too slow.

	  ----------------------------- ------------------------------------
	 | Kevin J. Taddeucci          | e-mail: kevint@hpsad.sad.hp.com    |
	 | Hewlett Packard Firmware QA | HPDesk: Kevin TADDEUCCI /HP5300/A0 |
	 | Telnet: 794-4192            | HP Mailstop: 2LR-N                 | 
	  ----------------------------- ------------------------------------
--


**************************************************************************
*         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: rock@lakes.trenton.sc.us (Rockerboy)
Newsgroups: comp.sys.amiga.programmer
Subject: Source for mods/meds
Date: Wed, 09 Sep 92 05:03:06 EDT
Reply-To: rock@lakes.trenton.sc.us
Organization: The Veronica Lake Fan Club

Well, folks, I tried audio first, but no one seemed to have my answers, so
perhaps here?  I'm looking for assembly source code the play Sound Tracker
mods.  My application will be taking over the machine, so the source should
not work with intuition.  I have a source like this, but it is HORRENDOUSLY
slow.  It soaks up so much raster time that I have little left for anything
else.  Anyone with an optimized modplayer.s care to share it?  And also, I
have tried to get MED3.22's source to work as it is supposed to (the docs
claim that it will funtion in a non-multitasking environemnt provided the
appropriate switches are set at assembly time) but this does not appear to
be the case.  Has anyone else had success playing medplayer mods from a
non-multitasking environment?


"Sometimes what you say is going to fly right in the faces of the 
powerful people who really run this world, but you don't care...you know 
it's your place to challenge authority..."

                                          Rockerboy
From: forgeas@swinjm.UUCP (Jean-Michel Forgeas)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: TagItem tricks
Date: 10 Sep 92 11:48:57 GMT
Reply-To: cbmvax!cbmehq!cbmfra!swinjm!forgeas (Jean-Michel Forgeas)
Organization: The Software Winery
X-Newsreader: Arn V1.00 alpha rel2

In article <9209071929.AA28631@csugrad.cs.vt.edu>, Paul Miller writes:

> What would be the best way to add and remove specific items from a TagList?

To add tags:
Examine the taglist to find the TagItem where ti_Tag = TAG_END (or TAG_DONE),
and replace it with TAG_MORE. Then into ti_Data put a pointer to an other
taglist.

To remove a Tag:
Replace it with TAG_IGNORE.
--
Jean-Michel Forgeas         uunet!cbmvax!cbmehq!cbmfra!swinjm!forgeas
4 rue du General Leclerc                       __
95210 Saint Gratien, France                    \/
From: denson@sdd.hp.com (Craig Denson)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: '030 hardware exceptions
Date: 14 Sep 1992 12:37:52 -0700
Organization: Not!
NNTP-Posting-Host: hpsdln.sdd.hp.com
Keywords: Exception Vectors

In article <paulk.1h76@terapin.com> paulk@terapin.com (Paul Kienitz) writes:
>I've asked this in various places and gotten no answer ...  Okay, you know the
>list of 68000 hardware exceptions, that goes like this:   ...??
>
>  2  Bus error
>  3  Address error
>  4  Illegal instruction
>  5  Divide by zero
>  6  CHK instruction [CHK2]
>  7  TRAPV instruction [cpTRAPcc, TRAPcc]
>  8  Privilege violation
>  9  Trace
> 10  [Unimplemented] 1010 opcode
> 11  [Unimplemented] 1111 opcode
> 12  ... not used in plain 68000 [Unassigned, Reserved ]

 for the 68030:

  13  Coprocessor Protocol Violation [1]
  14  Format Error                  
  15  Uninitialized Interrupt        [1]
  16 - 23  Unassigned, reserved
  24  Spurious Interrupt
  25  Level 1 Interrupt Autovector
  26  Level 2 Interrupt Autovector
  27  Level 3 Interrupt Autovector    
  28  Level 4 Interrupt Autovector
  29  Level 5 Interrupt Autovector
  30  Level 6 Interrupt Autovector
  31  Level 7 Interrupt Autovector
  32 - 47 TRAP #0-15 Instruction Vectors
  48  FPCP Branch or Set on Unordered Condition  [1]
  49  FPCP Inexact Result                         "
  50  FPCP Divide by zero                         "
  51  FPCP Underflow                              "
  52  FPCP Operand Error                          |
  53  FPCP Overflow                               v
  54  FPCP Signaling NAN
  55  Unassigned, reserved
  56  MMU Configuration error
  57  Defined for MC68851, not used by MC68030
  58  Defined for MC68851, not used by MC68030
  59 - 63 Unassigned, reserved
  64-255 User defined vectors

[1] not defined for 68010

 i don't have the '020' manual. hope this helps.


craig
Newsgroups: comp.sys.amiga.programmer
From: boberg@lysator.liu.se (Stefan Boberg)
Subject: Re: What is (APTR) ?
Organization: Lysator Academic Computer Society, Linkoping University, Sweden
Date: Mon, 14 Sep 1992 11:33:14 GMT

copes@cs.curtin.edu.au (Simon Cope) writes:

>gs@TEETOT.ACUSD.EDU (Sir Greg Simon) writes:

>>Sorry for my nieve-ness, but in my 2.0 RKM manuals I come across this
>>symbol very often and I cannot figure out what it is.  Could comebody
>>please explain to me what it is:

>>	(APTR)

>I think it stands for A Pointer.  It is defined as ULONG * in the includes.
>Definitely easier to type.

  Excerpt from `exec/types.h' :

  /*  WARNING: APTR was redefined for the V36 Includes!  APTR is a   */
 /*  32-Bit Absolute Memory Pointer.  C pointer math will not       */
/*  operate on APTR --  use "ULONG *" instead.                     */
                            ^^^^^^^^^

  BTW: Why isn't this "UBYTE *" ?? Why on earth would anyone want ULONG
pointer arithmetic?

  So APTR stands for Absolute PoinTeR.

  And it's now defined as:

typedef void           *APTR;       /* 32-bit untyped pointer */


  Now you know :-)
--
Stefan Boberg - AP & EE student at Linkoping Institute of Technology, Sweden
 Author of LhA, ArjA and LhArcA. Co-author of Alien Breed, Project X, Full
  Contact and Miami Chase.
    EMail: boberg@lysator.liu.se, lha@augs.se       FidoNet: 2:204/404
From: jesup@cbmvax.commodore.com (Randell Jesup)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: writing odd bytes
Date: 8 Sep 92 02:34:05 GMT
Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
Distribution: comp
Organization: Commodore, West Chester, PA

"jonathan forbes" <jonathan.forbes@canrem.com> writes:
>I have run into a very strange problem.  In one of my programs, a
>Write() call will occasionally take *much* longer to execute than it
>should (when writing to any hard drive).  When this happens, it would
>seem to be a slowdown to about 25% of "normal" speed, and the hard drive
>activity light is solid.
>
>It's almost as if the data was being written a little bit at a time, but
>I have checked and only large pieces are being written (~= 64k).
>
>Now, the strange thing I noticed eventually is that writing an odd
>number of bytes seems to make it happen; I can write 65534 or 65536
>bytes, but if I write 65535 bytes, it slows down.

	Most DMA HD controllers can only DMA even numbers of bytes, to and
from even boundaries (current A3000's need longword boundaries).  Because
of this, and the fact that some HD controllers don't handle being passed
odd boundaries, the FS has a "MASK" value.  If your transfer and the mask
indicate DMA may not be possible, the transfer is done through the filesystem
buffers, 512 bytes at a time.

-- 
"Rev on the redline, you're on your own; seems like a lifetime, but soon it's
 gone..."  Foreigner
-
Randell Jesup, Jack-of-quite-a-few-trades, Commodore Engineering.
{uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com  BIX: rjesup  
Disclaimer: Nothing I say is anything other than my personal opinion.