Re: A89: help?


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

Re: A89: help?




	include "doorsos.h"
	include "graphlib.h"
	include "userlib.h"

	xdef    _ti89
	xdef    _main
	xdef    _comment

	jsr graphlib::clr_scr
	move.l #pic,a0
	move.w #29,d0
	move.w #15,d1
	move.b #%11111111,d3
	jsr graphlib::put_sprite_mask
	jsr util::idle_loop
 pic:
	dc.w 31
	dc.w 16
    dc.b
%00011111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11
111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111
111,%11111000
    dc.b
%01111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11
111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111
111,%11111110
    dc.b
%11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00
000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000
000,%00000111
    dc.b
%11100000,%00000001,%11111111,%11111111,%00000000,%00000000,%00000000,%00
000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000
000,%00000111
    dc.b
%11100010,%00001111,%11111111,%11111111,%11110000,%00000000,%00000000,%00
000100,%00000000,%00000000,%00000000,%00000100,%00000000,%00000000,%00000
000,%00000111
    dc.b
%11100000,%00001111,%11111111,%11111111,%11100000,%00000000,%00000000,%00
010000,%00000000,%00011111,%11110000,%00000000,%00000000,%00000000,%00000
000,%00000111
    dc.b
%11100000,%00001110,%10000111,%11111000,%11100000,%00000000,%00100000,%00
000000,%00000000,%00011111,%11110000,%00000000,%00000001,%11111111,%00111
111,%11100111
    dc.b
%11100000,%10001000,%00000111,%11100000,%00000000,%00000000,%00000000,%00
000000,%00000000,%00011111,%11110000,%00000000,%00000000,%11111111,%00011
111,%11100111
    dc.b
%11100000,%00001000,%10000111,%11100000,%00000000,%00010000,%00010000,%00
000000,%00000000,%00001111,%11110000,%00000000,%00000000,%11111111,%00011
111,%11100111
    dc.b
%11100000,%00000000,%00000111,%11100000,%00000000,%00000000,%00000000,%00
000000,%00000000,%00001111,%11100000,%00000000,%00000000,%11111111,%00011
111,%11000111
    dc.b
%11100010,%00000000,%00000111,%11000000,%00000000,%00000000,%00000000,%00
000000,%00000000,%00001111,%11100000,%00000000,%00000000,%11111111,%00011
111,%11000111
    dc.b
%11100000,%00000000,%00000111,%11000000,%00000011,%11100001,%11111111,%11
000111,%11111111,%10001111,%11100000,%00011111,%11100000,%11111111,%00011
111,%11000111
    dc.b
%11100000,%00000000,%00000111,%11000000,%00011100,%00110001,%11111111,%11
000111,%11111111,%10001111,%11100000,%00111100,%01111000,%11111111,%00011
111,%11000111
    dc.b
%11100000,%00000000,%00000111,%11000000,%00111000,%00110001,%10001111,%00
000100,%01111111,%00001111,%11100000,%00111000,%01111000,%11111111,%00011
111,%11100111
    dc.b
%11100011,%11111111,%00000111,%11000000,%01110111,%11100001,%00011110,%00
000000,%11111100,%00001111,%11100000,%00000000,%01111000,%11111111,%00011
111,%11000111
    dc.b
%11100011,%11111111,%00000111,%11100000,%11111000,%00000000,%00111100,%00
000001,%11111000,%00001111,%11111111,%10000000,%01111000,%11111111,%00011
111,%11100111
    dc.b
%11100011,%11111111,%00000111,%11110000,%01100000,%11000000,%01111111,%11
000011,%11110000,%00001111,%10000011,%11000111,%11111000,%11111111,%00011
111,%11000111
    dc.b
%11100011,%00111111,%00000111,%11111000,%00111111,%11000001,%11111111,%11
000111,%11111111,%10011111,%00000001,%11101110,%01111000,%11111111,%00011
111,%11000111
    dc.b
%11100001,%00011111,%00000111,%11111000,%00000000,%00000000,%00000000,%01
000111,%11111111,%10011111,%00000001,%11101100,%01111000,%11111111,%00011
111,%11000111
        dc.b
%11100000,%00011111,%11111111,%11111000,%00000000,%00000000,%00000000,%00
000000,%00000000,%00001111,%10000001,%11101100,%01111000,%11111111,%00011
111,%11000111
    dc.b
