HDTenEightyP/NetNews huggingface dataset:
From: wchucky@ocf.berkeley.edu (Chuck Woo)
Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.audio
Subject: Re: MOD -> AMOS conversion...
Date: 13 Apr 1992 07:26:17 GMT
Organization: U. C. Berkeley Overloaded Computing Facility
Distribution: world
NNTP-Posting-Host: monsoon.berkeley.edu

In article <s879sINNnkk@agate.berkeley.edu> wchucky@ocf.berkeley.edu (Chuck Woo) writes:
>hi folks and folkettes!
>could someone give me some pointers on converting mods to .abk?  
>specifically, what can I do to a sample to make it get converted cleanly?
>I have this massively loud and noisy guitar sample (I added noise with
>MED 3.21), and it keeps getting chopped, man, like hacked to pieces...

thanx to the people who responded to my original post (reproduced above in
glorious 1-bit color), but you all told me the same thing: get amos v1.34
and use the built-in tracker player.  I forgot to mention that I _do_ have
v1.34, and that I actually _want_ to use the convertor for a couple reasons:
(1) so people can't rip my music (as if they'd actually want to  :), and
(2) because, as the manual says, the amos music player is more powerful than
the tracker player.  I also forgot to mention that the sample in question is
32k long.  sorry for being so unclear, but I was in somewhat of a rush to
get out of Berkeley (you try hanging around here for a while! :)
can anyone offer some advice, please?

once again, t'anx in advance!
-- 
===========================================================================///
= Chuck Woo,  cwoo@terapin.com or | Call Terrapin Transit BBS!  8 lines,  ///
= wchucky@web.berkeley.edu        | neat stuff!  (510) 486-1422       \\\///
=======================================================================\XX/
From: kenny@mazurka.UUCP (Kenneth Yarnall)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: FAQ list/annoying SAS5.10 window
Distribution: world
X-NewsSoftware: Amiga GRn V1.27 2/17/92 (Beta) by Mike Schwartz
Date: 15 Apr 92 15:09:30 EST
Organization: Math Department, USC

In article <1992Apr14.172556.18140@cco.caltech.edu> rknop@cco.caltech.edu (Robert Andrew Knop) writes:
>l-rittle@uiuc.edu (Loren J. Rittle) writes:
>>>When compiling programs with SAS 5.10, an annoying window
>>>opens every time I go to run my compiled code. Is there any
>>>way to get rid of this extra window?
>
>According to P. 14-15 of the "Customer Service Guide" that came with the 5.10b
>upgrade (from 5.10a) that I got, you can get rid of that window by putting the
>statement "DEFINE __main=__tinymain".
>

I believe that there is a command line switch that will take care of this.
The SASCOPTIONS program has an option in it that is equivalent called "No
stdio (_tinymain)".  That worked for me.

>However, this doesn't seem to work for me.  First, when compiling, it tells me
>I have an undefined symbol y-with-an-umlaut (one character long) first
>referenced in <UNKNOWN>.  Then, when it is nearly done compiling, after the
>"final output" statement, it says, "_main: Unknown command."

Yikes!  Where did you put the define?  On the command line, or in the code?
Make sure you got the syntax correct.

>In spite of these errors, the compiled executable still seems to run.  BUT, I
>still get the annoying window on the workbench!
>
>Any suggestions?
>
>>You need to modify _main.c (in the 5.10b w/ ansi libs version, called
>>__main.c before then I believe) and recompile.  This file should be
>>located in lc:/source.  If the changes are straight foward for you,
>>I can help via email.
>
>I would be interested in seeing this.  I am a tad clueless; does _main.c
>compile to c.o in the libs: directory?  If so, then I suppose it would be a
>good idea to give it a different name when recompiling a modified version.
>(And, I assume you could use this by linking to your different name instead of
>to c.o in your blink statement, right?)

The startup code is in assembler, and is in the sources drawer (c.a).
__main, __tinymain, etc., are all found in the library, e.g., lc.lib.  If
you edit _main.c and recompile, you need to include that file (_main.o, I
guess) in the blink command line.

>-Rob Knop
>rknop@tybalt.caltech.edu

