View Single Post
Old 07-28-2004, 22:11   #38 (permalink)
arsh0r
Insane Poster
 
Join Date: May 2002
Age: 39
Posts: 76
Member: 12407
Status: Offline
Thanks Meter: 0
drawimg test

i tried to test the drawimg function in a binary, but it showed nothing. just the waiting animation in endless loop (ahh, sweet endless loop). does someody know what i did wrong?

here is my code:
Code:
test:
	mov     r12, image 
	mov     r13, #20h
	mov     [-r0], r13 ;page if image
	mov     [-r0], r12 ;address of image
	mov	r12, #0h ;x
	mov	r13, #0h ;y
	mov     r14, #1Eh ;width?
	mov     r15, #14h ;height?
	calls    0D6h, 0D6A45Ch
	add     r0, #4
endlessloop:
	jmpr	cc_UC, endlessloop
	rets
image:
dw 00000h, 00300h, 01000h, 00300h, 00900h, 00300h, 00A00h, 00300h
dw 00E00h, 00300h, 03500h, 00380h, 04600h, 00340h, 08A00h, 00320h
dw 08900h, 00320h, 01101h, 00310h, 02301h, 003FEh, 0FC07h, 003A0h
dw 000C0h, 00360h, 04000h, 00340h, 0B100h, 003A0h, 08E00h, 00320h
dw 00001h, 00310h, 00000h, 00300h, 00000h, 00300h, 00000h, 00300h
@rizapn: i'd be cool if you put some binary output mode to sfe

edit: i also tried some other stuff, but it didn't work, it was just loaded into ram and i can execute it with at+cgsn debug. also mmc access ****ed up, if i use my precious endlessloop...

cya
arsh0r

Last edited by arsh0r; 07-29-2004 at 21:45.
  Reply With Quote
 
Page generated in 0.09514 seconds with 7 queries