Subject: Re: [stella] Sprites source code From: Piero Cavina <p.cavina@xxxxxxxxxxxxx> Date: Thu, 6 Mar 1997 20:55:32 +0100 |
At 15:33 -0600 5-03-1997, Bob Colbert wrote: >Well, here is some code to peek at. Ok, I hope I'll be able to look at it carefully this weeked. Some early comments: - sprites have a fixed height of 8x2 scanlines, ok? - Do you think that a different way of storing X coordinates might lead to a more efficient code during screen drawing? For example: 7 6 5 4 3 2 1 0 f f f f c c c c bits 0-3 = course position, to be used in a DEY-BPL loop for course positioning LDA XPOS AND #$0F TAY loop: DEY BPL loop bits 4-7 = fine motion value, to be stored to HMPx LDA XPOS STA HMP0 Ciao, P. -- To unsubscribe, send the word UNSUBSCRIBE in the body of a message to stella-request@xxxxxxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] Sprites source code, Greg Troutman | Thread | Re: [stella] Sprites source code, Nick S Bensema |
Re: [stella] Making carts, Edward Federmeyer | Date | Re: [stella] discovering the tricks, Nick S Bensema |
Month |