--
     +------------------------------------------------------------------+
     |   Ken Yarnall                               kenny@mazurka.UUCP   |
     |   Math Department, USC         yarnall@milo.math.scarolina.EDU   |
     |   Columbia, S.C. 29208            (803)771-6349, (803)777-5218   |
     |     "You are right, Captain -- I do tend to babble." -- Data     |
     +------------------------------------------------------------------+
From: nilss@stud.cs.uit.no (Nils Sudmann)
Newsgroups: comp.sys.amiga.programmer
Subject: Cookie-cut drawing
Date: 9 Apr 92 15:42:47 GMT
Organization: University of Tromsoe, Norway

I'm posting this after encountering an annoying problem. I have browsed through all my manuals (sadly only
OS1.1), and in all the K's of OS calls there is not one (SIMPLE) one that does the task of:

Using the blitter to do a cookie-cut into a rastport.
ie. A routine with a pointer to a image, a imageshadow, and the destination.

There is no need for speed, no need for animation, no moving BOB's etc.
I could use the GELS system, but then again I wouldn't touch it with a ten feet pole, 
I could also use the QBlit() etc, but it seems much too complicated,
I can't use the Intuition fuction called DrawImage() or something, but it doesn't do
the cookie. HELP! The Amiga with all it's functions should be able to do this in a simple, 
yet ..erm.. simple way, like one (or if it has to be, several) OS call(s). 

- The Wizard speaks a word of wizardry and with a magnificent 'piff' of smoke, he is gone. 
Newsgroups: comp.sys.amiga.programmer
From: entity@cccan.uucp (Cybernetworx)
Subject: Custom Copperlist
Organization: CCCAN
Date: Mon, 6 Apr 92 14:32:33 GMT


Is there a system friendly way of doing the following:  I'd like a custom
copperlist for a certain application.  I'd like to get IDCMP port to the
screen, but since I don't need a window, I'd rather not waste memory on one.
(I'm very new to this system-friendly programming, so bear with me :-)  So
essentially 2 questions:  How to force a screen to use a custom coplist that I
define completely myself and b) how to get an IDCMP port without opening any
windows. (or do you always have to open one?)  I know that with a custom
coplist I won't be able to drag the screen down, or pop other screens over it
etc.  This is fine by me.  I *WOULD* like to be able to flip between screens
using amiga-m/n or clockdj etc. Is it possible?   (BTW, I don't want to modify
the existing coplist assigned to my screen, I want to completely replace it
with my own)  Thanks!



-- 
          __
    __   ///
    \\\ ///               UUCP:   ...uunet!utai!lsuc!becker!cccan!entity
 CYBERNETWORX             INET:   entity@cccan.gts.org
From: Charlie_Hutchins@mindlink.bc.ca (Charlie Hutchins)
Newsgroups: comp.sys.amiga.programmer
Subject: MOD File format
Date: 11 Apr 92 05:24:57 GMT
Organization: MIND LINK! - British Columbia, Canada
Distribution: world

Could anyone possibly tell me the .MOD music file format?
From: a0620831@let.rug.nl (E. Oosting)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: How do you Check for an Open/Closed Window
Keywords: Window Question
Date: 13 Apr 92 22:09:50 GMT
Organization: Faculty of Arts & Letters, Groningen University, The Netherlands

In article <1992Apr13.180920.10399@wam.umd.edu> kovert@wam.umd.edu (Todd Kover) writes:
>In article <1762@fnnews.fnal.gov> dpotter@fndp2.fnal.gov (David Potter) writes:
>>	I have a quick question, hope someone out there can help me.
>>I have 3 windows open and I need to check to see if windows 2 & 3 are open
>>or closed or active, is there a good way of check this?
>
>You'll need to search through Intuition's list of screens and Windows...
>
[Example deleted]
>
>>The way I am doing it now is checking the "window->flag & 0x00002000" 
>>that shows if the window is active but once I close it the flag still says 
>>it is open.
>
>The reason for this, is because the memory that 'window' points too still
>contains at least some of the values that were there when it was a window
>structure, but, that could change.  (When the Window is closed, the memory
>is given back to the system, I believe).  So -- once you CloseWindow(window)
>you shouldn't dereference window at all.
>

