Subject: Re: [stella] 6 digit score display and other ramblings From: Chris Wilkson <cwilkson@xxxxxxxxxxxxx> Date: Tue, 17 Mar 1998 08:28:20 -0800 (PST) |
> Will this work? If so, any ideas on how to do the delay easily? (small > enough for zero-page, so it doesn't need a SC?) How about... LDA COUNT ; WAIT CYCLES = 16 - COUNT LSR A ; SETUP CARRY BIT STA JUMP+1 ; SELF MODIFYING...CHANGES JUMP VALUE ; (not sure how to convey this) LDX #1 ; SETUP X FOR OPTIONAL LOOP ; SETUP Z FLAG DELAY STA WSYNC BCC JUMP ; WASTE 2 OR 3 CYCLES JUMP BNE END ; WASTE 3 CYCLES ; DEFAULT IS 5 CYCLES TOTAL NOP ; WASTE 2 CYCLES NOP ; WASTE 2 CYCLES NOP ; WASTE 2 CYCLES NOP ; WASTE 2 CYCLES NOP ; WASTE 2 CYCLES END ... This should give you a delay between 5 and 16 cycles after the WSYNC. You can add more NOP's or a delay loop to get longer delays. -Chris -- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/stella.html Don't post pirate BINs to Stellalist. Be a programmer, not a pirate. Write the best game, win framed autographs of famous Atari alumni!!
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] 6 digit score display , Greg Troutman | Thread | Re: [stella] 6 digit score display , Erik Mooney |
Re: [stella] 6 digit score display , Greg Troutman | Date | [stella] Champ 2600 joystick to PC , Ruffin Bailey |
Month |