Subject: Re: [stella] Line Labels/Memory Location... From: Thomas Jentzsch <tjentzsch@xxxxxx> Date: Mon, 05 Nov 2001 23:00:14 +0100 |
Joel Park wrote: >Just an example of how it's setup: > >.byte $04, $FF, $01, $03 ;Yellow Dragon >.byte $0F, $FF, $01, $03 ;Red Dragon > > >$04 = Color >$FF = High Byte of Memory Location (Graphics) >$01 = Low Byte of Memory Location (Graphics) >$03 = Which Animation Frame to Use. > >In this case, $FF, $01 would have to be repaced with a Line Tag: >Is there some way to use line tags when just initilizing a byte. If I understand it correct, you mean "labels" (see DASM.doc). Then it's very simple: .byte $04, >Dragon, <Dragon, $03 .byte $0f, >Dragon, <Dragon, $03 ;">" means high-byte of (address-)word ;"<" means low-byte of (address-)word ;see DASM.doc ;-) ... Dragon: ; graphics data starts here And you should replace $04 and $0f (BTW: Do you know why bit 0 is set here? As it's not needed for the color, maybe it's used for something special.) the with color constants and maybe $03 with a frame constant >I don't want to keep wasting you guy's time with this. I'm >sorry. Don't worry :-) Have fun! Thomas ---------------------------------------------------------------------------------------------- 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] Line Labels/Memory Loc, Joel Park | Thread | [stella] Adventure Decompilation (E, Joel Park |
[stella] Adventure Disassembly, Glenn Saunders | Date | Re: [stella] the new artillery game, Erik J. Eid |
Month |