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 > GBAguy's Tutorial

#8395 - mcpherv - Wed Jul 09, 2003 5:08 pm

The turtorial has gone down from where it used to be. Anybody know where I could find it now? The link I am using is:
http://k2pts.home.attbi.com/gbaguy/
Any help would be appreciated.
Thanks

#8440 - mcpherv - Thu Jul 10, 2003 6:37 pm

Does anybody have it saved?

#8447 - SimonB - Thu Jul 10, 2003 10:58 pm

try going to gbadev.org>docs>tutorials

/Simon

#8451 - mcpherv - Thu Jul 10, 2003 11:55 pm

I feel kinda stupid. Thanks for the reply, though.

#9439 - hzx - Mon Aug 04, 2003 9:58 pm

To be honest, I have found several sections of the GbaGuy tutorial, which simply do not cover the reality.

Problemo 1.) Day 11., Variables. The code

@textarea 0x3000000
num2 @DCD 0x9
@endarea

does not work as written down. It seems that the GoldRoad assembler is unable to set a value into the RAM. I had to predefine variables into the 0x08000000 cartrigde ROM space, and move them onto the RAM area.

Problemo 2.) Day 2., Arm assembly.

SUBS r0,r1,0x0FF
ldrZ r0,=0x0FFFF

As far as I know, there is no Z conditional label in the ARM CPU, and even the GoldRoad assembler doest recognise it.

That is all I can remember now.
_________________
.hzx

#9467 - tepples - Tue Aug 05, 2003 3:22 pm

Some assemblers may recognize 'Z' and 'NZ' (what they're called in 8080-tradition asm such as x86) as equivalents to 'EQ' and 'NE' (what they're called in 6502-tradition asm such as ARM).
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#9577 - wasiliy - Sat Aug 09, 2003 9:46 am

hzx wrote:
To be honest, I have found several sections of the GbaGuy tutorial, which simply do not cover the reality.

Problemo 1.) Day 11., Variables. The code

@textarea 0x3000000
num2 @DCD 0x9
@endarea

does not work as written down. It seems that the GoldRoad assembler is unable to set a value into the RAM. I had to predefine variables into the 0x08000000 cartrigde ROM space, and move them onto the RAM area.


yes this is the way it works, not only with goldroad but also with armsdt and others.