Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #441

Re: Fast-wipe Hires

Received by 10.224.186.143 with SMTP id cs15mr6407761qab.3.1346453734650; Fri, 31 Aug 2012 15:55:34 -0700 (PDT)
Received by 10.236.170.7 with SMTP id o7mr998209yhl.3.1346453734627; Fri, 31 Aug 2012 15:55:34 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!b19no147834qas.0!news-out.google.com!da15ni7637554qab.0!nntp.google.com!b19no147832qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.sys.apple2.programmer
Date Fri, 31 Aug 2012 15:55:34 -0700 (PDT)
In-Reply-To <4a44c788-b39b-47d0-ba07-7996128e804f@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=70.123.154.97; posting-account=HyIOQgoAAAAfAUGOevdCSBhPYcDSPtM9
NNTP-Posting-Host 70.123.154.97
References <1688c87e-a1e2-47c4-9969-b4465931c194@googlegroups.com> <4a44c788-b39b-47d0-ba07-7996128e804f@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <d0643a4b-43f6-41fa-b9bd-81eac89fc72d@googlegroups.com> (permalink)
Subject Re: Fast-wipe Hires
From BLuRry <brendan.robert@gmail.com>
Injection-Date Fri, 31 Aug 2012 22:55:34 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.sys.apple2.programmer:441

Show key headers only | View raw


On Friday, August 31, 2012 2:10:07 PM UTC-5, Antoine Vignau wrote:
> Even faster ;-)
> 
> - divide your lookup table into two tables: one for low @ and one for high @
> 
> 
> 
> lookupl hex D050D050D050 ...
> 
> lookuph hex 232322222121 ...
> 
> 
> 
>  LDY #24-1
> 
>  CLC
> 
> clearloop
> 
>  LDA lookuph,y
> 
>  ...
> 
> 
> 
>  LDX #40-1 (and not 40)
> 
>  LDA lookupl,y
> 
>  ...
> 
> 
> 
> You'll save one DEY per loop and even more with #40-1 instead of #40 :-)
> 
> 
> 
> antoine

That's good feedback!  Thanks Antoine!  I expanded this out to EOR page 1 and page 2 and flip on the VBL.  This proof of concept has shown me that the resolution of the display does not seem so low when you're flipping pages rapidly to produce optical illusions.

I've been able to reproduce these two:

http://www.moillusions.com/2007/01/flying-through-city-stereogram.html
http://www.grand-illusions.com/opticalillusions/chris_walken/

And I also have a take on this one which makes it look like it's continually expanding:

http://www.moillusions.com/wp-content/uploads/img142.imageshack.us/img142/4364/bulge023qx.gif

All in all, the speed of the routine is key to reversing the screen quickly.

More to follow...

-B

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Fast-wipe Hires Antoine Vignau <antoine.vignau@laposte.net> - 2012-08-31 12:10 -0700
  Re: Fast-wipe Hires BLuRry <brendan.robert@gmail.com> - 2012-08-31 15:55 -0700
    Re: Fast-wipe Hires BLuRry <brendan.robert@gmail.com> - 2012-08-31 17:49 -0700
      Re: Fast-wipe Hires Antoine Vignau <antoine.vignau@laposte.net> - 2012-08-31 22:25 -0700
        Re: Fast-wipe Hires BLuRry <brendan.robert@gmail.com> - 2012-09-01 15:55 -0700

csiph-web