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.

DS development > FWNitro code questions.

#120486 - max482wert - Sun Mar 04, 2007 3:37 am

I keep getting this error when building my MMD specific version of FWNitro (Made with GBA_NDS_FAT driver from Picodrive 0.1.6). I get this when compiling main7.c in the ARM7 directory, It says

error: 'PERSONAL_DATA' has no member named 'gbaScreen'

so i was wondering if

Code:
case IPC_GBA:
               if(PersonalData->gbaScreen)
                  i=(bottom_light*PM_BOTTOMLIGHT) | PM_SOUND;
               else
                  i=(top_light*PM_TOPLIGHT) | PM_SOUND;
               writePM(i);
               swiChangeSoundBias(0,0x400);
               ((call0)0x11a4)();


was really nessisary.

also when building any GBA_NDS_FAT project with r20 I get the following errors when building

error: 'TransferRegion' has no member named 'curtime'

error: 'TransferRegion' has no member named 'heartbeat'

have they been changed since the release of FWNitro v1.6c?

#120492 - simonjhall - Sun Mar 04, 2007 4:04 am

Yeah, I seem to remember the IPC struct changing from 19->20.
To fix this I took the new ARM7 template code and merged in the required bits. Sha-zam.
_________________
Big thanks to everyone who donated for Quake2

#120493 - max482wert - Sun Mar 04, 2007 4:07 am

1). which bits?
2). is there a way to downgrade to r19?
_________________
Flashed DS Phat (FlashMe v7)
Max Media Dock w/ v1.22 firmware
1x-4x (I think!) 512 Lexar CompactFlash Card

#120497 - Firon - Sun Mar 04, 2007 4:43 am

You're better off trying to fix it to work with a new version rather than rolling back. It will make it a lot easier to upgrade your DKP in the future.

Last edited by Firon on Sun Mar 04, 2007 4:52 am; edited 1 time in total

#120498 - max482wert - Sun Mar 04, 2007 4:46 am

as i may have said im not that experianced so upgrading would be very hard for me
_________________
Flashed DS Phat (FlashMe v7)
Max Media Dock w/ v1.22 firmware
1x-4x (I think!) 512 Lexar CompactFlash Card

#120502 - max482wert - Sun Mar 04, 2007 4:56 am

This isn't working.

here's the zip http://www.fileden.com/files/2007/2/17/786363/firmware.zip

someone open it and tell me what is wrong with it and what i need to do.
_________________
Flashed DS Phat (FlashMe v7)
Max Media Dock w/ v1.22 firmware
1x-4x (I think!) 512 Lexar CompactFlash Card