|
Subject: RE: [stella] Bounce! demo From: "Dennis Debro" <ddebro@xxxxxxxxxxxxx> Date: Mon, 28 Jul 2003 17:58:58 -0400 |
Hi Fab,
> So, as usual, I'd really love comments on all aspects of the game..
> playability, optimizations, improvements, etc.! :)
Me again :) How about 59 bytes. The SLEEP macro takes a lot of bytes.
Change your Position6Sprites routine to...
Position6Sprites subroutine
lda #3
sta NUSIZ0
sta NUSIZ1
sta VDELP0 ; D0 = 1 (saves 2 bytes)
sta VDELP1
LDA #$46
STA COLUP0
STA COLUP1
STA HMCLR
ldx #6
STA WSYNC
.positionLoop
dex
bpl .positionLoop ; ends @ 34
lda #$E0 | $08 ; trick I got from Thomas...only top
nibble
; used :) This saves a byte by not loading
; the accumulator again.
STA RESP0 ; @39
sta RESP1 ; @42
sta HMP1 ; move right 2 pixels
asl
sta HMP0 ; move right 3 pixels
STA WSYNC
STA HMOVE
STA WSYNC
RTS
Take care,
Dennis
----------------------------------------------------------------------------------------------
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] Recording movies of ga, Albert Yarusso | Thread | Re: [stella] Bounce! demo, Erik Eid |
| Re: Re: [stella] Bounce! demo, Dennis Debro | Date | Re: [stella] Homestar RPG Demo, Pete Holland |
| Month |