HDTenEightyP/NetNews huggingface dataset:
From: entity@nsq.uucp (cybernetworx)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Double buffering and flicker..
Keywords: WaitBOVP() and WaitTOF()...
Date: 28 Aug 92 21:08:00 GMT
Organization: NSQ

In article <mcuddy.714894318@fensende>, mcuddy@fensende.Rational.COM (Mike Cuddy) writes:
> I've got some double buffer routines that I'm putting the final touches
> on, but I can't seem to grok what's wrong with the page-flip routine:
> In short, I'm using 'view-swapping' (i.e.: two copper lists, one view, and
> LoadView()), and just before I do the LoadView(), I do a WaitTOF().  
> Unfortunately, when I do this, the double buffering flickers like mad!
> (The graphics can't be seen while they're being drawn, so I know I'm
> drawing on the right page...)
> 
> The catch is, when I use WaitBOVP() with the last ViewPort in my view, 
> everything works fine. But, according to the RKM, WaitBOVP() busy waits, 
> and that's bad. (I'm trying to be system friendly!)

I think what's happening is that the WaitTOF() signals your task at the top of
the frame and when you stuff in the copperlist it's already started the
original one.  Maybe a simple strobe of the copjmp1 register when you install
your copperlist might work.  Then again, perhaps LoadView() already does
this.. doesn't hurt to try though.
 
Alternatively you can get the effect of WaitBOVP() WITHOUT it's stupid busy
wait.  What you do is set up a wait at scanline $f4 or whatever in your
copperlist and follow this with setting the copper interrupt bit.
 
Then you can have a level 3 interrupt going which checks to see if a copper
interrupt was generated and sets the copperlist directly here.  I don't know
if you can execute LoadView() from an interrupt.  Assuming you can't then you
could a) set the copperlist yourself [not so nice] or b) signal your task
which will then wake up and do the LoadView().  Since this happens BEFORE the
TOF, the proper list will execute the following frame.
 
MAKE SURE YOU CHECK WHAT INTERRUPT REQUEST WAS COMING THROUGH IN YOUR LEVEL 3
INTERRUPT CODE!!!  (since it can be generated by VB, copper or blitter!)  Also
make sure you clear the request so that it doesn't keep popping back in.
From: Aaron_Arndt@amusers.UUCP (Aaron Arndt)
Newsgroups: comp.sys.amiga.programmer
Subject: Re:  SAS/C 6.0 Details (LONG!)
Distribution: world
Date: 29 Aug 92 01:24:39 PST
Organization: The Amiga Users Group of Victoria BC

     I was wondering if the Academic Pricing for 6.0 is available in
Canada.  A guy I know had problems with GVP Academic discounts because the
discounts were only valid in the US, how about the academic discount on
SAS/C?

-- Via DLG Pro v0.992
From: rock@lakes.trenton.sc.us (rock)
Newsgroups: comp.sys.amiga.programmer
Subject: batch-file from icon     
Date: Thu, 03 Sep 92 15:35:16 EDT
X-Maildoor: WaflineMail 1.00r

#H>From: khaacks@hpwad.WAD.HP.COM (#Kai Haacks )
#H>I have tried to call a shell and to execute some commands in a batch-fil
#H>before I start a program. My problem is, I don't know why to start
#H>executing the batch-file from activating an icon. It is possible that I
#H>don't know some elementary things. Is someone there who can help me ?
#H>
#H>Thank you in advance,
#H>Kai Haacks
#H>----------------------------------------
#H>khaacks@hpwadlm.wad.hp.com 
#H>                            

Hmm, I think you are asking how to get an Icon to execute your script, and
if so, the answer is simple indeed.  You must use a project icon instead of
a tool (such as an icon that might be used for a word processor file, etc.)
and then set the default tool for your icon to IconX.  So if your batch
file is called 'george', then copy, say, an icon from any old project and
call the icon 'george.info'.  Then use the WB Info menu for the icon and
change the default tool to IconX.  Now, when you click on the 'george'
icon, it will load IconX, and IconX will execute your script.  I do this
all the time when I'm setting up different utilities, i.e. make a batch
file to say load an often used file into ram, do some ASSIGN's, then
execute the program.)  You should give a full path name to IconX for the
default tool (i.e. 'sys:c/iconx'), and you can also specify what sixe
window IconX will open by doing a 'WINDOW=' and a windowspec such as
"CON:0/100/640/100".  This must be entered in the 'tool types' string
gadget.  My personal preference is to give it a 'WINDOW=NIL:'.  This keeps
IconX from opening a window at all, which is useful if you just want to set
up a few things before running the main program.  It all depends on whether
your script actually needs a window.

