Re: [stella] NOT skipdraw

Subject: Re: [stella] NOT skipdraw
From: Thomas Jentzsch <tjentzsch@xxxxxx>
Date: Tue, 22 Feb 2005 17:36:21 -0500
Hi,
sorry, there where a few bugs in the code.

I hope this one is correct:
  cpy   switch  ; 3
  beq   .switch ; 23
  bpl   .wait   ; 23
  lda   (ptr),y ; 5
  sta   GRPx    ; 3
.cont:          ;   = 15
  ...

  ...
.switch:        ; 6
  lda   end     ; 3
  sta   switch  ; 3
  bcs   .cont   ; 3

.wait:          ; 8
  SLEEP 4       ; 4
  bpl   .cont   ; 3

Setup:
switch = top row of sprite
end    = (bottom row of spire) | $80

Works only for kernels where y (or x) is the row counter (counting
down) and doesn't start larger than 127.

Have fun!
Thomas
_______________________________________________________
Thomas Jentzsch         | *** Every bit is sacred ! ***
tjentzsch at web dot de |


Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://stella.biglist.com

Current Thread