HDTenEightyP/NetNews huggingface dataset:
From: hemmer@hemmer.adsp.sub.org (Franz Hemmer)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Amiga Application Framework
Date: 5 Nov 92 01:16:59 GMT
Reply-To: hemmer@hemmer.adsp.sub.org (Franz Hemmer)
Organization: Interactivsion
X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith

In article <68764@cup.portal.com> Lee_Robert_Willis@cup.portal.com writes:

> ABSTRACT:  
> 
>    I'm trying to develop an application framework skeleton that will
>    work for 99% of Amiga Intuition programs.  Before I invest too
>    much time in this, I'd like to know if this has already been done.

Well, we have ToolMaker and GadToolsBox, both of which are far from
perfect. What I would be looking for, is a highly customizable code
generator, which is able to re-read a source that has been modified,
and then remake the user interface !!!! I believe this exists on the
NeXT computer.

> But (and this _is_ something of a criticism) I've never seen any C= document
> that does tell you the "best" way to structure a full-blown application to
> avoid these pitfalls. (I'm not a developer, just a hacker.  Perhaps C= has
> such a thing for developers.)
> 
> So has anyone heard of this?

Yes! David N. Junod has written 55308 bytes about 'Modular Event Processing',
which presents an excellent scheme for processing events from multiple
sources! The document is in some older AmigaMail issue, propably in some
1989 issue.

> Lee      Lee_Robert_Willis@cup.portal.com

-- 

Best regards                    Reply to: hemmer@hemmer.adsp.sub.org
Franz Hemmer                    #include <stddisclaimer.h>
Software Developer       _      >> Carpe Diem! - Seize the day! <<
                         \\ _
                 Interacti\X/ision - The name of precision
From: mwm@contessa.palo-alto.ca.us (Mike Meyer)
Subject: Re: New hardware reference guide?
Newsgroups: comp.sys.amiga.programmer
Distribution: world
X-NewsSoftware: Amiga Yarn 3.4, 1992/08/12 15:49:52
Keywords: 
Summary: 
Date: 13 Nov 92 00:27:19 PST
Organization: Missionaria Phonibalonica

In <1992Nov13.083504.58455@qut.edu.au>, podesta@qut.edu.au wrote:
> Come on now!! How many advanced system software, that was written on a
> 1.3 A500 with no harddrive will work on a A4000???
> I bet there's not much.

Hmm - if by "advanced system software" you mean the OS, you're
probably right. On the other hand, the authors of the OS are releasing
a bundled package, and _know_ what hardware the thing has to run on.
It's not important whether they run on hardware that they'll never be
run on.

People not working for CBM don't have that advantage. They don't
control what set of machines their software will be shipped with and
expected to run on.

Now, if you mean applications - my two most heavily used applications
were developed under 1.2, one on an A500, the other on an A1000. The
authors of both upgraded to A3000s under the power-up program, and I
know both applications work just fine under 3.0. The next two most
heavily used applications date from the 1.3 era, and also work just
fine under 3.0.

> And don't forget that demo coders don't get any wonderful Developers info.

For that, they have no one to blame but themselves.

	<mike
Newsgroups: comp.sys.amiga.programmer
From: cpc@shell.portal.com (Chris Cebelenski)
Subject: Re: physical memory protection with MMU
Keywords: mmu, memory, task
Organization: Portal Communications Company -- 408/973-9111 (voice) 408/973-8091 (data)
Distribution: worlD
Date: Fri, 13 Nov 1992 19:41:36 GMT

