Re: A89: help?


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

Re: A89: help?




NIKE5685@aol.com wrote:
> 
> could someone please give me a clue as to why this doesn't work? My cousin
> and I wanted to add a title pic to Jezzball... and I wanted to get a routine
> to display the pic b4 i added it into the source of jezzball:
>     include "doorsos.h"
>     include "graphlib.h"
>     include "userlib.h"
> 
>     xdef    _ti89
>     xdef    _main
>     xdef    _comment
> 
> _main:
>     jsr graphlib::clr_scr
>     lea pic(pc),a1
>     lea $4c00,a0
>         move.w  #29,d1
> bigloop:
>         move.w  #15,d0
> loop:
>     move.b  (a1)+,(a0)+
>     dbra.w  d0,loop
>         lea     14(a0),a0

Why dont you do lea 10(a0),a0?

>     dbra.w  d1,bigloop
>     jsr userlib::idle_loop
>     rts
> 
> pic:

- Matthew


Follow-Ups: References: