#120406 - simonjhall - Sat Mar 03, 2007 6:46 pm
I'm trying to decide whether or not I should add support for extra-RAM cards in Quake. The game *will not* require extra memory, but if it's there I'd like to use it in order to speed up load times.
It'd be nice if the poll could let you vote more than once but I can't see an option for that... So if you've got more than one type could you select the one with the *least* memory? Or just post here :-)
If you've only got a slot-1 card then you don't have any extra memory.
If I've forgotten any card then please tell me.
If enough people vote then I'll add support
_________________
Big thanks to everyone who donated for Quake2
#120413 - Miika - Sat Mar 03, 2007 7:23 pm
Hello simon, I have the EZ-Flash 4 Deluxe with extra RAM (That is not usable yet?)
I voted EZ4, BUT now I also have an M3 Simply AND the original Opera RAM expansion!
So I hope you will support the Opera expansion when/if you need extra RAM.
Maybe you should make different builds for M3/SC/Opera expansion?
_________________
My DSQuake video: http://www.youtube.com/watch?v=03wz7nmaXa8
My QuakeDS video: http://www.youtube.com/watch?v=nNIKneo11o4
#120415 - Lazy1 - Sat Mar 03, 2007 7:27 pm
I voted Supercard, but good luck getting RAM access on the M3.
#120416 - simonjhall - Sat Mar 03, 2007 7:29 pm
Miika: I keep meaning to send you a sample (Quake2!) which will test to see if the memory on your card needs an unlock code - I just need to find time to do so!
Unless someone wants to chime in and tell me?
And I keep meaning to get an Opera expansion to go with my SC.
Oh and I was gonna put everything in the same build.
Lazy1: is the M3 memory not easy to use? I've seen the unlock code in Moonshell...does it not work?
_________________
Big thanks to everyone who donated for Quake2
#120417 - Lazy1 - Sat Mar 03, 2007 7:30 pm
I don't know since I got my unlock codes elsewhere, I'll check out moonshell though.
[Edit]
So this EZ4 thing has extra RAM?
Maybe they'll give out free ones to developers who want to use the extra ram in their applications.
#120418 - simonjhall - Sat Mar 03, 2007 7:32 pm
Code: |
static void SetM3_EnableCard(void)
{
// run unlock sequence
volatile unsigned short tmp ;
tmp = *(volatile unsigned short *)0x08000000 ;
tmp = *(volatile unsigned short *)0x08E00002 ;
tmp = *(volatile unsigned short *)0x0800000E ;
tmp = *(volatile unsigned short *)0x08801FFC ;
tmp = *(volatile unsigned short *)0x0800104A ;
tmp = *(volatile unsigned short *)0x08800612 ;
tmp = *(volatile unsigned short *)0x08000000 ;
tmp = *(volatile unsigned short *)0x08801B66 ;
tmp = *(volatile unsigned short *)0x08800006 ;
tmp = *(volatile unsigned short *)0x08000000 ;
}
static void SetM3_EnablePSRAM(void)
{
// run unlock sequence
volatile unsigned short tmp ;
tmp = *(volatile unsigned short *)0x08000000 ;
tmp = *(volatile unsigned short *)0x08E00002 ;
tmp = *(volatile unsigned short *)0x0800000E ;
tmp = *(volatile unsigned short *)0x08801FFC ;
tmp = *(volatile unsigned short *)0x0800104A ;
tmp = *(volatile unsigned short *)0x08800612 ;
tmp = *(volatile unsigned short *)0x08000000 ;
tmp = *(volatile unsigned short *)0x08801B66 ;
tmp = *(volatile unsigned short *)0x08800004 ; // 0=bios?, 4 or c=8MByte?
tmp = *(volatile unsigned short *)0x08000000 ;
*(volatile u16*)0x09FFEFFE=0xAA55; // PepsiMan vote: The RAM on the M3 is made writable by writing 0xaa55 to 0x09ffeffe.
// a=4; err=(n=0-7),(0x088nxxxx,0x089nxxxx,0x08anxxxx,0x08bnxxxx,0x08cnxxxx,0x08dnxxxx,0x08enxxxx,0x08fnxxxx)
}
#define M3_PSRAM_MaxSize (16*1024*1024) |
I'm guessing that 'PSRAM' is the memory that gets mapped into the gba space. Dunno why it's 16 megs in size though...
_________________
Big thanks to everyone who donated for Quake2
#120420 - Miika - Sat Mar 03, 2007 7:38 pm
EZ4 Dx has 32 MB of PSRAM + 48MB of NOR.
+ RAM for the loader and saves.
Simon, I really have no idea myself how to utilize the RAM or about unlock codes or whatever, as I mentioned before, the old version of moonshell utilized EZ4 RAM to write the ROMs in it before launching.
I have asked about this in the EZ-Flash forums, you may read this thread:
http://ezflash.sosuke.com/viewtopic.php?t=3966&start=0&postdays=0&postorder=asc&highlight=
_________________
My DSQuake video: http://www.youtube.com/watch?v=03wz7nmaXa8
My QuakeDS video: http://www.youtube.com/watch?v=nNIKneo11o4
#120424 - dantheman - Sat Mar 03, 2007 8:10 pm
I voted Supercard even though I have an Opera pack because only the Supercard would be useful to me for homebrew applications. Unless you figured out a way to load all you needed into the DS's RAM and then let me pak-swap to the Opera RAM, it's the Supercard that would be used.
#120436 - Lazy1 - Sat Mar 03, 2007 9:06 pm
Well, I couldn't get that M3 code working either.
I must be doing something wrong but I have no way of finding out.
If you get it working let me know.
#120438 - HyperHacker - Sat Mar 03, 2007 9:09 pm
I want one, only have a GBAMP right now. I'm thinking M3 due to its good GBA support, but considering it's made by the same company as GBAMP and mine isn't working so well anymore... :-/ how is M3 durability-wise? Has anyone even managed to enable all 32MB?
_________________
I'm a PSP hacker now, but I still <3 DS.
#120442 - jester - Sat Mar 03, 2007 9:24 pm
Most nowadays have Slot-1 Solutions maybe a new angle to this issue needs to be focused on?
_________________
If anyone needs a dragonball online email me @ aaronthejester@hotmail.com
#120450 - simonjhall - Sat Mar 03, 2007 9:36 pm
I tried to get an M3 Perfect by talking to M3 directly and they sent me a slot-1 Simply instead. Huh. If they had I'd be able to easily roll support for that card into Q1/Q2.
On the flip side having the slot-1 Simply is pretty useful as I wrote the Q1 networking code using a second DS which didn't have flashme on it... Plus I'm developing Q2 on the Simply in slot-1 but my Supercard in slot-2...
EDIT: Miika, I read that thread you pointed me at. Doesn't look too promising, but they do look like they've had some luck. Either way I've emailed the sales addr for the the manufacturer - hopefully they'll send me a free card!
_________________
Big thanks to everyone who donated for Quake2
#120461 - Doom5 - Sat Mar 03, 2007 11:02 pm
Considering Team Ez-flash will be releasing a memory expansion card http://www.ezflash.cn/en/article.asp?id=45 for Slot-1 users, I think more applications should take advantage of the extra memory in flash cards.
EDIT: It's already available at an Australian site [URL removed by MOD - read the rules] for only AU $22.00 or about $17 USD.
#120463 - Firon - Sat Mar 03, 2007 11:14 pm
The M3 team will be releasing one for the M3 Real as well.
#120557 - OOPMan - Sun Mar 04, 2007 6:26 pm
I have a SuperCard and hence voted SC. I also have an Opera cart, but I don't really care about support for it...
With regards to the M3 and 16megs only, this is a known problem. However, Amadeus managed to work out a solution that allowed access to the full 32mb. Of course, that's all wrapped up in DS Linux, but it is possible to access all 32mb.
I think the M3 normally reserves 16mb for I/O of some kind, but it is possible to access the whole 32mb...
_________________
"My boot, your face..." - Attributed to OOPMan, Emperor of Eroticon VI
You can find my NDS homebrew projects here...
#120559 - viruseb - Sun Mar 04, 2007 6:31 pm
G6 has also 32MB RAM. I've found the unlock code somewhere.
#120563 - daninski - Sun Mar 04, 2007 6:48 pm
supercardlite, opera as well but i have no reason to get a slot one as the supercard and flashme are ideal.
_________________
www.holbrooksfilms.com
www.tdotodotm.com
#120577 - Firon - Sun Mar 04, 2007 8:27 pm
OOPMan wrote: |
I have a SuperCard and hence voted SC. I also have an Opera cart, but I don't really care about support for it...
With regards to the M3 and 16megs only, this is a known problem. However, Amadeus managed to work out a solution that allowed access to the full 32mb. Of course, that's all wrapped up in DS Linux, but it is possible to access all 32mb.
I think the M3 normally reserves 16mb for I/O of some kind, but it is possible to access the whole 32mb... |
Both Supercard and M3 use some of the RAM for I/O. To use it all, what they had to do was avoid accessing the memory and doing I/O at the same time. Just had to switch back and forth.