%11100001,%00001111,%11111111,%11111000,%00000000,%00000000,%00000000,%01
000000,%00000000,%00000111,%11111111,%11100111,%11010100,%11111111,%00011
111,%11000111
    dc.b 
%11100010,%00000001,%11111111,%11110000,%00000000,%00000000,%00000000,%00
000000,%00000000,%00000011,%11111111,%10000000,%00000010,%11111111,%00011
111,%11000111
    dc.b
%11100000,%00000000,%01111111,%11000000,%00000000,%00000000,%00000000,%00
000000,%00000000,%00000000,%00000000,%00000000,%00000000,%11111100,%00011
111,%11000111
    dc.b
%11100001,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%01
000000,%00001000,%00000000,%00000000,%00000000,%00000000,%00000000,%00011
111,%10000111
    dc.b
%11100011,%10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%10
000000,%00000000,%00000000,%00000000,%00000000,%00000001,%00000000,%00000
000,%00000111
    dc.b
%11100001,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00
000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000
000,%00000111
	dc.b
%11100000,%00000000,%00000000,%00000000,%00000000,%00010000,%00000000,%00
000000,%00000000,%00000000,%00000000,%00000000,%00100000,%00000000,%00000
000,%00000111
	dc.b
%11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00
000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00001000,%00000
000,%00000111
	dc.b
%11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00
000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000
000,%00000111
	dc.b
%01111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11
111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111
111,%11111110
	dc.b
%00011111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11
111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111
111,%11111000

	_comment: dc.b "jezzball pic v1.0 coded by jc picture by bc",0

	end
