#21182 - realV - Tue May 25, 2004 2:24 pm
I got a question:
this is my asm code:
@include image.asm
init:
ldr r0,=0x4000000
ldr r1,=0x3
add r1,r1,=0x400
str r1,[r0]
ldr r0,=0x6000000
ldr r1,=gbaBitmap
ldr r2,=19200
load:
ldr r3,[r1]+4!
str r3,[r0]+4!
subs r2,r2,=0x1
bne load
loop:
b loop
i compile it with goldroad1.7 and ok i got a file main.gba
but when i test this programm on VisualBoyAdvance i god just a black screen and nothing more , the bitmap is loaded into memory but i dont know wats wrong ?
PS: Sorry for my anglish :)
this is my asm code:
@include image.asm
init:
ldr r0,=0x4000000
ldr r1,=0x3
add r1,r1,=0x400
str r1,[r0]
ldr r0,=0x6000000
ldr r1,=gbaBitmap
ldr r2,=19200
load:
ldr r3,[r1]+4!
str r3,[r0]+4!
subs r2,r2,=0x1
bne load
loop:
b loop
i compile it with goldroad1.7 and ok i got a file main.gba
but when i test this programm on VisualBoyAdvance i god just a black screen and nothing more , the bitmap is loaded into memory but i dont know wats wrong ?
PS: Sorry for my anglish :)