#12036 - dagamer34 - Mon Oct 27, 2003 9:36 pm
I am having some problems with the GBAguy's tutorials. I have gotten them to assemble successfully but they don't do what they are supposed to. Maybe i mistyped something (several times) or he has it just plain wrong. Using version 1.7 of the Goldroad Assembler if that matters.
Here's the code:
@include screen.h
@textarea
ldr r1, =REG_DISPCNT
ldr r2, =(MODE_3|BG2_ENABLE)
str r2,[r1]
ldr r1,=0x0FF
ldr r2,=VRAM+2410
str r1,[r2]
label1
B label1
@pool
@endarea
Simplest program possible (i guess it could be simpler, but it needs to do something). Please find my error (if any).
_________________
Little kids and Playstation 2's don't mix. :(
Here's the code:
@include screen.h
@textarea
ldr r1, =REG_DISPCNT
ldr r2, =(MODE_3|BG2_ENABLE)
str r2,[r1]
ldr r1,=0x0FF
ldr r2,=VRAM+2410
str r1,[r2]
label1
B label1
@pool
@endarea
Simplest program possible (i guess it could be simpler, but it needs to do something). Please find my error (if any).
_________________
Little kids and Playstation 2's don't mix. :(