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