> [Text about how not many programs share memory, and how a protected OS
   wouldn't break most software.]
 

 To keep this short and sweet, I would have to say that almost ALL AmigaDOS
programs use shared memory.  Intuition IDCMP ports are passed BY ADDRESS,
meaning that only a pointer to a memory location is passed.  One workaround
would be to make the OS run in a "kernal" mode with page protection overrride.
Less programs would break, but there still would be mondo problems.
cpc
From: jesup@cbmvax.commodore.com (Randell Jesup)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: running segments from within an application
Date: 5 Nov 92 23:22:31 GMT
Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
Organization: Commodore, West Chester, PA

s3007048@mackay.mpce.mq.edu.au writes:
>I need to know how to pass parameters to segements run from within an
>application.  I know about RunSeg() and LoadSeg(), and i've thought
>about using Execute()...

	I think you mean RunCommand().  RunCommand() is the best way to
pass arguments to a seglist (program) you loaded.  In fact, it's the only
really safe way.  The problem is that there are two separate ways in which
arguments are passed (well actually 3): 1) pointer to string in a0, length in
d0, string usually has a \n in it at the end.  2) as buffered input on the
input filehandle (RunCommand does this for you).  3) via Set/GetArguments()
(also done for you by RunCommand).

	If Execute() or System() will do what you need, use them (it's easier
than LoadSeg/RunCommand/etc).

-- 
To be or not to be = 0xff
-
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.
From: eeh@public.BTR.COM (Eduardo E. Horvath  eeh@btr.com)
Newsgroups: comp.sys.amiga.programmer
Subject: Looking for 2091 dox
Date: 13 Nov 92 00:41:01 GMT
Article-I.D.: public.8302
Organization: BTR Public Access UNIX, MtnView CA. For info contact: info@BTR.COM
X-Newsreader: TIN [version 1.1 PL6]


I'm looking for pointers to information for programming a an A2091 SCSI
interface.  The mach driver I'm currently working on seems to have some
DMA problems, so I need documentation.

Thanx.
-- 
=========================================================================
Eduardo Horvath				eeh@btr.com
					..!{decwrl,mips,fernwood}!btr!eeh
	"Trust me, I am cognizant of what I am doing." - Hammeroid
From: Elrador@cup.portal.com (Charles E Massey)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Float problem in SAS/C, please help!!!
Date: Sun,  8 Nov 92 10:47:06 PST
Organization: The Portal System (TM)
Distribution: world

Do this:
 
When compiling you need to use the MATH tooltype.  Math can be followed
by STANDARD, FFP, & 68881.  So, for example, if I wanted to compile and
link program.c, I would type

sc math=standard link program

This will link it with scm.lib, which you need for the math functions.

charles
From: rlcarr@animato.network23.com (Rich Carreiro)
Newsgroups: comp.sys.amiga.programmer
Subject: Curses (foiled again? :-)
Distribution: world
X-NewsSoftware: GRn 1.16f (10.17.92) by Mike Schwartz & Michael B. Smith
Date: 6 Nov 92 18:35:28 EDT
Organization: The Other Side of Life

Is there a curses compatible library out there for the Amiga?
Thanks.

-- 
Rich Carreiro                                  Home: (401)841-8514
rlcarr@animato.network23.com
uunet.uu.net!animato!rlcarr
Newsgroups: comp.sys.amiga.programmer
From: ejames@venus.iucf.indiana.edu (ERIC JAMES)
Subject: Floating Point Processors
News-Software: VAX/VMS VNEWS 1.3-4   
Reply-To: ejames@venus.iucf.indiana.edu
Organization: nothing
Date: Mon, 9 Nov 1992 19:41:54 GMT

  I have been told that the amiga libraries automaticaly detect if you have
a floating point processor, and uses it if you have it installed.  Dose anyone
know if this is true or not?

  Thanks,

  Eric James
  ejames@venus.iucf.indiana.edu
From: walker@twix.unx.sas.com (Doug Walker)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: 2.1 includes in SAS C 6.0 ?
Date: 13 Nov 92 13:50:11 GMT
Organization: SAS Institute Inc.
Originator: walker@twix.unx.sas.com


In article <2920009@gnlab007.grenoble.hp.com>, gael@gnlab007.grenoble.hp.com (Gael_Marziou) writes:
|> Well the title says it all, does the SAS C 6.0 package come with the 2.1
|> includes ?

No, it comes with the 2.04 includes.

