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,515
Trophies
3
Age
24
XP
20,845
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
608
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
553
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
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: @salazarcosplay, Morning