Also the Active Flag means the window is THE active one, not that the is
still available o.s.

But, what the guy really SHOULD do is setting the IDCMPFlags with CLOSEWINDOW,
and then waiting for the appropiate messages. (Why don't people read the manuals?).

| Eize Oosting        | "The World's realities are not to be denied           |
| Faculty of Arts,    |  But must we keep destroying all our fantasies        |
| State university,   |  It's hard to look beyond when terror fills our eyes  |
| Groningen,          |  We mustn't give up trying to let our dreams survive" |
| The Netherlands.    | 'European Soul' - Kim Wilde, 'Close'.                 |
From: gm@germal.bs.open.de (Gerald Malitz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Fibonacci Delta Compression
Date: 14 Apr 92 14:25:33 GMT
X-Newsreader: Arn V1.00 alpha rel3

In article <mykes.2651@amiga0.SF-Bay.ORG>, Mike Schwartz writes:

> Fibonacci compression is bound to add noise to certain sounds, due to
> the way it works.

	Yep, I've heard that ;^)

> Note that if you are currently specifying a true
> fibonacci series in your 16-byte delta array, you might be able to
> use a more optimal set of values to get better audio results.

	Nope, seems I forgot to mention: I want to write IFF-files,
so I'm stuck with the given table.

> Note that no matter what the series is that you use, the compression
> ratio is constant and only the audio quality is affected.

	I could use tables of different size (32, 64, or maybe 8)
trading ratio vs. qualitiy, if IFF would allow that...

	What I'm looking for is a better way to decide, which deltas
to use.  Maybe, I should do some sort of look-ahead.  For now, given
the two deltas 1 and 41, I encode 1 when I see the 1, all I can do
next is 21.  Perhaps I should use 21 and 21.

	Regards, Gerald.

-- 
  // Gerald Malitz,  Bolchentwete 4,  3300 Braunschweig,  Voice: +49 531 796832
\X/ gm@germal.bs.open.de                         "Aus Liebe zum Auto: AutoB*LD"
From: peter@cbmvax.commodore.com (Peter Cherna)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Two more (silly) GadTools questions
Date: 6 Apr 92 14:58:21 GMT
Reply-To: peter@cbmvax.commodore.com (Peter Cherna)
Organization: Commodore-Amiga, Inc.  West Chester, PA.

In article <1992Apr5.182809.14038@daimi.aau.dk> pilgrim@daimi.aau.dk (Jakob G}rdsted) writes:
>I'd like to see as a thing embedded in the system.
>I admit, that it can be done by hand, and that is how it is done now. Wise
>people of the net, is it bad taste to put a CalcTextWidth(FontPtr,StringPtr)
>in the system; is this something one should do oneself, and which has no
>place in an OS? (Mac...)

Try graphics.library/TextLength(), intuition.library/IntuiTextLength(),
or (for 2.0), graphics.library/TextExtent() and TextFit().

The first two tell you how many pixels wide a piece of text is.  TextExtent()
gives you width, and height information.  TextFit() tells you how many
characters fit in a given space.

>      Jakob Gaardsted            | What are our schools for if not

     Peter
--
From the disk of ...
Peter Cherna, Operating Systems Development Group, Commodore-Amiga, Inc.
{uunet|rutgers}!cbmvax!peter    peter@cbmvax.commodore.com
My opinions do not necessarily represent the opinions of my employer.
From: mykes@amiga0.SF-Bay.ORG (Mike Schwartz)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Double Buffering - Example Wanted
Distribution: world
X-NewsSoftware: Amiga GRn V1.29 4/10/92 (Beta) by Mike Schwartz
Date: 14 Apr 92 19:08:47 PST
Organization: Amiga makes it possible

In article <1992Apr14.150918.2299@aber.ac.uk> aem@aber.ac.uk (Alec David Muffett) writes:
>
>Can anybody out there please point me at some examples of hacking up a
>double buffered View ? I've only got the v1.2 docs (urgh! they're
>horrible!) and they're none too clear on the subject.  8-)
>
>Another question: the include files refer to a DBUFFER flag to set in a
>rastport, but doesn't mention it anywhere else that I can find.  I
>suppose that this is needed if you are going to be using most of
>graphics.library - is this correct ?
>
>				thanks, alec