|> Gael Marziou : gael@hpgndl71.grenoble.hp.com or Gael_Marziou@hp6330.desk.hp.com

-- 
  *****
=*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
 *|. o.| ||                                          1200/2400/9600 Dual
  | o  |//     For all you do, this bug's for you!
  ====== 
usenet: walker@unx.sas.com                            bix: djwalker 
Any opinions expressed are mine, not those of SAS Institute, Inc.
From: mlelstv@specklec.mpifr-bonn.mpg.de (Michael van Elst)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: New hardware reference guide?
Date: 12 Nov 92 21:27:47 GMT
Organization: Max-Planck-Institut f"ur Radioastronomie

In <BxK0xp.Fou@cck.coventry.ac.uk> csg019@cck.coventry.ac.uk (-~=Zaphod=~-) writes:
>Yeah, has anyone every tried to get ScollRaster working under 1 frame ;)

That depends on the size of the area to be scrolled. Usually a ClipBlit
is better if you don't want the freed area to be erased (but want to
redraw it yourself).

>Is the graphics library written in assembly language?

Partially.

>If not, whats the point in writting games in 68k if they call routines written
>in C?

C doesn't need to be slow, especially for complex routines.

>Absolutely, some one could try to see how much speed difference there is 
>between a hardware hack written for the A500 and the OS friendly version, 
>written for the A4000.

The A4000 wins of course :)

>Does anyone actually use SortGlist (or whatever) for games anyway?

Do most game programmers in their wisdom even _consider_ using OS routines ?

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: marvil@lysator.liu.se (Martin Vilcans)
Subject: Re: New hardware reference guide?
Organization: Lysator Academic Computer Society, Linkoping University, Sweden
Date: Wed, 11 Nov 1992 20:33:05 GMT

csg019@cch.coventry.ac.uk (-~=Zaphod=~-) writes:

>>No, most demo programmers can't do OS programming very well, and are
>>probably too lazy to learn about it. And, as demo coders are speed freaks,
>>they won't like using someone else's code, as they can't trust it's as fast
>>as they could have made it (and it isn't probably, as OS code should be very
>>flexible).

>Whoa! Thats crap. Demo programmers use the hardware for speed only, it has
>nothing to do with lazyness. Its true, we don't like using other peoples code,
>because we would not be able to accomplish what we set out to do.

