Re: A89: multiple files


[Prev][Next][Index][Thread]

Re: A89: multiple files




Yes it works just fine! But include it in the end of your file! (or more
accurate, in your datasection!) Include just includes the file specified at the
point where it is written. and you don't want a lot of data in the beginning of
your program
the ordinary includes you include, doesnt contain any actual data, just
definitions, so they can be at the top.

//Olle

S43R80@aol.com wrote:
> 
> hey, if i wanted to store a bunch of sprites in another file how would i go
> about this?
> for example if i name a file "sprites.asm" and then have the sprites listed:
> sprite 1:
>  dc.b...
>  ...etc...
> 
> sprite 2:
> ...and so on...
> 
> is there anyhting that needs to be done...is the only thing i have to do is
> include the file name at the beginning of the program???
> 
> and everything else works the same, right?  like if i wanted to "move.l
> sprite1,a0" or something from the main program, would that be ok???


References: