#25387 - hakanyuksel - Sat Aug 21, 2004 10:12 pm
I am trying to use the mbv2 cable. I just learned that i can reset the gba by an asm code like this
.GLOBL software_reset
.ARM
@.SECTION .iwram
.ALIGN
.TEXT
software_reset:
mov r0,#0x8c
bx r0
infin:
b infin
(this is in an .s file)
and my code is like this
MULTIBOOT
extern void software_reset();
int main(void)
{
software_reset();
init_game();
....
....
etc.
when i run the code a white screen appears an the emulator window. Is there any mistakes in my code. And can I make any unrecoverable damage to my gba by doing something by software like these(I mean asm)?
_________________
--------------------
Hakan Yuksel
3TE GAmes
www.3tegames.com
.GLOBL software_reset
.ARM
@.SECTION .iwram
.ALIGN
.TEXT
software_reset:
mov r0,#0x8c
bx r0
infin:
b infin
(this is in an .s file)
and my code is like this
MULTIBOOT
extern void software_reset();
int main(void)
{
software_reset();
init_game();
....
....
etc.
when i run the code a white screen appears an the emulator window. Is there any mistakes in my code. And can I make any unrecoverable damage to my gba by doing something by software like these(I mean asm)?
_________________
--------------------
Hakan Yuksel
3TE GAmes
www.3tegames.com