Coding the hardware is, if not easier to do, easier to learn. And you don't
need lots of expensive books for it either. And it is actually harder to
follow the rules of OS programming than the rules of hardware programming,
so OS-coded demos will _not_ work better than hardware coded ones. Most
demo coders are not the persons to follow rules.
   (And I am a demo coder as well, and have played around a bit with the OS
and Intuition, so I know what I'm talking about.)

>The fact is, what ever you can do in the OS in 4 frames using the OS, a good
>demo programmer would probably do in 100 raster lines, and make it work on
>any machine.

Yes, that's right.
From: aces@mcode.amdahl.com (Jeffrey D. Smith)
Newsgroups: comp.sys.amiga.programmer
Subject: CanDo 1.6 bug?
Date: 4 Nov 92 16:18:49 GMT
Reply-To: jds30@amail.amdahl.com
Organization: Amdahl Corporation, Sunnyvale Ca.

I noticed what appears to be a bug in CanDo 1.6 callable
routines.

I defined 2 GLOBAL routines, say "Fubar" and "Snafu".  I
defined 2 LOCAL routines, say "Snafu" and "Gorko".  I defined
a button script that calls "Gorko" which calls "Fubar" which
calls "Snafu".

There are 2 "Snafu" routines, GLOBAL and LOCAL.  The GLOBAL
routine "Fubar" calls "Snafu".  The LOCAL routine calls "Fubar".

According to the 1.5 supplement manual, the GLOBAL "Snafu"
routine should not be invoked, but it is invoked when it is
called by "Fubar" (a GLOBAL routine).

Button Script calls "Gorko":		It finds the LOCAL "Gorko".
The LOCAL "Gorko" calls "Fubar":	It finds the GLOBAL "Fubar".
The GLOBAL "Fubar" calls "Snafu":	It finds the GLOBAL "Snafu".

If I make a copy of the GLOBAL "Fubar" as a LOCAL "Fubar", then
the LOCAL "Snafu" is invoked.  This appears to be a bug.  Is it?
Newsgroups: comp.sys.amiga.programmer
From: frostmd@uhura.aston.ac.uk (MD FROST)
Subject: Re: AMOS PROFESSIONAL
Organization: CompSci Dept., Aston University, U.K.
Date: Wed, 11 Nov 1992 12:58:47 GMT

I heard somewhere that AMOS PRO was going to suppport the CD drives
(570/CDTV) has this been implemented with audio play commands and the like
or is it only for the registered developers??


-- 
/-----------------------------------------------------------------------------\
| Matthew Frost - Comp. Sci. //  CDTV/   //  EMail: frostmd@uhura.aston.ac.uk |
| Aston University, U.K.   \X/   Amiga \X/      or: frostmd@cs.aston.ac.uk    |
\-----------------------------------------------------------------------------/
From: jbickers@templar.actrix.gen.nz (John Bickers)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Subtasks, IEEE library pointers - y.a.Q
Date: 13 Nov 92 18:52:10 PST
Organization: TAP

Quoted from <36848@cbmvax.commodore.com> by dlarson@cbmvax.commodore.com (Dale Larson - Product Assurance):

> 1)  Other libraries exist now, other than the math libraries, which are
> documented as absolutely not allowing the sharing of library bases beteween

    Is there a list of these somewhere? This looks like good info to
    put in a FAQ (ie: what libraries to avoid like the plague :).

> Dale Larson, Software Engineer | Anyone who believes that what I say or do
--
*** John Bickers, TAP.                   jbickers@templar.actrix.gen.nz ***
***    "Radioactivity - It's in the air, for you and me" - Kraftwerk    ***
From: po87553@cs.tut.fi (Pasi 'Albert' Ojala)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: running segments from within an application
Date: 7 Nov 1992 11:17:23 GMT
Organization: Tampere University of Technology
Distribution: world
NNTP-Posting-Host: cs.tut.fi

In article <36744@cbmvax.commodore.com> jesup@cbmvax.commodore.com (Randell Jesup) writes:
>If Execute() or System() will do what you need, use them (it's easier
>than LoadSeg/RunCommand/etc).

Do you (or anyone else) have any examples on how to use LoadSeg()/RunCommand().
I tried to use RunCommand() with LoadSeg(), but it just kep Guruing.
On the other hand RunCommand() worked fine with shell-internals and other
residents.

(I use System() now instead, fortunately path,stack etc. are shell-internals.)

-Pasi
-- 
Pasi Ojala  po87553@cs.tut.fi albert@cc.tut.fi
Author of AXsh
From: rfentima@ub.d.umn.edu (Robert Fentiman)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: DICE
Date: 8 Nov 1992 15:32:09 -0600
Organization: University of Minnesota, Duluth
Distribution: world
NNTP-Posting-Host: ub.d.umn.edu
Keywords: DICE, C, compiler

In article <1992Nov8.180216.18829@maccs.dcss.mcmaster.ca> cs4gp6au@maccs.dcss.mcmaster.ca (Lockie      RJ) writes:
>I'm looking for opinions on the DICE C compiler. How good is it?
>How does it compare to the commercial ones (SAS)? Is well
>supported?
>A mini review of it would be nice.
>You can send email to me:
>
>	cs4gp6au@maccs.dcss.mcmaster.ca
>
>	Thanks,
>		Bob.
>


I would also like this information.

My address is as follows

UseNet: rfentima@ub.d.umn.edu

	Thanks
	Robert Fentiman
From: c1a192@rick.cs.ubc.ca (Oliver Erik Seiler)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: What is wrong with this very simple c program?
Date: 10 Nov 1992 14:19:03 -0800
Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
NNTP-Posting-Host: keats.rick.cs.ubc.ca


