#25276 - ProblemBaby - Thu Aug 19, 2004 10:41 pm
Ive problems to send the multiboot data to the slaves
here is the most interesting peace of code:
The code runs amazing when Iam tryinf to find the slaves
the first transfer in this peace of code works also
but when I try to transfer header data it looks up (on hardware it doesnt even return)
not at no$gba, but in no$gba the rom-image crashed when i try to call swi 0x21.
I cant find out what the problem is. But I think this should be enough plz repost if you want to some more code!
Thanks in advance
here is the most interesting peace of code:
Code: |
LDR r0, =0x6100 ORR r0, r6 @ r6 = Slave Bits BL Transfer LDR r4, =Client @ Client is a program LDRB r0, [r4, #0] LSL r0, #8 LDRB r1, [r4, #1] ORR r0, r1 BL MultiPlayer_Transfer LDRH r0, [r3, #REG_SIOMULTI1] POP { r4, r5, r6, pc } @ return and print out the value to see if it was transfered |
The code runs amazing when Iam tryinf to find the slaves
the first transfer in this peace of code works also
but when I try to transfer header data it looks up (on hardware it doesnt even return)
not at no$gba, but in no$gba the rom-image crashed when i try to call swi 0x21.
I cant find out what the problem is. But I think this should be enough plz repost if you want to some more code!
Thanks in advance