gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

ASM > ASM DAY 1 -newbie question.

#3026 - Saj - Sun Feb 16, 2003 7:05 pm

I just completed day 1 of Gbaguy's assembly tutorial (Recommended to me by loads of people -thanks GBA-Guy) but I can't get the red dot to appear.

the code I typed is ;
Code:

@include screen.h
@textarea

ldr r1,=REG_DISPCNT

ldr r2,=(BG2_ENABLE|MODE_3)

str r2,[r1]

ldr r1,=0x0FF

ldr r2,=vram+2410

str r1,[r2]

label1

B label1

@pool
@endarea


The assembler I used is goldroad 1.7.

and the emulater I used is VisualboyAdvance (windows xp)

any help...

#3028 - I.C.E - Sun Feb 16, 2003 8:23 pm

I don't see any mistake why the red dot shouldn't appear. Maybe you just overlooked it? Maybe you can put your binary somewhere online so that it can be inspected by someone else.
_________________
To this day, many C programmers believe that "strong typing" just means pounding extra hard on the keyboard.
- Peter van der Linden

#3031 - Saj - Sun Feb 16, 2003 8:51 pm

It works now... I re-installed the emulator. Thanks for your help I.C.E.