Re: A89: 8-bit relocation error


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

Re: A89: 8-bit relocation error




Did you try my suggestion?

//Olle

Ben Rodgers wrote:
> 
> Yeah.  I have tried almost everything but it won't work.
> 
> ---Joe Koston <olp1726@usa.net> wrote:
> >
> >
> > you are trying to have a user input the notes right?
> >
> >
> > At 03:41 PM 3/10/99 -0800, you wrote:
> > >
> > >The format for playing songs are
> > >
> > > lea     song(pc),a0
> > > jsr     sndlib::PlaySong
> > >
> > >
> > > song:
> > >        dc.l    $40000
> > >        dc.b  1,4,2,4,3,4,5,4,255
> > >these are     ^   ^   ^   ^   the notes of the song
> > >these are       ^   ^   ^   ^ the lengths of the notes
> > >the 255 means end of song.
> > >    The problem is I am trying to find a way to put a variable in for
> > >the notes.  If anyone has an idea please tell me I am stumped.
> > >
> > >
> > >---Xavier VASSOR <xvassor@mail.dotcom.fr> wrote:
> > >>
> > >>
> > >> Joe Koston wrote:
> > >> >
> > >> > At 04:01 PM 3/9/99 -0800, you wrote:
> > >> > >
> > >> > >I have a program I can't get to work here is a simplified
> version
> > >that
> > >> > >also doesn't work.  Could somebody help me with this.  Thanks.
> > >> > >
> > >> > >       include "tios.h"
> > >> > >       include "sndlib.h"
> > >> > >
> > >> > >       xdef    _main
> > >> > >       xdef    _comment
> > >> > >       xdef    _ti89
> > >> > >
> > >> > >_main:
> > >> > >       move.b  1,note1
> > >> >
> > >> > dont you need something like # or $ or %?
> > >> > here in front of the 1?
> > >> >
> > >> > >       move.b  2,note2
> > >> > >       move.b  3,note3
> > >> > >       move.b  4,note4
> > >> > >       move.b  5,note5
> > >>
> > >> I suppose that he needs, in these 5 lines.
> > >> Else it will 'move' the  byte located at adress 1, or adress 2,
> etc..
> > >> but not the value #1, #2 ..
> > >>
> > >> Xavier VASSOR
> > >> ---The Doors Team
> > >> E-mail:xvassor@mail.dotcom.fr
> > >> Doors Homepage: http://start.at/doors
> > >> ICQ:10241721
> > >>
> > >>
> > >>
> > >
> > >==
> > >Visit my website, Some Assembly Required, at
> > >http://meltingpot.fortunecity.com/gilford/908
> > >
> > >
> > >_________________________________________________________
> > >DO YOU YAHOO!?
> > >Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> >
> >
> >
> 
> ==
> Visit my website, Some Assembly Required, at
> http://meltingpot.fortunecity.com/gilford/908
> 
> _________________________________________________________
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com


References: