Re: [stella] More Clock Woes

Subject: Re: [stella] More Clock Woes
From: Greg Miller <gmiller@xxxxxxxx>
Date: Fri, 03 Oct 1997 02:57:13 -0500
crackers@xxxxxxxx wrote:
> time    ldy  #06        ;just load Y ahead of time for #of sprite lines
>         lda  #$3C       ;60
>         sbc  MINS       ;subtract the clock minutes from 60 to get the

I just skimmed through, rather than working it out in detail, but is there a
good reason why you're not prepping the carry bit before the SBC?

>         sta  RMINS      ;real minutes since clock counts down
>         cmp  #$00       ;see if it's 00 minutes
>         beq  min0
>         cmp  #$32       ;see if it's more than 50 minutes
>         bpl  min5

You sure this is working with bpl? 

-- 
Video games and CCGS: http://www.angelfire.com/tn/squirrels
TW (online game): http://www.geocities.com/SiliconValley/Bay/1367
Magic cards: http://www.angelfire.com/tn/squirrels/magic.html
***** ATTENTION NEWBIES: Limit signatures to four lines! *****


--
Archives updated once/day at http://www.biglist.com/lists/stella/archives/
Unsubscribing and other info at http://www.biglist.com/lists/stella/stella.html

Current Thread