• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

(REQUEST) Add Daphne Singe emulator?

Scheduled Pinned Locked Moved Ideas and Development
daphnesinge
298 Posts 21 Posters 98.5k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    shavecat @DirtBagXon
    last edited by 14 Oct 2020, 21:45

    @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
    D 1 Reply Last reply 14 Oct 2020, 21:46 Reply Quote 0
    • D
      DirtBagXon @shavecat
      last edited by 14 Oct 2020, 21:46

      @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....

      Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
      Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
      Hypseus Discord: https://discord.gg/dgCsCfmRfJ

      S 1 Reply Last reply 14 Oct 2020, 21:48 Reply Quote 0
      • S
        shavecat @DirtBagXon
        last edited by 14 Oct 2020, 21:48

        @DirtBagXon

        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
        D 1 Reply Last reply 14 Oct 2020, 21:51 Reply Quote 0
        • D
          DirtBagXon @shavecat
          last edited by 14 Oct 2020, 21:51

          @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...

          Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
          Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
          Hypseus Discord: https://discord.gg/dgCsCfmRfJ

          S 1 Reply Last reply 14 Oct 2020, 21:52 Reply Quote 0
          • S
            shavecat @DirtBagXon
            last edited by 14 Oct 2020, 21:52

            @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 ....

            D 1 Reply Last reply 14 Oct 2020, 21:55 Reply Quote 0
            • D
              DirtBagXon @shavecat
              last edited by 14 Oct 2020, 21:55

              @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.

              Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
              Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
              Hypseus Discord: https://discord.gg/dgCsCfmRfJ

              S 2 Replies Last reply 14 Oct 2020, 22:06 Reply Quote 1
              • S
                shavecat @DirtBagXon
                last edited by 14 Oct 2020, 22:06

                @DirtBagXon
                Thanks a lot again :)
                will try to play with that

                1 Reply Last reply Reply Quote 0
                • S
                  shavecat @DirtBagXon
                  last edited by 15 Oct 2020, 08:49

                  @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

                  D 1 Reply Last reply 15 Oct 2020, 11:23 Reply Quote 0
                  • D
                    DirtBagXon @shavecat
                    last edited by 15 Oct 2020, 11:23

                    @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....

                    Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                    Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                    Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                    S 1 Reply Last reply 15 Oct 2020, 11:56 Reply Quote 1
                    • S
                      shavecat @DirtBagXon
                      last edited by 15 Oct 2020, 11:56

                      @DirtBagXon
                      Got u
                      thanks a lot for your time :) <3 :))

                      1 Reply Last reply Reply Quote 0
                      • D
                        DirtBagXon @pjft
                        last edited by DirtBagXon 18 Oct 2020, 06:09

                        @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;
                        

                        https://github.com/DirtBagXon/daphne/compare/7d4bf3cdaff98a795ef2e51a823555e25f574ff9..e2cf886b3ce29f21c423205adff9616f38af855e

                        Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                        Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                        Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                        G 1 Reply Last reply 18 Oct 2020, 06:53 Reply Quote 1
                        • G
                          gomisensei @DirtBagXon
                          last edited by 18 Oct 2020, 06:53

                          @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.

                          S D 2 Replies Last reply 18 Oct 2020, 09:08 Reply Quote 1
                          • S
                            shavecat @gomisensei
                            last edited by 18 Oct 2020, 09:08

                            @gomisensei
                            i still getting a black screen ..
                            do i need to reinstall daphne aggin now ?

                            G 1 Reply Last reply 18 Oct 2020, 10:25 Reply Quote 0
                            • G
                              gomisensei @shavecat
                              last edited by 18 Oct 2020, 10:25

                              @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.

                              1 Reply Last reply Reply Quote 1
                              • S
                                shavecat
                                last edited by 18 Oct 2020, 17:49

                                Anyway i can make the Daphne / American laser games
                                Full screen ? 16/9
                                and not 4:3...

                                1 Reply Last reply Reply Quote 0
                                • D
                                  DirtBagXon @gomisensei
                                  last edited by 20 Oct 2020, 16:25

                                  @gomisensei said in (REQUEST) Add Daphne Singe emulator?:

                                  can confirm this fix makes badlands work on Raspberry Pi4.
                                  thanks for the work.

                                  Cool, I'll let @pjft make the pull request to the retropie repo, as he led me down the correct debug path.

                                  Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                  Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                  Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                  P 1 Reply Last reply 21 Oct 2020, 19:53 Reply Quote 0
                                  • P
                                    pjft @DirtBagXon
                                    last edited by 21 Oct 2020, 19:53

                                    @DirtBagXon Great to hear it worked and that it helped.

                                    Please, by all means, do submit the PR over there, it's perfectly fair game. The alternative will still be for me to go and cherry-pick your commit there - it'll always be your original commit :)

                                    D 1 Reply Last reply 22 Oct 2020, 23:37 Reply Quote 2
                                    • D
                                      DirtBagXon @pjft
                                      last edited by DirtBagXon 22 Oct 2020, 23:37

                                      @pjft said in (REQUEST) Add Daphne Singe emulator?:

                                      @DirtBagXon Great to hear it worked and that it helped.

                                      Please, by all means, do submit the PR over there, it's perfectly fair game. The alternative will still be for me to go and cherry-pick your commit there - it'll always be your original commit :)

                                      @pjft - right you are sir.

                                      I couldn't get Github to let me fork retropie as I had a fork from a mutual parent repo, which it kept linking me to. Github being annoyingly clever....

                                      In the end I gave up and created a new account to fork within, but got there eventually lol. Pull request from the all new DirtBagZon...

                                      Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                      Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                      Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                      P T 2 Replies Last reply 23 Oct 2020, 07:07 Reply Quote 0
                                      • P
                                        pjft @DirtBagXon
                                        last edited by 23 Oct 2020, 07:07

                                        @DirtBagXon Hah :) Yes, it's a pain.

                                        In the past I followed this with some success - https://gist.github.com/bhumphrey/3764983 .

                                        Thanks for looking into it, and happy singe-ing .

                                        By the way, the original Singe developer seems to be back at it, and working on a version 2.0 of the emulator, so if that's something that interests you, it should be worth looking out for.

                                        D 1 Reply Last reply 23 Oct 2020, 08:08 Reply Quote 0
                                        • D
                                          DirtBagXon @pjft
                                          last edited by DirtBagXon 23 Oct 2020, 08:08

                                          @pjft said in (REQUEST) Add Daphne Singe emulator?:

                                          @DirtBagXon Hah :) Yes, it's a pain.

                                          In the past I followed this with some success - https://gist.github.com/bhumphrey/3764983 .

                                          Pah, next time....

                                          By the way, the original Singe developer seems to be back at it, and working on a version 2.0 of the emulator, so if that's something that interests you, it should be worth looking out for.

                                          Yep, I have been following Scott's project, he was even kind enough to star my current singe repo too :)

                                          He seems to be getting there... I don't envy him that job....

                                          Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                          Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                          Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                          T 1 Reply Last reply 8 Nov 2020, 02:34 Reply Quote 1
                                          161 out of 298
                                          • First post
                                            161/298
                                            Last post

                                          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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received