|
Subject: Re: [stella] BiiggerBoing26 From: David <davidgalloway@xxxxxxxxxxxxxx> Date: Sun, 06 Jul 2003 15:06:37 -0700 |
Rob wrote:
On Sunday 06 July 2003 07:20, David wrote:
- remastered the art" from a different source and it is 48x90 (original
was 40x50)
- added bounce.
Looks sweet! I should learn to write bankswitching code one of these days...
Rob
; Each frame now takes $300 bytes. - lots of waste (76 bytes/frame) ; The start address of the frames is in the AnimPtr table ; Frames 0,1,2,3 are in bank 0 ; Frames 4,5,6 are in bank 1
LDA RotateDir ; which direction to rotate it in?
CLC
ADC Frame
BPL .low
LDA #6
.low CMP #7
BCC .low1
LDA #0
.low1 STA Frame CMP #4
BCC .b1
BIT $1FF9 ; frame is in bank 1
SBC #4
BCS .b2
.b1 BIT $1FF8 ; frame is in bank 0
.b2 TAX
LDY AnimPtr,X. . .
END ;;;;;;;;;;;;;;;;;;
.word Cart_Init ; NMI
.word Cart_Init ; Reset
.word Cart_Init ; IRQ .word Cart_Init ; NMI
.word Cart_Init ; Reset
.word Cart_Init ; IRQ; Bonus.
----------------------------------------------------------------------------------------------
LDA RotateDir ; which direction to rotate it in?
CLC
ADC Frame
TAX
BPL .cl1
DEX
.cl1 CPX #7
BNE .cl2
INX
.cl2 TXA
AND #3
STA Temp
ASL
ADC Temp
ADC #$F4
TAY
TXA
AND #7
STA Frame
LSR
LSR
TAX
STA $1FF8,X
---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [stella] BiiggerBoing26, Rob | Thread | [stella] Fortitude I Quadraside, Christopher Tumber |
| Re: [stella] BiiggerBoing26, Rob | Date | [stella] Fortitude I Quadraside, Christopher Tumber |
| Month |