Try creating TWO Views and doing LoadView() between the two.  Works great,
and is FAST.

--
Author of Amiga GRn, MailMinder, Budokan, Beyond Dark Castle, Dark Castle,
and Genesis Dick Tracy and Marble Madness.
Mike Schwartz  (ames!zorch!amiga0!mykes or mykes@amiga0.sf-bay.org)
1124 Fremont Ave.
Los Altos, CA 94024
From: 2frwreel@kuhub.cc.ukans.edu
Newsgroups: comp.sys.amiga.programmer
Subject: SAS 6.0?
Date: 16 Apr 92 16:50:44 CDT
Organization: University of Kansas Academic Computing Services

I heard that SAS was coming out with 6.0
in the summer, does anyone know if this 
rumor is true?
Please email an answer if possible.
thanks.....
From: dtiberio@csws17.ic.sunysb.edu (David Tiberio)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Ascii space craft
Date: 5 Apr 92 11:13:14 GMT
Organization: State University of New York at Stony Brook

In article <1992Apr5.065328.6794@actrix.gen.nz> Francesco.Ballara@bbs.actrix.gen.nz writes:
>Ascii craft:
> 
> )
>(#)=>
> )
>

>I am writing a space game using ascii chars only.
>If anyone has any good designs of craft or other things using ascii
>could they please mail or post them to
>
>fballara@comp.vuw.ac.nz


*	- asteroid

 
\o/	- astronaut
 I
/ \


.	- hand-held atomic device


i	- alien stick creature (they have no arms and only one foot)


~~~~	- wave of ultraviolet light


,',', 	- radiation cloud


{:::}	- solar panel
{:::}
{:::}


_________	- intergalactic satellite
|VOYAGER|	  'hello', 'guten tag', 'bon giorno', 'aloha',
---------	  'cheers', 'whats up, dude', 'yo', 'nanu nanu'

 /
/____		- intergalactic garbage collector
|IBM|
-----


 /		- MB International Space Junk Reflector
/M		  (note that I post this one with deep regret...
|B		   please forgive me if I am slandering anyone)
\I
 \


<EOF>		- Game Over

-- 
      //   David Tiberio  SUNY Stony Brook 2-3662  AMIGA  DDD-MEN   
     //  Not the llama! Come here Earl; I want to tell you something...
   \X/		Liverpool, New York	    Yes, I like 3D.
From: forgeas@swinjm.UUCP (Jean-Michel Forgeas)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Ctrl-C trapping
Date: 12 Apr 92 11:28:07 GMT
Organization: The Software Winery

In article <pHCSq*vt1@swinjm.UUCP>, Jean-Michel Forgeas writes:

Into previous article I copied a bad line. Please replace the StopScanDir()
function by the new one:

The old one:
> void StopScanDir()
> {
>     WorkingFunc = 0;
>     Signal( FindTask(0), WORK_EVENT );
>     Unlock( lock );
> }

The new one:
void StopScanDir()
{
    WorkingFunc = 0;
    SetSignal( 0, WORK_EVENT );
    Unlock( lock );
}
--
Jean-Michel Forgeas
cbmvax!cbmehq!cbmfra!swinjm!forgeas
From: kontos@clipper.ingr.com (Thorne Kontos)
Newsgroups: comp.sys.amiga.programmer
Subject: FAQ list/annoying SAS5.10 window
Date: 10 Apr 92 21:52:36 GMT
Distribution: na
Organization: Intergraph Advanced Processor Division - Palo Alto, CA

Is there a FAQ list for this newsgroup, and if so, where is it
located? (I have FTP access so that is no problem.)

When compiling programs with SAS 5.10, an annoying window
opens every time I go to run my compiled code. Is there any
way to get rid of this extra window? I am sorry if this is
a FAQ, but I am working on some 2.04 programs and would like
to make them as professional looking as possible.

                                          T.K.Kontos

-----------------------------------------------------------------
Quick question for shareware writers...Is there any profitability 
in writing shareware? (i.e. small screen hacks for fun?)
-----------------------------------------------------------------
Newsgroups: comp.sys.amiga.programmer
From: danb@gaff.physci.psu.edu (Dan Babcock)
Subject: Re: MC68012?
Organization: Penn State University, Physical Sciences
Date: Wed, 8 Apr 1992 19:21:14 GMT

