Homebrew [REQUEST] Updating PicodriveDS to lastest DKP in order to work with dsiwarehax.

Billy Acuña

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
Mexico
  • Like
Reactions: Xeretinha

RocketRobz

Stylish TWiLight Hero
Developer
Joined
Oct 1, 2010
Messages
16,614
Trophies
3
Age
24
XP
21,032
Country
United States
It's unable to compile.
Errors said:
D:\disassemblies\nds\picodriveds-0.1.7>make
make -C arm7
make[1]: Entering directory `/d/disassemblies/nds/picodriveds-0.1.7/arm7'
template.c
arm-none-eabi-gcc -MMD -MP -MF /d/disassemblies/nds/picodriveds-0.1.7/arm7/build/template.d -Wall -O3 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -I/d/disassemblies/nds/picodriveds-0.1.7/arm7/include -I/d/disassemblies/nds/picodriveds-0.1.7/arm7/build -I/d/devkitPro/libnds/include -I/d/disassemblies/nds/picodriveds-0.1.7/arm7/build -DARM7 -c /d/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c -o template.o
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c: In function 'startSound':
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:10:109: error: 'SOUND_8BIT' undeclared (first use in this function)
SCHANNEL_CR(channel) = SCHANNEL_ENABLE | SOUND_ONE_SHOT | SOUND_VOL(vol) | SOUND_PAN(pan) | (format==1?SOUND_8BIT:SOUND_16BIT);
^~~~~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:10:109: note: each undeclared identifier is reported only once for each function it appears in
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:10:120: error: 'SOUND_16BIT' undeclared (first use in this function)
SCHANNEL_CR(channel) = SCHANNEL_ENABLE | SOUND_ONE_SHOT | SOUND_VOL(vol) | SOUND_PAN(pan) | (format==1?SOUND_8BIT:SOUND_16BIT);
^~~~~~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c: In function 'VcountHandler':
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:38:13: error: too few arguments to function 'touchReadXY'
tempPos = touchReadXY();
^~~~~~~~~~~
In file included from d:/devkitPro/libnds/include/nds.h:290:0,
from d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:1:
d:/devkitPro/libnds/include/nds/arm7/touch.h:61:6: note: declared here
void touchReadXY(touchPosition *touchPos);
^~~~~~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:40:14: error: 'touchPosition {aka struct touchPosition}' has no member named 'x'; did you mean 'px'?
x = tempPos.x;
^
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:41:14: error: 'touchPosition {aka struct touchPosition}' has no member named 'y'; did you mean 'py'?
y = tempPos.y;
^
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:62:4: error: 'IPC' undeclared (first use in this function)
IPC->mailBusy = 1;
^~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c: In function 'VblankHandler':
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:86:2: error: unknown type name 'TransferSound'
TransferSound *snd = IPC->soundData;
^~~~~~~~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:86:23: error: 'IPC' undeclared (first use in this function)
TransferSound *snd = IPC->soundData;
^~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:91:18: error: request for member 'count' in something not a structure or union
for (i=0; i<snd->count; i++) {
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:19: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:38: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:57: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:81: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:99: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:95:117: error: request for member 'data' in something not a structure or union
startSound(snd->data.rate, snd->data.data, snd->data.len, chan, snd->data.vol, snd->data.pan, snd->data.format);
^~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c: In function 'main':
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:110:2: warning: implicit declaration of function 'powerON' [-Wimplicit-function-declaration]
powerON(POWER_SOUND);
^~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:111:2: error: 'SOUND_CR' undeclared (first use in this function)
SOUND_CR = SOUND_ENABLE | SOUND_VOL(0x7F);
^~~~~~~~
d:/disassemblies/nds/picodriveds-0.1.7/arm7/source/template.c:112:2: error: 'IPC' undeclared (first use in this function)
IPC->soundData = 0;
^~~
make[2]: *** [template.o] Error 1
make[1]: *** [build] Error 2
make[1]: Leaving directory `/d/disassemblies/nds/picodriveds-0.1.7/arm7'
make: *** [arm7/picodriveds.elf] Error 2
 
Last edited by RocketRobz,

AL_16

Well-Known Member
Member
Joined
Jun 13, 2017
Messages
232
Trophies
0
XP
609
Country
Ukraine
Hey! Robz8....
:yaynds: DSi: Pink
Firmware: 1.4
CFW: HiyaCFW
smile210.gif


Stop teasing us please....
smile99.gif
 
Last edited by AL_16,
  • Like
Reactions: tozevleal

siamese

Well-Known Member
Member
Joined
Mar 13, 2010
Messages
164
Trophies
1
Age
109
Location
green hill zone
XP
443
Country
Mexico
Why not running JenesisDS from SD using HBMenu vía sudokuhax in the DSi ? So far i cant make it find roms so it stops at the "searching" screen
 
D

Deleted User

Guest
Why not running JenesisDS from SD using HBMenu vía sudokuhax in the DSi ? So far i cant make it find roms so it stops at the "searching" screen
I don´t own an dsi unfortunatly. As far as i know the last released Version of JenesisDS freezes /won´t continue in the Menu Screen.
 

JimmyZ

Sarcastic Troll
Member
Joined
Apr 2, 2009
Messages
681
Trophies
0
XP
762
Country
Zimbabwe
This is really off topic but I think Genesis on 3DS is way much better? for the resolution?

DS(i) is great for GB emulation though, for bigger pixel and smaller border in integer scale mode.
 
D

Deleted User

Guest
This is really off topic but I think Genesis on 3DS is way much better? for the resolution?

DS(i) is great for GB emulation though, for bigger pixel and smaller border in integer scale mode.
Yeah. Bubble2k16 is looking into the possibility of porting an genesis emulator to the 3ds.
 
D

Deleted User

Guest
I did a quick test with Sonic 1 with the TWloader on my 2DS on Firmware 11.5.
The Emulator only recognizes Genesis games when they are in bin format. No Audio for now. The Game ran decent.

Edit: I have tested all Versions of Super Street Fighter 2- The New Challengers. It seems the emulator won´t boot games bigger than 3 MB.

Edit 2: Press X to save or load a save state.
 
Last edited by ,
  • Like
Reactions: Zense

realWinterMute

Well-Known Member
Member
Joined
Feb 24, 2011
Messages
117
Trophies
1
XP
560
Country
Fixed the touchscreen code (I think), but I'm pretty clueless on how to change over the old IPC code to use the message queues. I'm digging through the documentation, if anyone wants to take a whack at it in the meantime... :P
https://github.com/aj-m/picodriveds/tree/dkp47_port

I found the orginal guthub repo for this & forked it to have a look at what needs updating.

Still haven't quite got it to build due to the the ancient libnds it used but I think it's mostly some register renaming & trying to remember what replaced consoleInitDefault & vramSetMainBanks from here.

https://github.com/WinterMute/picodriveds/tree/latest-tools-update
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro