3DS extension on DS(i) hosmebrew ROMs

mrparrot2

Well-Known Member
OP
Newcomer
Joined
Nov 29, 2021
Messages
87
Trophies
0
Age
28
Location
SP, Brazil
XP
398
Country
Brazil
Hi, folks.

I was looking at the gbarunner2 thread and found that there is a way to address 32mb of RAM in DS(i) mode while running in a 3DS.

Hence I am wondering:
- How can I detect and address this extra 16mb of memory If running on a 3DS.
- What are the other extensions provided in DS(i) mode when running on a 3DS?
 

Pk11

A catgirl with a DSi
Member
Joined
Jun 26, 2019
Messages
1,259
Trophies
1
Age
21
Location
米国
Website
pk11.us
XP
3,595
Country
United States
You can just write something to the upper part of memory and see if it works
https://github.com/DS-Homebrew/TWiLightMenu/blob/master/title/arm9/source/main.cpp#L2532-L2533
C:
// Not sure if there's a particular reason for using exactly 0x0DFFFE0C,
// 0x53524C41 is just the ASCII "SRLA" which I think is just arbitrary as it's TWiLight Menu++'s title ID
// Note that this will detect both developer DSi's and 3DS's, if you want to detect *only* 3DS consoles
// there's a way to do it with some I2C register on ARM7
*(vu32*)(0x0DFFFE0C) = 0x53524C41;		// Check for 32MB of RAM
bool isDevConsole = (*(vu32*)(0x0DFFFE0C) == 0x53524C41);

I don't think 3DS has anything else normally, there is rtcomm if you have TWPatch though.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
  • Psionic Roshambo @ Psionic Roshambo:
    Do the Mario lol
  • K3N1 @ K3N1:
    🍑
  • K3N1 @ K3N1:
    Whoever developed Bramble was smoking that good shit fucking gnomes
    K3N1 @ K3N1: Whoever developed Bramble was smoking that good shit fucking gnomes