aramsey@ugly.UVic.CA (Aaron  Ramsey) coded this thingy:
>#include <stdio.h>
>
>main()
>{
>   int zoop[1000];
             ^^^^
>      int counter;
>
>            printf ("started....");
>               for (counter = 0; counter < 5000; counter += 5) {
					    ^^^^
>                     zoop[counter] = counter;
>                        }
>                           printf("done....");
>                           }

Well you are writing to locations past the bounds of the array. Since the
array is local, it is on the stack. SO you are overwriting values on the
stack (since the stack is organized backwards in memory)... ie. You are
killing the return addresses which are placed on the stack. Therefore you guru

Change the size of the array, or the bounds of the 'for' loop...

-Oliver

-- 
\  Oliver Seiler  /\  \    /  /      _                              |||||
 \               /  \  \  /  /      /o\__   <--- My dream car...    (o o)
  \             /    \  \/  /_______-O--O'_____                      \^
   \_Insomniak_/      \_c1a192@rick.cs.ubc.ca_/                     _| |_
Newsgroups: comp.sys.amiga.programmer
From: alun@cyklop.nada.kth.se (Anders Lundquist)
Subject: Re: New hardware reference guide?
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Wed, 11 Nov 1992 19:51:11 GMT

In article <1992Nov11.150900.15090@imada.ou.dk> breese@monet.imada.ou.dk (Bjoern Reese) writes:
>In article <1992Nov11.124537.21704@sth.frontec.se> bjst@sth.frontec.se (Bjorn  
>Stenberg) writes:
>> I think saying that 'the less people are hitting hardware the more programs
>> are likely to work well' is a pretty fair statement.
>
>Consider this: "The more knowledge people have about the hardware the more
>likely their programs will work well."

And this: "The ones who knows most about the Amiga hardware is Commodore."
So the most reliable way to use it is (very) likely the OS routines.
-- 
------
Snail-Mail:  Anders Lundquist                E-Mail:  andersl@bion.kth.se
             Tvarvagen 12                             alun@nada.kth.se
             S 184 32 Akersberga, Sweden     IRC:     alun
Newsgroups: comp.sys.amiga.programmer
From: "Stefan Berg" <sgberg@peach.ucs.indiana.edu>
Subject: any good BASIC interpreters available?
Organization: Computer Science, Indiana University
Date: Sat, 7 Nov 1992 15:39:11 -0500

I am looking for a good BASIC interpreter for my little brother. The
main features I need are:

- German manual (easy to read...)
- easy to use
- good graphics, sounds interface
- not too expensive
- compiler would be nice, but not necessary
- KS2.0 compatible
- 68000-68030 compatible (no specific support needed though)

I found interpreters like AMOS BASIC Professional, AMOS BASIC, and
GFA BASIC. If somebody has some experience with these (or others), please
let me know.

Thanks,

