Subject: RE: skipdraw from Eric Ball WAS: [stella] Finally underway: 2600 Cookbook From: KirkIsrael@xxxxxxxxxxxxx Date: 13 Apr 2004 16:17:09 -0000 |
> Dennis wrote: > >y is set to the height of the kernel at the beginning of your > >kernel. Then it's decremented with each scan line (1LK) or ever > >other scan line (2LK). > >This saves you from loading y to load your graphics. > > Yup, the trick is to setup P0_ptr outside the kernel, so that it > points to your graphics exactly when the right scanlines (= y- > values) are reached. *ohhhhhhhh*...Eric Ball neglected to mention that little detail! Man, skipDraw *is* pretty complex...most of the other descriptions I've seen don't get into what all the preconditions (set up in the VBLANK) are. > To avoid page penalties, this also requires the graphics to start > at (align 256 + kernel-height). -- KirkIsrael@xxxxxxxxxxxxx http://kisrael.com "Being 'in a state of nudity' is not an inherently expressive condition." --Sandra Day O'Connor, in a ruling upholding a ban on nude dancing ---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: skipdraw from Eric Ball WAS: [s, Thomas Jentzsch | Thread | [stella] Re: skipdraw from Eric Bal, Eric Ball |
RE: skipdraw from Eric Ball WAS: [s, Thomas Jentzsch | Date | Re: [stella] Re: About your tutoria, Eric Ball |
Month |