Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Recalbox sur TV CRT en RGB

    Recalbox Général
    recalbox crt rgb
    51
    782
    706026
    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.
    • ian57
      ian57 Staff @Substring last edited by ian57

      @subs Yep as the Pi zero, I think you can redirect the pwn on gpio... need to verify that from http://elinux.org/RPi_BCM2835_GPIOs. It is possible from 12/13 or 18/19 (http://raspberrypi.stackexchange.com/questions/49600/how-to-output-audio-signals-through-gpio), but these GPIO need to be free from the VGA666 used pins. To do that he has to use the mode 6 of the 666 (https://github.com/fenlogic/vga666/blob/master/documents/vga_manual.pdf) dpi_output_format=6 which leaves free the GPIO 18/19. He has to use dtoverlay=pwm-2chan,pin=18,func=5,pin2=19,func2=5 to redirect the audio signal to the pwm gpios.

      Afert that a simple lowpass filter on these outputs as in the case of the pi zero https://github.com/recalbox/recalbox-os/wiki/Analog-Audio-Pi-Zero-(EN) and that's all 🙂

      "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

      1 Reply Last reply Reply Quote 0
      • ian57
        ian57 Staff @aTg last edited by ian57

        @aTg It is a VGA66 adapter + a simple PWM lowpass filter on GPIO 12/13 for the sound integrated on a scart board, isn't it ? Simple 😄

        The idea to make it as small as possible to be included in the Scart plug is good and elegant. But with the use of gpio, you need use USB pads or usb arcade encoder. The HDMI-VGA solution allows to use the GPIO for control panel.

        Each solution has advantages and drawbacks.

        "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

        aTg 1 Reply Last reply Reply Quote 0
        • Scandy
          Scandy @Substring last edited by Scandy

          @subs I mean that when I'll buy the Pi2JAMMA and/or RGB-PI I really hope to not be limited to a single distro (e.g. RGB-PI working only on Retropie) but I really hope that it will be (software-side) "platform-independent". 😉

          @aTg your project is great, I really hope it will be also affordable for people who cannot solder like me. At the moment do you have a single resolution for emulator or different resolutions for each game? Thanks! 😉

          Substring 1 Reply Last reply Reply Quote 0
          • Substring
            Substring @Scandy last edited by

            @Scandy some parts are OS-dependant, we can't avoid that ... Despite have the same goal, retropie and recalbox do it in different ways ... The hardware part can be done rather easily (buildroot is not such a freaky beast), but supporting this hardware to its full potential can be os-linked. Up to the developpers to make the best of it, limit wbat depends on the OS as much as possible

            @aTg i'll answer you once i check a few things 🙂

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            1 Reply Last reply Reply Quote 0
            • aTg
              aTg @ian57 last edited by aTg

              @ian57 Very easy but no one had done it, besides it is necessary to compile an overlay specifically for it.

              I am working on another version for jamma where you will also have a port expander with 32 inputs and power for the RPI included by the gpio. Of course also with sound and RGB.
              This version is designed for crt televisions, not for arcade cabinets.

              The one who wants to use this in an arcade jamma cab wait to jamma-pi

              Each emulator (console) already has its own original resolution except mame.

              Substring 1 Reply Last reply Reply Quote 0
              • Substring
                Substring @aTg last edited by

                @aTg each crt console has several resolutions depending on the games ...

                For arcade, i have an idea for standard horizontal games, not yet for vertical ones ... But anything that tweaks hdmi timings is os-dependant unless you write a wrapper for retroarch + some "database"

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                1 Reply Last reply Reply Quote 0
                • aTg
                  aTg last edited by

                  https://www.youtube.com/watch?v=g7tBX-DgD_g

                  1 Reply Last reply Reply Quote 0
                  • Substring
                    Substring last edited by

                    Hey guyz,

                    I've been working really hard for 2 days for a Mame Resolution "DB", heree's an excerpt :

                    8080bw_drivers.c  einnings  0         m4            (8080bw)       ROT0         256x224
                    8080bw_drivers.c  shuffle   0         shuffle       (8080bw)       ROT90        256x224
                    8080bw_drivers.c  dogpatch  0         clowns        (8080bw)       ROT0         256x224
                    8080bw_drivers.c  spcenctr  0         spcenctr      (8080bw)       ROT0         256x224
                    8080bw_drivers.c  phantom2  0         phantom2      (8080bw)       ROT0         240x224
                    8080bw_drivers.c  bowler    0         bowler        (8080bw)       ROT90        280x224
                    8080bw_drivers.c  invaders  0         invaders      (8080bw)       ROT270       240x224
                    8080bw_drivers.c  blueshrk  0         blueshrk      (8080bw)       ROT0         256x224
                    8080bw_drivers.c  invad2ct  0         invad2ct      (8080bw)       ROT90        256x224
                    8080bw_drivers.c  invaddlx  invadpt2  invaders      (8080bw)       ROT270       240x224
                    8080bw_drivers.c  sitv      invaders  invaders      (8080bw)       ROT270       240x224
                    

                    I could get 100% of Mame 0.78 resolutions by combining different sources. From that, we can do anything 🙂

                    Former dev - Please reply with @substring so that i am notified when you answer me
                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                    1 Reply Last reply Reply Quote 0
                    • aTg
                      aTg last edited by aTg

                      It seems that we have been working on the same lately, I already have a prototype for arcade machines working, the look will be this one.

                      alt text

                      Characteristics:
                      Jamma connector
                      RPi power from the jamma connector
                      Over voltage protection and over current fuse
                      RGB 15kHz
                      A single filtered sound channel
                      Port Expander with extra button inputs
                      All in one pcb without any cable

                      1 Reply Last reply Reply Quote 0
                      • ajefr
                        ajefr last edited by ajefr

                        Already working 😉
                        http://www.neo-arcadia.com/forum/viewtopic.php?f=14&t=54733

                        https://www.youtube.com/watch?v=v4pR3LKDCPw

                        Substring 1 Reply Last reply Reply Quote 0
                        • Substring
                          Substring @ajefr last edited by

                          @ajefr This is not exactly the same :

                          • RPI2JAMMA doesn't handle the sound out from GPIO, but from the jack output
                          • RPI2JAMMA is mostly for JAMMA, where as we are, for now, more looking into a SCART system
                          • I didn't get how you handle inputs

                          Do you have a documentation on how to plug everything ?

                          Former dev - Please reply with @substring so that i am notified when you answer me
                          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                          1 Reply Last reply Reply Quote 0
                          • aTg
                            aTg last edited by aTg

                            If my version incorporates the sound by the GPIO and is much smaller, I hope the opinion of the community if you think it interesting to continue with the development of jamma-pi or you think that with rpi2jamma is enough.

                            1 Reply Last reply Reply Quote 0
                            • ian57
                              ian57 Staff last edited by

                              @ajefr @aTg I think that the thing that will make the difference is the software support 😉

                              "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

                              1 Reply Last reply Reply Quote 0
                              • Substring
                                Substring last edited by

                                Both are great. Rpi2jamma is great for jamma-wired cabs, aTg's device is for crt only, like back in the old days 🙂

                                Former dev - Please reply with @substring so that i am notified when you answer me
                                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                aTg 1 Reply Last reply Reply Quote 0
                                • aTg
                                  aTg @Substring last edited by aTg

                                  @Substring I am thinking in launch a version for jamma but im not sure.

                                  I see that rpi2jamma is very expensive, could drastically reduce its cost, size and number of components.

                                  1 Reply Last reply Reply Quote 0
                                  • Akik
                                    Akik last edited by

                                    J'ai enfin mis la main sur une petite Trinitron de 36cm, je vais pouvoir me lancer dans le CRT en RGB grâce à ce post. Merci ! C'est une Sony KV-14LM1B.

                                    1 Reply Last reply Reply Quote 0
                                    • aTg
                                      aTg last edited by

                                      alt text

                                      1 Reply Last reply Reply Quote 0
                                      • aTg
                                        aTg last edited by

                                        I have finished assembling the prototype and it works very well, I reduced the noise in the image, for the production version I will change the size of the components to a larger one but basically everything is fine.

                                        alt text

                                        alt text

                                        alt text

                                        1 Reply Last reply Reply Quote 1
                                        • aTg
                                          aTg last edited by

                                          I have uploaded a small script that I have done to check all bits of the RGB output separately and also the two audio outputs by the GPIO 18 and 19, this test is also valid for vga666 or other devices that use mode 6 of the DPI.

                                          It is necessary to have raspi-gpio, fbi and alsa.

                                          rgbpi-test.zip

                                          Substring 1 Reply Last reply Reply Quote 1
                                          • Substring
                                            Substring @aTg last edited by

                                            @aTg no sudo (who cares, we are root hahaha), no rasp-gpio, no fbi on recalbox 😕
                                            Anyway, most of your magic is done by overlays, so it shouldn't be a problem (unless it's a kernel version problem)

                                            Former dev - Please reply with @substring so that i am notified when you answer me
                                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                            aTg 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            85
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com