In article <1992Apr8.102144.10385@news.cs.indiana.edu> sgberg@peach.ucs.indiana.edu (Stefan Berg) writes:
>I just had a look at the "Pocket Programming Guide" of the Devpac 3
>What is the MC68012 processor? I have never heard about it!


Thee 68012 is identical internally to the 68010. The only difference is that
more address liness (I forget how many) are brought out to the package..
Probably only a few hundred were ever madee...

Dan

Newsgroups: comp.sys.amiga.programmer
From: wlanders@nexus.yorku.ca (W L Anderson)
Subject: Re: GCC and Amiga Libraries
Summary: Could somebody put hunk2gcc somewhere?
Organization: York University, Toronto, Canada
Date: Sun, 12 Apr 1992 20:29:09 GMT

Could somebody put hunk2gcc up to an ftp site somewhere?  I can't justify 
downloading the whole 1.40 package just to get hunk2gcc.

Tom Hayko
wlanders@nexus.yorku.ca
From: Tony.Syslo@ivgate.omahug.org (Tony Syslo)
Newsgroups: comp.sys.amiga.programmer
Subject: ML Programmer
Date: 09 Apr 92 01:34:00 CST
Reply-To: tony.syslo@ivgate.omahug.org
Organization: 
Followup-To: comp.sys.amiga.programmer

I am just starting to learn Machine Language on the Amiga computer. It is nice to know that I have people to turn to in times of trouble. Here's hoping that you won't be hearing too much from me.
Thanks, Tony.

Newsgroups: comp.sys.amiga.programmer
From: hardie@herald.usask.ca (Peter Hardie)
Subject: Safe/Correct use of Battery clock resource?
Originator: hardie@herald.usask.ca
Organization: University of Saskatchewan
Date: Wed, 15 Apr 1992 17:31:34 GMT


I'm using Kick V1.3 on an A3000. I've written a program that does:
BattCLockBase = OpenResource((UBYTE *)BATTCLOCKNAME);