Hope this was what you were looking for.


"Sometimes what you say is going to get 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, digital artiste' (rock@lakes.trenton.sc.us)
---
 * Amiga-Reader V2.00 * You, too, will be assimilated.
From: cfiddyme@neumann.une.edu.au (Chris Fiddyment)
Newsgroups: comp.sys.amiga.programmer
Subject: Assembly questions.
Date: 3 Sep 92 10:33:53 GMT


  Hi,
  I have a few (hopefully simple) questions to ask. I am new to assembler and
  can't afford a book yet (besides a borrowed copy of the RKM's).

  First I am using the commands
  
      move.l  #186,d0
      divu    #10,d0
      moveq.l #0,d1
      move.b  d0,d1

  to get d1 = 18. How canI get the remainder of the division (the upper part
  of d0) into register d2. Is there some way to shift the register?

  Another question. I have written a program that opens a screen and moves a 
  sprite around. How do I print images to the screen. I tried the following :

      move.l  intbase,a6
      move.l  rastport,a1        ; these could be back to front.
      lea     blockimage,a0
      move.l  #10,d0
      move.l  #10,d1
      jsr    -114(a6)     ;DrawImage()

with the following variables:

   blockimage
      dc.w 0,0,15,10,2       ; Is this the correct format. It seems right from
      dc.l myimage           ; looking in the RKM's
      dc.b 0,0
      dc.l 0

   myimage
     dc.w  %0000000000000000,%0000000000000000
     ;10 lines of image data
     dc.w  %0000000000000000,%0000000000000000

When the program is run the image is not drawn, the sprite dissapears from the
screen but the sprite handling routines still work.
What am I doing wrong??
When I get some money what is a book on assembler to get?

   Thanks, Chris.

* Chris Fiddyment.             |   I never promised anybody *
* cfiddyme@neumann.une.edu.au  |   anything.   Kermit.      *
From: jdickson@jato.jpl.nasa.gov (Jeff Dickson)
Newsgroups: comp.sys.amiga.programmer
Subject: AllocEntry
Date: 26 Aug 92 16:38:25 GMT
Organization: Jet Propulsion Laboratory


	I was wondering how AllocEntry allocates memory. Are the MemList and
the memory pointed to by the attached MemEntry structures allocated separately?
Or is all the memory one big chunk? 

thanks, jeff
Newsgroups: comp.sys.amiga.programmer
From: apel@physik.uni-kl.de (Martin Apel (SAGA))
Subject: Re: Debugging a filesystem handler...
Organization: University of Kaiserslautern, Germany
Date: Wed, 2 Sep 1992 11:35:12 GMT