On Wed, 5 Jan 2000 17:01:17 EST NIKE5685@aol.com writes:
> 
> 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
>     dbra.w  d1,bigloop
>     jsr userlib::idle_loop
>     rts
> 
> pic:
>     dc.b 
>
%00011111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11
11111
>
1,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%
11111
> 000
>     dc.b 
>
%01111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11
11111
>
1,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%
11111
> 110
>     dc.b 
>
%11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00
00000
>
0,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%
00000
> 111
>     dc.b 
>
%11100000,%00000001,%11111111,%11111111,%00000000,%00000000,%00000000,%00
00000
>
0,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%
00000
> 111
>     dc.b 
>
%11100010,%00001111,%11111111,%11111111,%11110000,%00000000,%00000000,%00
00010
>
0,%00000000,%00000000,%00000000,%00000100,%00000000,%00000000,%00000000,%
00000
> 111
>     dc.b 
>
%11100000,%00001111,%11111111,%11111111,%11100000,%00000000,%00000000,%00
01000
>
0,%00000000,%00011111,%11110000,%00000000,%00000000,%00000000,%00000000,%
00000
> 111
>     dc.b 
>
%11100000,%00001110,%10000111,%11111000,%11100000,%00000000,%00100000,%00
00000
>
0,%00000000,%00011111,%11110000,%00000000,%00000001,%11111111,%00111111,%
11100
> 111
>     dc.b 
>
%11100000,%10001000,%00000111,%11100000,%00000000,%00000000,%00000000,%00
00000
>
0,%00000000,%00011111,%11110000,%00000000,%00000000,%11111111,%00011111,%
11100
> 111
>     dc.b 
>
%11100000,%00001000,%10000111,%11100000,%00000000,%00010000,%00010000,%00
00000
>
0,%00000000,%00001111,%11110000,%00000000,%00000000,%11111111,%00011111,%
11100
> 111
>     dc.b 
>
%11100000,%00000000,%00000111,%11100000,%00000000,%00000000,%00000000,%00
00000
>
0,%00000000,%00001111,%11100000,%00000000,%00000000,%11111111,%00011111,%
11000
> 111
>     dc.b 
>
%11100010,%00000000,%00000111,%11000000,%00000000,%00000000,%00000000,%00
00000
>
0,%00000000,%00001111,%11100000,%00000000,%00000000,%11111111,%00011111,%
11000
> 111
>     dc.b 
>
%11100000,%00000000,%00000111,%11000000,%00000011,%11100001,%11111111,%11
00011
>
1,%11111111,%10001111,%11100000,%00011111,%11100000,%11111111,%00011111,%
11000
> 111
>     dc.b 
>
%11100000,%00000000,%00000111,%11000000,%00011100,%00110001,%11111111,%11
00011
>
1,%11111111,%10001111,%11100000,%00111100,%01111000,%11111111,%00011111,%
11000
> 111
>     dc.b 
>
%11100000,%00000000,%00000111,%11000000,%00111000,%00110001,%10001111,%00
00010
>
0,%01111111,%00001111,%11100000,%00111000,%01111000,%11111111,%00011111,%
11100
> 111
>     dc.b 
>
%11100011,%11111111,%00000111,%11000000,%01110111,%11100001,%00011110,%00
00000
>
0,%11111100,%00001111,%11100000,%00000000,%01111000,%11111111,%00011111,%
11000
> 111
>     dc.b 
>
%11100011,%11111111,%00000111,%11100000,%11111000,%00000000,%00111100,%00
00000
>
1,%11111000,%00001111,%11111111,%10000000,%01111000,%11111111,%00011111,%
11100
> 111
>     dc.b 
>
%11100011,%11111111,%00000111,%11110000,%01100000,%11000000,%01111111,%11
00001
>
1,%11110000,%00001111,%10000011,%11000111,%11111000,%11111111,%00011111,%
11000
> 111
>     dc.b 
>
%11100011,%00111111,%00000111,%11111000,%00111111,%11000001,%11111111,%11
00011
>
1,%11111111,%10011111,%00000001,%11101110,%01111000,%11111111,%00011111,%
11000
> 111
>     dc.b 
>
%11100001,%00011111,%00000111,%11111000,%00000000,%00000000,%00000000,%01
00011
>
1,%11111111,%10011111,%00000001,%11101100,%01111000,%11111111,%00011111,%
11000
> 111
>         dc.b 
>
%11100000,%00011111,%11111111,%11111000,%00000000,%00000000,%00000000,%00
00000
>
0,%00000000,%00001111,%10000001,%11101100,%01111000,%11111111,%00011111,%
11000
> 111
>     dc.b 
>
%11100001,%00001111,%11111111,%11111000,%00000000,%00000000,%00000000,%01
00000
>
0,%00000000,%00000111,%11111111,%11100111,%11010100,%11111111,%00011111,%
11000
> 111
>     dc.b 
>
%11100010,%00000001,%11111111,%11110000,%00000000,%00000000,%00000000,%00
00000
>
0,%00000000,%00000011,%11111111,%10000000,%00000010,%11111111,%00011111,%
11000
> 111
>     dc.b 
>
%11100000,%00000000,%01111111,%11000000,%00000000,%00000000,%00000000,%00
00000
>
0,%00000000,%00000000,%00000000,%00000000,%00000000,%11111100,%00011111,%
11000
> 111
>     dc.b 
>
%11100001,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%01
00000
>
0,%00001000,%00000000,%00000000,%00000000,%00000000,%00000000,%00011111,%
10000
> 111
>     dc.b 
>
%11100011,%10000000,%00000000,%00000000,%00000000,%00000000,%00000000,%10
00000
>
0,%00000000,%00000000,%00000000,%00000000,%00000001,%00000000,%00000000,%
00000
> 111
>     dc.b 
>
%11100001,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00
00000
>
0,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%
00000
> 111
>     dc.b 
>
%11100000,%00000000,%00000000,%00000000,%00000000,%00010000,%00000000,%00
00000
>
0,%00000000,%00000000,%00000000,%00000000,%00100000,%00000000,%00000000,%
00000
> 111
>     dc.b 
>
%11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00
00000
>
0,%00000000,%00000000,%00000000,%00000000,%00000000,%00001000,%00000000,%
00000
> 111
>     dc.b 
>
%11100000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00
00000
>
0,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%00000000,%
00000
> 111
>     dc.b 
>
%01111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11
11111
>
1,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%
11111
> 110
>     dc.b 
>
%00011111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11
11111
>
1,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%11111111,%
11111
> 000
> 
> _comment: dc.b "jezzball pic v1.0 coded by jc picture by bc",0
> 
>     end
> 

                                                                        
-David
ICQ#: 2350967            
http://89Programming.cjb.net/
"Tell Me That It's Nicer Dreaming; Visions That Are Soft And Sure.  No
Way To Find, 
There's Nothing Left To Me And Her; Nothing More But A Heart Still At
War."