and then uses the ReadBatClock and WriteBatClock dos calls, in conjunction 
with the time signal from CHU, to check that the battery backed up clock is
correct (and if not, the program can set it to CHU time). Usually, things
work out OK. But I have occasionally noticed that if I use my program
(and I'm not sure if it is only when I set the clock or if I just have read 
it), then sometimes when I boot the system up the next day, the battery clock
will be reset to zero or close to it.
I can't figure out why this should happen but it has only started since I
started playing with the battery clock calls.
Does a OpenResource have to be followed by a CloseResource (can't find one
in the include/clib/*_protos.h) or is there some other magic incantation
I am missing out?
BTW I am using Manx V5.2a.
Any help would be muchly appreciated.
Pete hardie@herald.usask.ca
From: mbs@adastra.cvl.va.us (Michael B. Smith)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: g++; executables don't do anything
Distribution: world
Reply-To: adastra!mbs@Virginia.Edu
Date: 5 Apr 92 08:08:39 EST
Organization: Private UUCP Node

In article <69774@ut-emx.uucp> mohawk@ccwf.cc.utexas.edu (Mohawk Dave) writes:
>I just installed g++ with revision 24 of the ixem library in my
>libs: directory, and all of the newest support files I could find on ab20.

So, help us here. Provide us some of the basic, required information to help
you deduce your problem:

	your machine configuration (hardware and software)

	exactly WHICH archives you installed, and in what order

	a minimal copy of a program which causes the failure to occur (such
	as the "Hello World" you mention, but do not display)

	the verbose output of the compiler when the program is compiled
	with the "-v" switch

	etc.

>What's up?  Mail me replies if you have any ideas, thanks.

You tell us what is up, and then maybe we can help you. To help you, YOU
must help us.
--
  //   Michael B. Smith
\X/    ...!uunet!virginia!adastra!mbs
Newsgroups: comp.sys.amiga.programmer
From: u8705377@cs.uow.edu.au (Paul Anthony Wilkinson)
Subject: Aztec C 5.2a Detach.o problem
Summary: Software failure when detached program ends
Keywords: amiga aztec c 5.2a detach
Organization: Dept of Computer Science, Wollongong University, Australia
Date: Tue, 7 Apr 1992 12:45:50 GMT

Hi Everyone,

I am linking with detach.o to provide automatic "runback" for a program I 
have written. Under Aztec C  5.0 it would "Guru" 8100005 (Divide by 0)
if I exited the program when it was lauched from the workbench.  I received 
my 5.2a upgrade today and so I immediately recompiled the program to see if 
the bug was fixed.  Sure enough I can exit from a WB launched program without
any problems, but now it GURUs when I exit from a shell-launched program. I
have used detach.o before without any problems so I suspect I am doing something
silly.  Has anyone had this problem before? Is it my problem or Manxs?

Regards,

   Paul Wilkinson

u8705377@wraith.cs.uow.edu.au 	char *Sig = NULL;
From: C503719@UMCVMB.MISSOURI.EDU (Baird McIntosh)
Newsgroups: comp.sys.amiga.programmer
Subject: Lock() and int-ptr conversion warning
Date: 12 Apr 92 05:50:38 GMT
Organization: The Synthy EuroTechnoWack Beat, Inc.

Given the following partial code, why do you think DICE gives an
'int-ptr conversion' warning on the line 'lock = Lock(...' ?

        struct FileLock *lock;

        /*** get a lock on a file ***/
        lock = Lock("s:startup-sequence", SHARED_LOCK);
        if( lock == NULL )
            goto cleanup0;

| Baird McIntosh , c503719@umcvmb.missouri.edu <-or-> c503719@umcvmb.bitnet |
|    "Love:  you can't start it like a car;                                 |
|            you can't stop it with a gun." -- spoken by David Letterman    |
From: ronald@ecl014.UUCP (Ronald van Eijck)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Enforcer
Date: 8 Apr 92 17:04:05 GMT
Distribution: comp.sys.amiga.programmer
Organization: R&R Software

In article <2452@creatures.cs.vt.edu> lawsons@csgrad.cs.vt.edu (Shannon Lawson) writes:
>
>I'm trying to use the Enforcer to help debug a program.  However, I have no
>documentation for it.  When invoked, the program claims that data is sent either
>to the serial or parallel port.  I have never had any success in sending it to
>the parallel port.  How is this done?
>
>  Shannon Lawson, EE Grad Student           || E-mail: lawsons@csgrad.cs.vt.edu
>  Virginia Tech                             ||         lawsonse@vttcf.cc.vt.edu
>  Disclaimer:  I said it.  So what?  Do you believe everything you read?

There is a seperate version of enforcer that is compiled/assembled or whatever
to send the debug info to the parallel port. I think it's on the commodore
software developement toolkit. (including the docs).

Now we are on the subject, Does anybody know if it is possible to connect
2 ami's using a parallel cable and get the enforcer output into a com package
on the 2nd ami. Its hard debugging some code that already uses the serial
port.

C'ya,

--
  +-------------------------------------------------------------------------+
  |  Ronald van Eijck                                         R&R Software  |
  |                                                                         |
  |      You move slowly, but surely, to success.  (my fortune cookie)      |
  +-------------------------------------------------------------------------+
Newsgroups: comp.sys.amiga.programmer
Subject: Re: how does a "More"-like program work
From: jbickers@templar.actrix.gen.nz (John Bickers)
Date: 16 Apr 92 20:16:53 PST
Organization: TAP, NZAmigaUG

Quoted from <1992Apr15.155322.23222@sunb10.cs.uiuc.edu> by rittle@hew2.cs.uiuc.edu (Loren Rittle):

> to raw and back to cooked mode is in OS 2.04.  It is in
> the dos.library and called SetMode() [I hope... not at home :-].

    I tried this routine on a WShell running under the FIFO device. It
    didn't seem to work, but code that sends the packet itself does work.
    Are you sure SetMode() doesn't do something different?

> Loren
--
*** John Bickers, TAP, NZAmigaUG.        jbickers@templar.actrix.gen.nz ***
***    "Radioactivity - It's in the air, for you and me" - Kraftwerk    ***