peterc@suite.sw.oz.au (Peter Chubb) writes:
: 
: I'm trying to write a new filesystem handler.  Example code that I've
: looked at (RAW and the disk-handler from earlier Fish disks) debug by
: opening a CON:  window, then sending CMD_WRITE messages to the
: console's message port.  This worked under WB1.3 (last time I tried).
: 
: This no longer seems to work under WB2.05.  Instead the console device
: appears to hang -- no new consoles can be opened.  
: I'm using SAS C 5.10a.  The code looks something like:
: 
: #include <proto/all.h>
: struct ExecLibrary *SysBase;
: struct DosLibrary *DosBase;
: extern struct ExecLibrary * __far AbsExecBase;
: BPTR	debugFH;
: 
: long __saveds
: handler()
: {
: 	SysBase = AbsExecBase;
: 	if ((DosBase = OpenLibrary(DOSNAME, 0)) == NULL)
: 		return DOSFALSE;
: 	debugFH = Open("CON:0/0/640/200/Handler Debug", MODE_NEWFILE);
: 
: 	fsmsg = taskwait();
: 	....
: }
: 
: (I'm typing this in from memory; the actual code is at home!).
: 
: Does anyone know why this no longer works?
: 
: 
: 			Regards,
: 
: 				- Peter Chubb
: 
: Softway Pty Ltd, P.O. Box 305, Strawberry Hills, NSW 2012, AUSTRALIA
: Phone: +61 2 698 2322;       Fax: +61 2 699 9174;     Telex: AA27987
: Internet: peterc@softway.oz.au	   UUCP: ...!uunet!softway.oz!peterc

I don't know, if that's the fault, but I think it has to be DOSBase (not 
DosBase). If you used the same compiler and all under 1.3 I don't know,
why it would make a difference.

--
Reachable as:				I do hate sums. There is no greater
apel@gypsy.physik.uni-kl.de		mistake than to call arithmetic an
(Martin Apel)				exact science. There are .. hidden
					laws of number which it requires a
					mind like mine to perceive. For
					instance, if you add a sum from the
					bottom up, and then again from the 
					top down, the result is always
					different.
Newsgroups: comp.sys.amiga.programmer
From: walker@twix.unx.sas.com (Doug Walker)
Subject: Re:  SASC 6>.0
Originator: walker@twix.unx.sas.com
Date: Wed, 26 Aug 1992 13:26:38 GMT
Organization: SAS Institute Inc.


In article <heinz.035y@edohwg.UUCP>, heinz@edohwg.UUCP (Heinz Wrobel) writes:
|> Does CodePRobe use the current system font now correctly? I had to switch
|> back from my A2024 display to PAL hires because the 5.10 CPR  couldn't
|> handle my courier 18. :-(

Unfortunately, CPR still doesn't use the default system font.  However,
it does correctly force the use of topaz 8 if you have chosen a 
different system font.  There is a patch to the V5.10 CPR that fixes 
this problem as well.

|> Heinz Wrobel, Edotronik GmbH (ECG018)
|> FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
|> Path: cbmehq!cbmger!edohwg!heinz@cbmvax.commodore.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.

Newsgroups: comp.sys.amiga.programmer
From: dingebre@imp.sim.es.com (David Ingebretsen)
Subject: Re: Smalltalk for Amiga?
Followup-To: comp.sys.amiga.programmer
Reply-To: dingebre@imp.sim.es.com (David Ingebretsen)
Organization: Evans & Sutherland Computer Corp., Salt Lake City, UT
Distribution: na
Date: Tue, 1 Sep 1992 22:24:13 GMT

In article <6818@tekig7.PEN.TEK.COM>, brianr@tekig1.PEN.TEK.COM (Brian E Rhodefer) writes:
> In article <Btwrx8.L2p@news.cso.uiuc.edu> jmrg9881@uxa.cso.uiuc.edu (Jon Reid) writes:
> >Is there such a thing?
> >
> 
> If there were, would anyone use AREXX?
> 

Yes, me.

-- 
	David

	Disclaimer: The content of this message in no way reflects the
	            opinions of my employer, nor are my actions
		    encouraged, supported, or acknowledged by my
		    employer.
From: carl.bannenberg@canrem.com (carl bannenberg)
Newsgroups: comp.sys.amiga.programmer
Subject: listview highlight
Date: 2 Sep 92 00:46:12 GMT
Reply-To: "carl bannenberg" <carl.bannenberg@canrem.com>
Distribution: comp
Organization: Canada Remote Systems

This message won't go out, unless you leave a space between 'UN:' and
'Listview'.

Re-read your message and type 'e' to edit the subject

Carl.Bannenberg@canrem.com
--
Canada Remote Systems  - Toronto, Ontario/Detroit, MI
World's Largest PCBOARD System - 416-629-7000/629-7044
From: hemmer@hemmer.adsp.sub.org (Franz Hemmer)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Manx C and Boopsi Question
Date: 26 Aug 92 18:51:37 GMT
Reply-To: cbmehq!cbmden!hemmer@cbmvax.commodore.com (Franz Hemmer)
Organization: InterActivsion
X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith

In article <1992Aug26.123823.523@csc.canterbury.ac.nz> cree@elec.canterbury.ac.nz (Michael Cree) writes:
> Ken Cooper (cooper@milton.u.washington.edu) wrote:
> : 
> : ...  I am using Manx Aztec-C68K version 5.2a and when I went to link
> : the example program the linker was unable to find the following
> : functions that are part of amiga.lib:
> : 
> :                        DoMethod()
> :                        DoSuperMethod()
> :                        DoSuperMethodA()
> :                        HookEntry()
> : 
> 
> Yep, I have the same problem. The includes and amiga.lib that are with
> version 5.2a are not the latest CBM v37 release.  Furthermore, the
> above functions are not described (so no code :-( ) in the RKM:
> Includes and autodocs. It might be possible to pull out the correct
> object files from the lastest amiga.lib (available from CBM) and then
> add them to c.lib. In fact, I might just give that a go and report
> whether I was very successful. Will be a few a days before I get to
> try though, havn't got many free evenings this week :-/

Save yourself a lot of trouble and buy the 2.04 Native Developers Kit from
CATS - ~$20. This 4 disk set contains all that is needed including newer
AutoDoc than the book-form, 2.04 includes (!), amiga.lib etc. etc.

> Michael Cree                              Gold there is

-- 
*-------------------------------------------------------------------------*
|         _   UseNet: (uunet|rutgers|pyramid)!cbmvax!cbmehq!cbmden!hemmer |
|         \\ _                         CBMNET: hemmer@hemmer.adsp.sub.org |
| InterActi\X/ision - The name of precision                               |
| Best regards                         >> Carpe Diem! - Seize the day! << |
| Franz Hemmer - Software Developer located in Silkeborg, Denmark, Europe |
*-------------------------------------------------------------------------*
From: walker@twix.unx.sas.com (Doug Walker)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: Yet Another SAS/C thread
Date: 31 Aug 92 13:19:20 GMT
Organization: SAS Institute Inc.
Originator: walker@twix.unx.sas.com


In article <la2ipoINNsk6@pollux.usc.edu>, addison@pollux.usc.edu (Richard Addison) writes:
|> Does lmk still change all file names to lower case?  [This was actually
|> something fairly recent, like 5.10b but not 5.10a.]

Yes.  This was a "bug fix" in response to user complaints.  If lmk
didn't do this, then the case of a file would have to match the
case of the target in the dependancy list.

LMK (now SMAKE, actually) will issue the commands that you tell it to
in the case that you tell it to, however.

|> Does the builtin memcmp() work in all cases?  It generally creates code

Yes, it does.  This sounds like something that should have been reported
to technical support; did you do this?

|> Does cpr support debugging multiple tasks more reliably?  [I've worked
|> around the problems by detaching all but one task.]

Yes.

|> Has the compiler/cpr bug with being unable to recognize some symbols
|> within some static functions been fixed?

I don't know what bug you are talking about.  Have you reported it
to technical support?

|> On large executables, cpr could complain about invalid debugging
|> information.  Has this been fixed?

I certainly hope so.  The debugging information format has changed,
and along with it the code that reads and writes it.  We can't
find any cases for which this error comes up with the new code.

|> Do the cpr watch commands support the same sorts of display controls
|> as the dump commands?

Virtually any place you can specify an address or variable name in
V5 CPR you can now specify complete C expressions, including function
calls.  This includes the watch command.

|> Does cpr remember the size and placement of the informational windows
|> when you close and reopen them?

No, sorry.  It's already on an enhancement list for the next time.

|> Richard

-- 
  *****
=*|_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.
Newsgroups: comp.sys.amiga.programmer
From: coup@crs.cl.msu.edu (Chris Klaus)
Subject: Perfect Snd 3.0 src
Reply-To: coup@crs.cl.msu.edu.UUCP (Chris Klaus)
Organization: Michigan State University
Date: Sat, 29 Aug 92 04:20:11 GMT



Im looking for src code that would access perfect sound 3,
and digitize the recording..  also, 
some src that would play the same data over the speaker.
Nothing fancy. just some routines in C that would digitze and then
play the digitized data..

thank you.

---
coup@crs.cl.msu.edu cklaus@hotsun.nersc.gov cklaus%hotsun.nersc.gov@llnl.gov
From: h8eg083@stan.xx.swin.oz.au (Darren Gower)
Newsgroups: comp.sys.amiga.programmer
Subject: Re: SASC 6.0
Date: 30 Aug 92 15:41:25 GMT
Organization: Computer Centre, Swinburne University of Tech., Melbourne, Australia.

In <Btp8LL.LvG@unx.sas.com> jamie@cdevil.unx.sas.com (James Cooper) writes:


>Unfortunately, we didn't have time to get the font-sensitive code into
>CPR, but at least it now properly forces Topaz-8 itself, so you don't
>have to mess with changing your fonts just to run it.

That's really disappointing, considering the number of users that have
the ESC installed, and are operating on higher-res screens. I *hate* having
to squint to see the font under 5.10b. Considering the length of time
this problem has been evident, I am amazed at its continuing
existance, particularly with the length of time CBM has been telling
people to be aware of default fonts in their software. <sigh>

>We created a patch for the 5.10b version of CPR to do this as well,
>though with the work being done on V6, we never got a chance to do a
>proper test/distribution.

This patched version crashed on my machine under productivity overscan. I
hope *this* has been fixed under 6.0, or CPR will be next to useless to me.

(To be specific, it refuses to open any of its windows (after the copyright
message pops into a CON window) and then it crashes the machine).

regards,
Darren.
-- 
Darren Gower                         | "You can't reason a person out of a
                                     |  position they weren't reasoned into.."
Internet: h8eg083@stan.xx.swin.oz.au | - Peter DeVries
From: jake@diku.dk (Jacob Bay Hansen)
Newsgroups: comp.sys.amiga.programmer
Subject: ML or Miranda (PD)
Date: 2 Sep 92 12:51:49 GMT
Organization: Department of Computer Science, U of Copenhagen

Hello,

  Does anyone know if there exists a PD ML- or Miranda-compiler. If
so, I would like a copy (c-source if non-amiga).

Thanks in advance

--JAKE (Jacob Bay Hansen)

#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#
|	jake@freja.diku.dk	|	There is something	|
#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#	rotten in the state	#
|     //ONLY	-  Just me and 	|	of Denmark.		|
# \\ // AMIGA	-  my Amiga!!	#		 - Shakespeare	#
|  \X/	CAN    <= NOT Trashcan! |  (What's he talking about?)	|
#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#=-=#
From: kaarts@ccu.umanitoba.ca (Kenneth John Aarts)
Newsgroups: comp.sys.amiga.programmer
Subject: C= installer ?  Re: SAS/C 6.0
Date: 28 Aug 92 18:28:19 GMT
Organization: University of Manitoba, Winnipeg, Canada

In <Btp8F8.LJt@unx.sas.com> jamie@cdevil.unx.sas.com (James Cooper) writes:


>Yes, 6.0 is *much* easier to install, since we're now using Commodore's
>Installer.  Only having the 2.0 includes is no problem, since you can
>still create programs that work with 1.3, as long as you don't access
>any 2.0 specific features.

What is Commodore's installer?  Thanks,

Ken
From: swalter@avalon.physik.unizh.ch (walter stefan)
Newsgroups: comp.sys.amiga.programmer
Subject: Bug in ECS?
Date: 27 Aug 92 14:35:09 GMT
Organization: University of Zurich, Department of Computer Science
X-Newsreader: Tin 1.1 PL4

I'm currently writing a tool which disables the Workbench screen.
However, for some reasons it will need to switch it on again at
the end. It does this by enabling copper DMA again and by directly
writing the neccessary values for a lores 5 plane 320x256 display
in the corresponding registers (bplcon0 etc.). Now I've noticed
that this causes more or less big problems for Amigas with ECS.

What happens is that although the Workbench screen is back, a red
bitplane containing garbage is laid over it and stays there for upto
2 seconds. After that it fades away in stripes, leaving the screen
as it should be.

Now, does anyone know why this happens or had the same problem earlier
and has found a solution? I'd be really glad for any hint. Thanks.

                                                  Stefan Walter

--------------------
Stefan Walter       avalon.physik.unizh.ch!swalter
Finsterruetistr. 57  or
8135 Langnau        stefan@pegasus.ch
Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.marketplace
From: kopackm@lonex.rl.af.mil (Michael A. Kopack)
Subject: Looking for HiSoft Pascal info and a copy!!!!!!!
Organization: RL
Date: Mon, 24 Aug 92 18:24:57 GMT

Help!!!!!

I and my friends go to Georgia Tech and are in need of a Pascal compiler
for our Amiga's. We've tried PCQ and didn't really like it all that much.
I've heard that HiSoft Pascal is supposed to be really good. I was wondering
if somebody could send me some information on it. 

Would anybody out there possibly be selling the most recent version???? We
will pay $$$$$

Also, we are looking for a good LISP system. Any ideas????\

Thanks,
Mike Kopack


-- 
Mike Kopack                         | Sex, Drugs, Rock & Roll and my Amiga,
Internet : gt6758b@prism.gatech.edu | what more could anyone want?
           kopack@bugs.rl.af.mil    \              -- Me 
           kopackm@lonex.rl.af.mil   -------------------------------------------
From: sl1zm@cc.usu.edu
Newsgroups: comp.sys.amiga.programmer
Subject: Color cycle example  C source
Date: 4 Sep 92 17:32:42 GMT
Article-I.D.: cc.1992Sep4.113242.58631
Organization: Utah State University

Since I have allready speant more time explaining how to do a color cycle  from
an interrupt and why to do it that way than it's worth.... 
here is some source code.
-------------------------------
/*			Cycle.c			*/
/* Data shared with cycle Task/interrupt */
#include <iff/ilbm.h>
#include <iff/myreadpict.h>


extern CrngChunk         *cyCrngs;		/* give these a value */
extern struct	ViewPort   *cyVport;
extern int		cyRegs   , cyCnt;
extern USHORT	cyMap[];
extern LONG	cyClocks[];
extern LONG	cyRates[];
extern BOOL	CycleOn;
extern BOOL	CycleTemp;

/* Cycle Task/interrupt stuff */
#define CYCLETIME  16384L
#define REVERSE    0x02

/****************************************************************/
/*  Cycle interrupt changes                                     */
/****************************************************************/
__interrupt MyVBlank()
{
	register int	i,j,k,l;
	register UBYTE	low, high;
	register USHORT	cyTmp;
	extern BOOL	CycleOn; /* Is this necessary?? */
	register BOOL	Cycled;

	if (CycleOn)
	{
		Cycled = FALSE;
		k = cyCnt;
		while(k > -1)
		{
			cyClocks[k] += cyRates[k];
			if (cyClocks[k] >= CYCLETIME)
			{
				low  = cyCrngs[k].low;
				high = cyCrngs[k].high;
				cyClocks[k] -= CYCLETIME;
				l = high - low;
				Cycled = TRUE;
				if (cyCrngs[k].active & REVERSE)
				{
					cyTmp = cyMap[low];
					i = low;
					j = i + 1;

					while(l--)
					{
						cyMap[i++] = cyMap[j++];
					}
					cyMap[high] = cyTmp;
				}
				else
				{
					cyTmp = cyMap[high];
					i = high;
					j = i - 1;

					while(l--)
					{
						cyMap[i--] = cyMap[j--];
					}
					cyMap[low] = cyTmp;
				}
			}
			k--;
		}
		if(Cycled) LoadRGB4(cyVport, cyMap, cyRegs);
	}
	return(0);  /* interrupt routines have to do this */
}
--------------------

This routine is a combination of the display and EA code examples...
figuring out the rest is up to you... the old iff examples should have 
enough code to help you figure it out.

Keep in mind that interrupts should be as fast as possible and I reccomend
this be downcoded to assembly... yes it *can* be optimised a lot.


James Diffendaffer
Newsgroups: comp.sys.amiga.programmer