HDTenEightyP/NetNews huggingface dataset:
From: c92caren@IDA.LiU.SE (Dingbats)
Subject: Re: How to detect WBscreenmode change?
Organization: CIS Dept, University of Linkoping, Sweden
Date: Mon, 11 Jan 1993 19:19:47 GMT

In article <1irh9jINNqc2@butler.cc.tut.fi> k114636@ee.tut.fi (Kuulusa Mika) writes:

>   How can I detect a change in WBScreenModes nicely?

I guess the OS would throw you a CLASS NewPrefs IDCMP Message when such a
thing happens, I'm not sure thou, just a thought...
--
    +------------------------------------------+---------------+--+
   /      00101011 or 11010100 ?               | Calle Englund |  |##
  /                                            +---------------+  |##
 /  CompSci Student @ Linkoping University of Technology          |##
+                                          __                     |##
| Voice: +46(0)13 17 71 49                ///                     |##
| Email: c92caren@und.ida.liu.se   __    ///\                     +##
| Snail: Namndemansgarden 10       \\\  ///\ \                   /###
|        S-582 38 LINKOPING         \\\///--\ \                 /###
|        SWEDEN                      \XX/    \ \MIGA           /###
+-------------------------------------------------------------+###
  ###############################################################
% cat disclaimer
cat: disclaimer: No such file or directory
Not my fault
Core dumped
% 
Newsgroups: comp.sys.amiga.programmer
From: shulick@navajo.ucs.indiana.edu (Sam Hulick)
Subject: Re: Enough talk. FILE: server.c
Organization: Vallen Software
Date: Fri, 8 Jan 1993 18:06:04 GMT

In article <1ijdd2INNo6c@moe.ksu.ksu.edu>, epa@phys.ksu.edu (Eric P. Armstrong) says most sayishly:
>You seem to have forgotten to ReplyMsg your message....
>Try adding....  
>
>	  ReplyMsg(msg);
>

