[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bouncing an idea here...
- Subject: Re: Bouncing an idea here...
- From: GUDATH@EZINFO.VMSMAIL.ETHZ.CH (GUDAT,HENRIK MICHAEL)
- Date: 1995/12/13
- Distribution: world
- Newsgroups: comp.sys.apple2
- Organization: ETH ZUERICH
- References: <4aiv94$3g3@bcfreenet.seflin.lib.fl.us> <4al84e$kjt@newsbf02.news.aol.com>
In <4al84e$kjt@newsbf02.news.aol.com> rubywand@aol.com writes:
> You are allowed 1 interrupt per line, which might be used to set the
> palette for the next line, adjust a sprite, etc.. You are not allowed to
> change palettes in mid-line.
Unless you have a turbocharged IIGS, using IRQs for each scan line is
definitely an overkill (especially if you intend to do other things beside
changing palettes). You can reduce overhead somewhat by using IRQs on each
sixteenth scan line and then update colors for the next 16 lines.
However,I think there is a counter that tells you which scan line is currently
being updated. By reading this counter you can code a speedy, not IRQ-based
variant.
> > One more thing, are there any games that have been created using 3200?
The problem with games is that you would need to adapt your sprites to the
current color settings on-the-fly. This takes too much time on the GS.
Alternately, you can reserve some colors that won't change, but then it's not
real 3200 mode anymore :).
Now if the GS had true color or everyone owned a SS ... :-)))
- henrik