(REQUEST) Add Daphne Singe emulator?
-
@DirtBagXon
sorry didnt notice
and its still works somehow just checked it out with few sh files...
so i have to copy the sh files to my pi card i guess ?
thats a shame wanted to be on the harddrive (that only when its plugedin i can see them ).... -
@shavecat said in (REQUEST) Add Daphne Singe emulator?:
so i have to copy the sh files to my pi card i guess ?
Yes, then chmod 755 them.
-
@DirtBagXon
thanks will give it a try -
@shavecat said in (REQUEST) Add Daphne Singe emulator?:
@DirtBagXon
thanks will give it a tryOne other and last thought,.....
/bin/bash /media/usb0/roms/daphne/singe/maddog.sh
Prefix the script on the usb stick with the 'bash' interpreter so it's called as an argument..
But to be clear, the script that is making the above bash call will need to exist on the Pi sd card and will need the executable bit set. So a bit of a chicken and egg scenario. But this is then similar to your DOSBox setup...
Might work for you....
-
pi@retropie:~ $ /bin/bash /media/usb0/roms/daphne/singe/maddog.sh /media/usb0/roms/daphne/singe/maddog.sh: line 1: cd: maddog: No such file or dir ectory /media/usb0/roms/daphne/singe/maddog.sh: line 2: ./run.sh: No such file or direc tory
for some reason
-
@shavecat said in (REQUEST) Add Daphne Singe emulator?:
pi@retropie:~ $ /bin/bash /media/usb0/roms/daphne/singe/maddog.sh /media/usb0/roms/daphne/singe/maddog.sh: line 1: cd: maddog: No such file or dir ectory /media/usb0/roms/daphne/singe/maddog.sh: line 2: ./run.sh: No such file or direc tory
for some reason
On the first line of your maddog.sh script, you need to change to the directory from where you want to start .
cd /media/usb0/roms/daphne/singe/
? or whatever it is.
The script is trying to cd into a subdirectory from that point.
This is where your script writing skills start ;)
-
@DirtBagXon
having that sh file -cd /media/usb0/roms/daphne/singe/maddog ./run.sh maddog
but still getting that -
Hello logfile - runcommand-onstart checking in here Parameters: Executing: "/home/pi/RetroPie/roms/daphne/singe/maddog.sh" /home/pi/RetroPie/roms/daphne/singe/maddog.sh: line 2: ./run.sh: No such file or directory Hello logfile - runcommand-onend checking in here
-
@shavecat said in (REQUEST) Add Daphne Singe emulator?:
./run.sh: No such file or directory
./run.sh: No such file or directory./run.sh: No such file or directory
You are in the wrong place to run that run.sh script, it isn't where you think it is....
-
cd /media/usb0/roms/daphne/singe/maddog/ /home/pi/singe/run.sh maddog
GNU nano 3.2 /dev/shm/runcommand.log Hello logfile - runcommand-onstart checking in here Parameters: Executing: "/home/pi/RetroPie/roms/daphne/singe/maddog.sh" Singe Launcher : Script dir is /home/pi/singe Missing file: /home/pi/.daphne/singe/maddog/maddog.singe ? /home/pi/.daphne/singe/maddog/maddog.txt ? Hello logfile - runcommand-onend checking in here
-
@shavecat said in (REQUEST) Add Daphne Singe emulator?:
Missing file: /home/pi/.daphne/singe/maddog/maddog.singe ?
/home/pi/.daphne/singe/maddog/maddog.txt ?It's all there:
Missing file: /home/pi/.daphne/singe/maddog/maddog.singe ? /home/pi/.daphne/singe/maddog/maddog.txt ?
Looking at the wrong place.
Are you specifying the correct path for -homedir and -datadir - that you had when you ran it from the cli in that script...
-
@DirtBagXon
Im trying to run the sh file to the directory of /media/usb0/roms/daphne/singe .and not from /home/pi/.daphne/singe/maddog/
cause its not there .... -
@shavecat said in (REQUEST) Add Daphne Singe emulator?:
@DirtBagXon
Im trying to run the sh file to the directory of /media/usb0/roms/daphne/singe .and not from /home/pi/.daphne/singe/maddog/
cause its not there ....That's fine, but you have to tell the singe.bin where it can find the files it needs by the correct arguments, at the moment your script is telling it they are in the wrong place.
The errors will tell you where it's trying to load them, you need to find and alter the bits in your scripts to correct that.
-
@DirtBagXon
Thanks a lot again :)
will try to play with that -
@DirtBagXon
Sorry to drive u nuts ;)..
but i did that -<extension>.singe .sh .SINGE .SH</extension>
from my hard drive .
and even .singe dosent let me load it .
with the some error on the log (no promotion ) that's really weird -
@shavecat said in [(REQUEST) Add Daphne Singe emulator?]
<extension>.singe .sh .SINGE .SH</extension>
I have no knowledge of what this is?
Despite being on this forum, I'm afraid I have never setup RetroPie.
I only came here to help @Darksavior on the original step.... -
@DirtBagXon
Got u
thanks a lot for your time :) <3 :)) -
@pjft said in (REQUEST) Add Daphne Singe emulator?:
@DirtBagXon thanks for testing and for the links. Learning something every day indeed:)
@pjft - Could you test this as the proper fix for Badlands in Daphne?
We should not be using global char assignment (-fsigned-char), as we read, it is bad practice and performance impacting on ARM.
diff --git a/src/cpu/mc6809.cpp b/src/cpu/mc6809.cpp index 15b7497..90ac497 100644 --- a/src/cpu/mc6809.cpp +++ b/src/cpu/mc6809.cpp @@ -228,7 +228,7 @@ static unsigned char fetch_buffer[MC6809_FETCH_BUFFER_SIZE]; /* le caract<E8>re 8-bit du MC6809 impose l'utilisation de char pour la manipulation des opcodes qui sont des octets sign<E9>s */ -static char *op; +static signed char *op; static int ad; static int *regist[4], *exreg[16]; static int illegal_instruction_flag; @@ -2006,7 +2006,7 @@ unsigned int mc6809_StepExec(unsigned int ncycles) /* on remplit le buffer de fetch */ FetchInstr(pc, fetch_buffer); - op=(char*) fetch_buffer; + op=(signed char*) fetch_buffer; /* on d<E9>code l'instruction */ r=(*(op++))&0xFF; @@ -2051,7 +2051,7 @@ int mc6809_TimeExec(mc6809_clock_t time_limit) /* on remplit le buffer de fetch */ FetchInstr(pc, fetch_buffer); - op=(char*) fetch_buffer; + op=(signed char*) fetch_buffer; /* on d<E9>code l'instruction */ r=(*(op++))&0xFF;
-
@DirtBagXon said in (REQUEST) Add Daphne Singe emulator?:
@pjft said in (REQUEST) Add Daphne Singe emulator?:
@DirtBagXon thanks for testing and for the links. Learning something every day indeed:)
@pjft - Could you test this as the proper fix for Badlands in Daphne?
You should not need the global -fsigned-char which as we saw is kinda bad and performance impacting.
can confirm this fix makes badlands work on Raspberry Pi4.
thanks for the work.
-
@gomisensei
i still getting a black screen ..
do i need to reinstall daphne aggin now ? -
@shavecat said in (REQUEST) Add Daphne Singe emulator?:
@gomisensei
i still getting a black screen ..
do i need to reinstall daphne aggin now ?Yeah, you probably need to wait till someone adds the changes in the install script though... I made the changes manually and recompiled just to test.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.