Added, but it still leaks.  =u(  About 8608 bytes are still not freed.

-- 
    // Amiga 3000   ___ \ Sam Hulick: shulick@indiana.edu (NeXTmail OK!)
   // 68030 25 MHz /__/\ \ My opinions wear combat boots.  Or whatever.
\\// OS 2.04       \__\/ / "Walk!  Not bloody likely.  I am going in a
 \/                     / taxi."  --George Bernard Shaw
Xref: sparky comp.sys.amiga.programmer:18321 comp.sys.amiga.hardware:22596
From: aldi@phantm.UUCP (Christopher Aldi)
Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.hardware
Subject: Re:  Attn Commodore: You are making a Big Mistake (Hardware
Date: 8 Jan 93 00:44:43 GMT
Organization: Phantom Development

In article <58363@dime.cs.umass.edu> barrett@astro.cs.umass.edu (Daniel Barrett) writes:
>In article <38370@cbmvax.commodore.com> daveh@cbmvax.commodore.com (Dave Haynie) writes:
>>Of course, companies that charge $1000 a year for their program generally
>>have better support than those that charged $29.95 for the latest "Flying
>>Bozo Brothers" action shoot-em-up.
>
>	Dave, don't ask me why, but somehow the name "Flying Bozo Brothers"
>has kept me laughing hysterically for the past 5 minutes.  If the game ever
>came out, you'd lose half the Amiga user community to stomach contortions.

I do beleive this is catchy... I can't stop laughing, some one please
call the funny farm... not only do the "Flying Bozo Brothers" fly, but
whence flying, they juggle their famous "Bozo Brother Balls".

----------------------------------------------------------------------------
 Phantom Development                         Christopher E. Aldi
 P.O. Box 572                 //             UUCP: aldi%phantm@uunet.uu.net
 Plantsville, CT 06479      \X/ Amiga              aldi@phantm.uucp        
                 "Luke, use the force, don't give in to DOS."
    "Buy an Amiga, it is your destiny... you mus'nt face DOS Vader again"
----------------------------------------------------------------------------
From: johnv@acix.DIALix.oz.au (John Verhoeven)
Subject: Help with shifts in Manx C
Newsgroups: comp.sys.amiga.programmer
Summary: Manx Aztec C Shift operators
X-Newsreader: TIN [version 1.1 PL8]
Date: 6 Jan 93 14:04:39 WST
Organization: ACix - Private UUCP Node, Cloverdale, Western Australia.

I been playing with the AllocEntry() function.

The latest RKM Libraries (pp 460) have this example for checking the return
from AllocEntry (where memlist is assigned the return from AllocEntry):

#define ALLOCERROR 0x80000000

if ((ULONG)memlist & ALLOCERROR)
{
	/* a problem...do something */
}

When I compile this with Aztec C68k/Amiga 5.2a Sep 25 1991 17:04:29 it
translates the code to the instruction btst.b #7,memlist which is
incorrect.

I've tried using "if (memlist & (1L<<31))" with the same result.

If I declare ALLOCERROR as a ULONG equal to 0x80000000 it uses the
instruction and.l memlist,ALLOCERROR which is correct.

So shouldn't Manx convert the "if (memlist & (1L<<31))" to the instruction
sequence of moveq #31,d0 followed by btst.l d0,memlist?

Newsgroups: comp.sys.amiga.programmer
From: jdickson@jato.jpl.nasa.gov (Jeff Dickson)
Subject: Re: RKM description of WaitPort()
Keywords: WaitPort, MsgPorts
Organization: Jet Propulsion Laboratory
Date: Fri, 8 Jan 1993 06:53:25 GMT

In article <1iijp8INN1fl@hpsdlss5.sdd.hp.com> denson@sdd.hp.com (Craig Denson) writes:
>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

Well, you wouldn't think there was any harm is using your process message port 
either, but if you do an ASYNC_PACKET guru will result. Like your process port
you really don't own the window message port - Intuition does...and I'd imagine
that trying to use it out of context would cause a similiar outcome. Sending 
messages to your UserPort should be ok though.

Jeff
From: cs92aja@cen.ex.ac.uk (A.J.Amsel)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Subliminal Messages
Date: 12 Jan 93 18:54:25 GMT
	<1993Jan7.165811.6987@csar.encore.com> <crystal.726438666@glia>
	<UfHTzCG00hsBJ6hItA@cs.cmu.edu>
Organization: Computer Unit. - University of Exeter. UK

As a 1st year Cog Sci ( don`t ask ) student I know from some research that
subliminal messages can be passed to the brain and you can never know. It is
very doubtfull whether these messages can get more complicated than a single
short word(which is what I know can happen) though, and even so the
experiment only worked on some people and not others and wasn`t completely
conclusive. It was a stroop effect sort of expt if your interested.

On the A1200 it MAY be possible to perform this experiment with some success
depending on how closely matched the colours are. I`ll tell anyone all
about it if they write to me but I am no expert and only read a small
amount about it. The program to test it would be simple enough though and 
could be done in Basic.

 ------------------------------------------------------------
 | This is sent to your courtesy of Alex Amsel incorporated |
 ------------------------------------------------------------
 |       Probably the best opinion in the world     |  NOT  |
 ------------------------------------------------------------
From: peterk@cbmger.de.so.commodore.com (Dr Peter Kittel Germany)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Subliminal Messages
Date: 11 Jan 93 14:34:15 GMT
Reply-To: peterk@cbmger.de.so.commodore.com (Dr Peter Kittel Germany)
Organization: Commodore Germany

In article <Gene_Ruebsamen.01lo@republik.fidonet.org> Gene_Ruebsamen@republik.fidonet.org (Gene Ruebsamen) writes:
>I am trying to figure out a way to get my A3000 to flash a text
>message on the screen for a brief period of time (about 1/15th to 1/30th)
>of a second, and then wait a few seconds and flash the message again.

I'm a bit concerned with this subliminal stuff, but anyway. How about
   WaitTOF();   /* Sync to screen start */
   Write your message (e.g. by holding it on an own screen and simply
		       do a ScreenToFront(xxx);)
   WaitTOF();   /* show it 1/60 s */
   WaitTOF();   /* another 1/60 s, makes together 1/30 s */
   /* Insert more WaitTOF's if you like */
   Hide your message again (e.g. through ScreenToBack)
   Delay(secs*50);  /* Pause until next exposition */

-- 
Best regards, Dr. Peter Kittel  // E-Mail to \\  Only my personal opinions...
Commodore Frankfurt, Germany  \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk
Wer's nicht kann, soll's bleiben klopfen oder Steine lassen!
Newsgroups: comp.sys.amiga.programmer
From: dlove@cbnewsf.cb.att.com (Dave Love)
Subject: Re: Multifinder for AmigaDOS (was Re: SpazEdit 2.1 for Amiga)
Organization: AT&T
Date: Wed, 6 Jan 1993 20:18:00 GMT

In article <58339@dime.cs.umass.edu> barrett@astro.cs.umass.edu (Daniel Barrett) writes:
>
>	Personally, I'd like to know why MultiFinder has never been ported

MultiFinder?  Come on, Dan.  It's the '90s.  Who needs multitasking?

>ps -- :-)

Ditto.

--
 Dave Love 
 dlove@cbnewsf.att.com

"Forgive your enemies...but never forget their names."
 - JFK
From: wenicp@vulcan.resmel.bhp.com.au
Newsgroups: comp.sys.amiga.programmer
Subject: Re: OS 'Move/Draw' speed
Date: 12 Jan 93 15:02:35 +1000
Organization: BHP Research - Melbourne Laboratories

>> > "Real programmers" make their own blitter line routines (some of which
>> > can be found on some ftp sites - I forgot where)
>> 
>> Could anyone point me in the direction of such a routine? I have an old
>> hardware reference manual, but it doesn't explain how to do this.
>> (I also have the Abacus System Programmers Guide, but their routine
>> doesn't seem to work).
> 
> Ftp an aminet site (like amiga.physik.unizh.ch) and look for:
> 
> /pub/aminet/text/docs/tipdrwln.lha
> 
> (I'm not quite sure about the path though.)
> 
> --
> 
> Bjoern Reese                   |     Email: breese@imada.ou.dk
> Odense University, Denmark     |     Voice: +45 65 932 182 (private)

Thanks. The actual path/filename is /amiga/dev/src/tipdrawline.lha
Peter
(wenicp@vulcan.resmel.bhp.com.au)
From: harderaf@cnsvax.uwec.edu
Newsgroups: comp.sys.amiga.programmer
Subject: RexxARPLib question...examples?
Date: 10 Jan 93 15:09:03 GMT
Organization: University of Wisconsin Eau Claire



Hello all...

I am interested in putting together a GUI in ARexx, and I have recently
downloaded RexxARPLib in order to do so.  Unfortunately I have had some
problems getting any of the included example code to work... I have the newest
version of RexxARPlib, and I downloaded the old version, too, so I could get
more example ARexx scripts, but I couldn't get those to run, either.  

   I think one problem may be with the fact that the scripts assume I have a
command in my path called "RUNWSH".  I guess this is a Wshell command and I
don't have Wshell.  

  In slight desperation, I downloaded the newest version of APIG, but after
installation, the included example scripts just locked up my shell without 
ever displaying anything intuition-wise on the Workbench.

  Could some kind soul who is well-versed in the use of RexxARPlib or APIG
e-mail a script (or set of scripts) that successfully opens and uses one (or
both) of these libraries?  I would prefer RexxARPlib, I think, because it
seems to have more features, although I would be very glad to have a working
APIG-based ARexx script as well.

Please respond by e-mail.

Thanks!

Aaron Harder

HarderAF@cnsvax.uwec.edu
From: gregm@cbmvax.commodore.com (Greg Miller - Amiga Networking)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: PPP?  You *must* be joking...
Date: 8 Jan 93 15:42:25 GMT
Reply-To: gregm@cbmvax.commodore.com (Greg Miller - Amiga Networking)
Organization: Commodore, West Chester, PA

In article <43174@sdcc12.ucsd.edu> ps296au@sdcc4.ucsd.edu (Steven Cobb) writes:
>In article <38363@cbmvax.commodore.com> kcd@cbmvax.commodore.com (Ken Dyke - Amiga Networking) writes:
>>In article <C0F2Hn.86w@news.iastate.edu> barrett@iastate.edu (Marc N. Barrett) writes:
>
>(the usual nonsense)
>
>>
>>--
>>Kenneth Dyke - Software Engineer            Internet: kcd@cbmvax.commodore.com
>>Amiga Networking Group                      BIX: kcd     Phone: (215) 344-3014
>>"PPP?  You *must* be joking..."                      INCLUDE "stddisclaimer.i"
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>OK, where is our alternative!  The CBM ethernet software is now ancient
>and was always dilapidated.  I asume you are referring to CSLIP as
>being superior.  I quite agree, but theory doesen't help much in the
>real world.  When are we _finally_ going to see this stuff.
>
>Crankily yours,

 Aw, come on -- that's not fair.

    (1) The Amiga Network Group is awfully busy.  MANY things are in
        testing and the hands of developers.

    (2) I suspect what Ken's signature is referencing is PPP in -general-.
        Take a look at the spec -- it's a wonderful example of what
        happens when a protocol is designed by committee.  While PPP will
        do just about anything you could possibly want, it's a -real- pain
        to implement.

    (3) CSLIP isn't superior to PPP.  Like I said above, PPP does everything
        under the sun -- far more than CSLIP.

 - Greg


>--
>  \________/\      ______________________    __________________________________
>Steven Cobb  \    /   scobb@ucsd.edu     \__/                Graduate School:
>              \  /                                           It's not a job...
>         UCSD  \/ ision Lab                                  It's an indenture.


-- 
Greg Miller                         "Dad!  The heathen is getting away!"
Amiga Networking Group
gregm@cbmvax.commodore.com
From: wenicp@iwsd01.itwol.bhp.com.au (Peter Nicholson)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: OS 'Move/Draw' speed
Date: 11 Jan 93 17:04:21 +1000
Organization: BHP Information Technology

In article <1993Jan7.115153.1364@imada.ou.dk>, breese@monet.imada.ou.dk (Bjoern Reese) writes:
> In article <1993Jan7.035143.5678@gn.ecn.purdue.edu> seifert@gn.ecn.purdue.edu
> (Michael S. Seifert) writes:
>>
>> The other day I ran a simple test to compare the speed of the Draw function
>> to a simple direct line blit taken from the 1.3 hardware ref manual.  Ive
>> always heard that the Draw routine is terribly slow, but in my tests, it
>> wasnt much slower than the blitter example...
>>
> It's wrong to say that Draw is terribly slow. It uses the blitter too.
> As the line blit from the hardware manual is propably the same as the
> one in Draw (I haven't checked though) you'll only gain a minor speed
> increase by avoiding the system jumps.
>

I have an application where I would like perhaps 5 bitplanes, but only
want to draw lines in one bitplane. Presumably a custom line blit routine
would be at least 5 times quicker than Draw().

> "Real programmers" make their own blitter line routines (some of which
> can be found on some ftp sites - I forgot where)

Could anyone point me in the direction of such a routine? I have an old
hardware reference manual, but it doesn't explain how to do this.
(I also have the Abacus System Programmers Guide, but their routine
doesn't seem to work).


Thanks,

Peter
(wenicp@vulcan.resmel.bhp.com.au)
From: goglio@ghost.dsi.unimi.it (giuseppe goglio)
Subject: Lattice C compiler with OS 2.0
Organization: Computer Science Dep. - Milan University
Date: Fri, 8 Jan 1993 10:40:29 GMT

Can someone help me?

I have an Amiga 2000 with kickstart 1.2 upgraded to version 2.0.
This combination doesn't work with version 5.0 of the compiler: I got lots of
guru meditation.
Does anyone know about a version that works with my configuration?
Thanks in advance for the help.

goglio@ghost.dsi.unimi.it
Newsgroups: comp.sys.amiga.programmer
From: gerald@seas.gwu.edu (Gerald G. Washington)
Subject: Creating Image structures
Organization: George Washington University
Date: Sat, 9 Jan 1993 18:28:22 GMT


Is their some utility available which will read in an IFF-ILBM file and
write the C image data?  I know I could just write it myself, but...

Thanks!

-- Gerald
Newsgroups: comp.sys.amiga.programmer
From: seifert@gn.ecn.purdue.edu (Michael S. Seifert)
Subject: OS 'Move/Draw' speed
Organization: Purdue University Engineering Computer Network
Date: Thu, 7 Jan 93 03:51:43 GMT


The other day I ran a simple test to compare the speed of the Draw function
to a simple direct line blit taken from the 1.3 hardware ref manual.  Ive
always heard that the Draw routine is terribly slow, but in my tests, it
wasnt much slower than the blitter example...

Now, I know the Draw routine is slow, so whats up?  What kind of line
routine would be the wisest to create-- or do real programmers code their
own line routine and use the cpu to draw it???

mike
From: paulk@terapin.com (Paul Kienitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: How to allocate memory nicely?
Date: 5 Jan 93 20:43:07 PST
Organization: BBS

> > How should I allocate memory for short strings of, say, 15
> > characters or so without unnecessarily fragmenting the memory?
 
> I would just use malloc() or calloc(). On most systems this works
> just as you suggested, that is, if you request 15 bytes, it
> actually gets a larger page of memory from the OS and saves the
> rest for further calls of malloc().
 
Not with Aztec.  If using Aztec, malloc() is not a good idea for
large numbers of small allocations.
 
I happen to have here a home-grown version of an allocator designed
for lots of little odd-sized pieces, not to be freed until exit time:
 
static char *slablist = null;           /* see Shal() */
#define SLABSIZE 4000
static unsigned short slabused = slabsize;
 
 
/* This here is an allocation efficiencizer which assumes that no
space is freed between allocations.  The size is in bytes.  The piece of
memory it returns is zeroed. */
 
void *Shal(unsigned short size)
{
    void *t;
    if (size > SLABSIZE - slabused) {
        if (!(t = AllocMem(SLABSIZE, MEMF_CLEAR)))
            die(20, "no memory eh");
        *((char **) t) = slablist;   /* chain old onto new */
        slabused = 4;
        slablist = t;
    }
    t = slablist + slabused;
    slabused += size;
    return (t);
}
 
 
 
/* makes the next Shal shortword aligned */
void Shalign(void)
{
    if (slabused & 1) slabused++;
}
 
 
/* then, at exit time, do this: */
    ...
    while (slablist) {
        t = slablist;
        slablist = *((char **) slablist);
        FreeMem(t, (long) SLABSIZE);
    }
    ...
From: peterk@cbmger.de.so.commodore.com (Dr Peter Kittel Germany)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Includes, AutoDocs & AmigaGuide
Date: 12 Jan 93 07:13:16 GMT
Reply-To: peterk@cbmger.de.so.commodore.com (Dr Peter Kittel Germany)
Organization: Commodore Germany

In article <1993Jan11.150637.12991@irisa.fr> noel@irisa.fr writes:
>
>   Where can I get the comodore "Includes & AutoDocs" disks ? At which prise ?

All *european* Amiga programmers may from now on order any article from CATS'
official material list directly in Germany. CATS Europe has established a
european-wide service via Hirsch & Wolf in Germany. 

Here's the address:

                Hirsch & Wolf oHG
                Attn: Hans-Helmut Hirsch
                Mittelstr. 33
                5450 Neuwied 1
                Germany

                Fax: ++49-2631-23878
                Tel: ++49-2631-24485
                UUCP: cbmger!carla!hhhirsch

-- 
Best regards, Dr. Peter Kittel  // E-Mail to \\  Only my personal opinions...
Commodore Frankfurt, Germany  \X/ {uunet|pyramid|rutgers}!cbmvax!cbmger!peterk
Wer's nicht kann, soll's bleiben klopfen oder Steine lassen!
Newsgroups: comp.sys.amiga.programmer
From: Hartwig.Schieck@arbi.informatik.uni-oldenburg.de (Hartwig Schieck)
Subject: Smalltalk available for Amiga ?
Organization: University of Oldenburg, Germany
Date: Mon, 11 Jan 1993 02:44:04 GMT
Keywords: Smalltalk

Hi !

The subject says it all : Is there a SMALLTALK-system available for the
Amiga, be it PD or commercial ?

         Thanks

                      Hartwig Schieck
From: bloc1469@ee.ee.uwm.edu (Gregory R Block)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: IPC and shared memory
Date: 6 Jan 1993 23:29:21 GMT
Organization: Electrical Engineering Dept. University of Wisconsin - Milwaukee
NNTP-Posting-Host: 129.89.2.33

In article <paulk.33x6@terapin.com> paulk@terapin.com (Paul Kienitz) writes:
>I was talking about the specific example of a multiuser BBS game.  In
>that case it's easy enough to guarantee that the semaphore will
>always exist until the last process accessing it exits.

Interesting.  So why not just have a server process which does the
tracking of stuff, and use either spawned slaves, or use a separate
binary for a slave and have the server send you a pointer to it?  That
enables you to do LOTS of things by having the "master" know
everything that's going on, and having the slave be that user's
interface to the world.  One could write slaves that are nothing more
than "windows to the world" for the users of the bbs.  More
importantly, one could write "AI slaves" as seen in muds, robots if
you will, or perhaps highly intelligent monsters.  It all depends on
how you're designing the game, but it does sound as if you could
benefit from having a master process with either subprocesses (perhaps
your bbs could call an AREXX script which launched a slave or
something) or as separate slaves (the more complex but more powerful
solution).

Who knows.  :)

Greg

--
(: (: (: (: Have you overdosed on smileys today?  Why NOT!?! :) :) :) :)
(: "Our father, who art in Iowa, Hollow be thy head, Thy ideas run    :)
(:  Thy will be done, At Commodore as it is at Apple"  -Dan Barrett   :)
(: (: (: (: (: (: (: (: (: (: (: (: () :) :) :) Wubba, the Dark Angel :)
Newsgroups: comp.sys.amiga.programmer
From: jbw@ponder.csci.unt.edu (WEST JASON BRUCE)
Subject: Pascal GRAPHICS [HELP!  Please!!!]
Organization: University of North Texas, Denton
Date: Mon, 11 Jan 1993 11:06:44 GMT

Ok, here is the deal.  I *need* to write a little program that will track 50
or so stocks and graph em.  Each stock will have many many points, which I
believe puts it beyond the scope of what all the PD spreadsheets and databases
and meant for.

So, I know pascal but not C.  I have KickPascal and PCQ (PD) pascal for the
Amiga.  HOW DO I DO BASIC GRAPHICS WITH EITHER OF THESE?!!?!  Just yours
basic 640 X 400 graph screen, and plot 0,0, then plot 0,1, etc.  Just some
very basic comands - I'll take care of the math and scale and all that.

Is this possible?  [god I hope so].  I really need to know this ASAP - since
I would like to finish this project up before I need to program for my real
classes.  I figure I can just use a graphics snap program or something to
dump the screens to the printer.

I have an A3000 with 2.1.  I need to able to open an interlaced screen and
draw lines. If I could also write words to that screen that would be nice also -
but I could always do that later in DeluzePaint or something.


All and any help is GREATLY appreciated.
Thanks a million, in advance.
Ciao...


                                                    - jason

Newsgroups: comp.sys.amiga.programmer