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,569
Trophies
3
Age
24
XP
20,945
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
557
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
  • The Real Jdbye @ The Real Jdbye:
    the vram is one advantage when it comes to AI but ends up being slower even with that and really AI is the only use case that needs more than 12gb vram right now
  • Psionic Roshambo @ Psionic Roshambo:
    Interesting lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think I watched a video where two games at 4K where eating just over 16GB of RAM and it's the one case where the 7900XT and XTX pulled ahead (minus RTX of course)
  • Psionic Roshambo @ Psionic Roshambo:
    So my opinion is that they could age a bit better in the future, and maybe AMD will continue improving them via drivers like they tend to do. No guarantee there but they have done it in the past. Just a feeling I have.
  • The Real Jdbye @ The Real Jdbye:
    cyberpunk at 4k without DLSS/fidelityfx *might* exceed 12gb
    +1
  • The Real Jdbye @ The Real Jdbye:
    but that game barely runs at native 4k
  • Psionic Roshambo @ Psionic Roshambo:
    I think it was some newer games and probably poorly optimized PS4 or PS5 ports
  • The Real Jdbye @ The Real Jdbye:
    they definitely will age better but i feel dlss might outweigh that since it looks about as good as native resolution and much less demanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    When I played Cyberpunk on my old 2080 Ti it sucked lol
  • The Real Jdbye @ The Real Jdbye:
    AMD could introduce something comparable to DLSS but nvidia's got a lot more experience with that
  • The Real Jdbye @ The Real Jdbye:
    least amd 7xxx has tensor cores which the previous generations didn't so there is the potential for AI upscaling
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
  • Psionic Roshambo @ Psionic Roshambo:
    @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to maybe close the gap a bit with Nvidia. Plus it would kinda put Nvidia at a future disadvantage since Nvidia can't make X86/64 CPUs? Intel and AMD licensing issues... I wonder how much that has held back innovation.
    Psionic Roshambo @ Psionic Roshambo: @The Real Jdbye, I could see AMD trying to pull off the CPU GPU tandem thing, would be a way to...