Stefan
-- 
,--------------------------------------------------------------------,
| Usenet   sgberg@charon.bloomington.in.us            Stefan G. Berg |
| Internet sgberg@ucs.indiana.edu        GE Mail: s.berg5            |
| Bitnet   sgberg@iubacs  NeXT Mail: sgberg@arapahoe.ucs.indiana.edu |
`--------------------------------------------------------------------'
Newsgroups: comp.sys.amiga.programmer
From: cmh@lysator.liu.se (Magnus Holmgren)
Subject: Re: New hardware reference guide?
Organization: Lysator Academic Computer Society, Linkoping University, Sweden
Date: Fri, 13 Nov 1992 13:13:30 GMT

csg019@cch.coventry.ac.uk (-~=Zaphod=~-) writes:

>>I think C= have got this one right. Don't let the programmers access
>>machine-specific hardware, and we won't have anywhere near as much
>>frustration with programs that don't work on new machines.

>We also won't have anywhere near the quality when it comes to games or
>demos.

But, the point is, most of the hardware bangers out there doesn't seem to
*know* how to do it properly. They can make games/demos working on their own
machine, sure, but when talking about other's computers, one cant be that
sure.

Besides, I don't care if a game is real great etc, if it doesn't work on
my machine! And it is *very* seldom I play games on my Amiga... If I do,
it is mostly games that I don't need to reboot to start..

>Just try to imagine what 'Fire and Ice' or 'F1 Grand Prix' would be like
>if they used the OS, they would be completely unplayable for anyone without
>an Amiga 4000.

Wait a minute! If I remember correctly (and I think I do... :), F1 Grand Prix
was (is) 100% multitasking, running in a screen of its own. Flipping to Workbench
is no problem during the game.
-- 
 Magnus Holmgren | Email: cmh@lysator.liu.se, cmh@augs.se | FIDO: 2:204/404.6
Comp. Science & Engineering student, Linkoping Institute of Technology, Sweden
Newsgroups: comp.sys.amiga.programmer
From: UK7L@DKAUNI2.BITNET
Subject: Re: Cluster Programmer
Organization: University of Karlsruhe, Germany
Date: Mon, 9 Nov 1992 16:52:20 GMT

Hi Thorsten,
if you talk about the Programminglanguage Cluster comming
from StoneWare, it will be very hard to find them in other
countries than in german-speaking countries, because this time
there is only a german version available, but we work on an
english one too.
Back to your question, you found not only an Cluster-Programmer
you found one of the two guys who developted it.
So if you, or any other Cluster-programmer in the world,
have any questions, send an mail to the address below.
Bye Thomas

Cluster la Vista !!        E-Mail:uk7l@ibm3090.rz.uni-karlsruhe.de
From: pl159410@academ01.mty.itesm.mx (Alejandro Garza Gonzalez)
Newsgroups: comp.sys.amiga.programmer
Subject: What is the best PD interface builder??
Summary: What is the best PD interface builder out there?
Keywords: gui, interface, amiga, c
Date: 9 Nov 92 21:50:42 GMT

Hiya! Well.. the title says it all (almost) :) I have been toying around
with PowerSource (from a Fred fish disk) and the ituition support library
editor, and trying to decide which is the one that will best help me 
do 2.0-compliant GUIs... and frankly, I still think Im short of achieving
the goal. 

Why? Well... PowerSrc is a bit hard to use, and offers too little help when
it comes to doing a finished product, whereas the Intuisup.library editor
has 'instant gratification' from the larger selection of stuff you can define 
onto your app window. BUT, you have to carry a 49k library around with your
program so it can run (Im sick of all these non-standard libraries already!!)

Oh well... short of buying a comm. product, would anyone please post any 
experience with some of these proggies?? Any help would be appreciated!

Thanx in advance...

============================================================================
| Alejandro Garza / (83)38-46-86 / Monterrey, Mexico ::  ^^^^^;            |
| JanusMan- IRC ::  pl159410@academ01.mty.itesm.mx   ::  ('') ; (the hell?)|
| 		    luisk@men_at_work.mty.itesm.mx   ::  /_   ;   o        |
|    // Only amiga, folks!          		     ::  |_- _; .o         |
|  \X/  "That's very intelligent of you... *NOT!*"   ::    ==        J'92! |
============================================================================
Newsgroups: comp.sys.amiga.programmer
From: umward10@ccu.umanitoba.ca (Derek Ward)
Subject: 'J'
Originator: umward10@ccu.umanitoba.ca
Organization: University of Manitoba, Winnipeg, Manitoba, Canada
Date: Fri, 6 Nov 1992 17:41:01 GMT


  I am looking for the FTP site which has a 'J' interpreter.  I know
there's one out there, but can't remember the name/number.

  Please send any help through mail.

Thanks

-- 
_   ///         Computer Science                    It's just the right thing
\\ ///	        University of Manitoba, CANADA!     to do and a tasty way to
 \X//  AMIGA!   umward10@ccu.umanitoba.ca           do it.
Newsgroups: comp.sys.amiga.programmer